protonscr

When i connect a doubleshock 4 controller, games running proton thinks it is an xbox controller

protonopen
ValveSoftware/Proton#4306 · opened 2020-10-22 by fcolecumberri · updated 2020-12-08 · 3 comments · github
Ffcolecumberri 2020-10-22 github

I have tried with proton 5.13

It really doesn't matter the game, it thinks I am using an xbox controller.
even the steam client also thinks it is an xbox controller.

it is not that bad, but the layout is different on both controllers.

if I run other joystick applications like qjoypad or jstest-gtk or native games like supertuxkart they recognize it as "Sony Computer Entertainment USB Controller" and everything goes fine.
Also if I play a native Linux games from the steam client (I am using as test example HITMAN) it believes it is an xbox

is there any way to tell proton and/or steam to use the playstation layout on this controller?

Kkisak-valve maintainer 2020-10-22 github

Hello @fcolecumberri, this sounds like Steam Input doing its job.

In Steam, you could try going to the per-game properties and setting Steam Input Per-Game Settings to Forced Off and testing how individual games react. I expect that the result will vary wildly between games depending on how well that game was taught to handle DS4 controllers.

Ffcolecumberri 2020-10-22 github

I forgot to mention that this also happens if I launch the game from lutris using proton

Bbraiam 2020-12-08 github

AFAIK, Wine presents to the guest application a xinput xbox controller, which is why games detect it as a xbox.

Proton versions