this post was submitted on 08 Dec 2024
14 points (93.8% liked)

Linux Gaming

16070 readers
113 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

I have a dualshock 4 controller, but windows games see it as an xbox controller.
Is there a way to force them to see the proper controller and thus show the proper input?
Any suggestion from proton to portproton to lutri is welcome

top 10 comments
sorted by: hot top controversial new old
[–] drew_belloc@programming.dev 11 points 2 weeks ago

If a game doesn't see your controller you can normally run the game from steam and the game should see it as a xbox controller, but if you wanna to see the playstation layout that will change from game to game, some will show, some will require mods and some you just have to give up

[–] RiQuY@lemm.ee 4 points 2 weeks ago (1 children)

You can try to enable Steam Input and customize the button bindings through Steam.

[–] Mandy@sh.itjust.works 1 points 2 weeks ago (1 children)

this would be specifically about what the game shows rather than the bindings itself

[–] RiQuY@lemm.ee 5 points 2 weeks ago (1 children)

You can't change what the game shows if it doesn't have native support to show PS o Switch buttons.

[–] Mandy@sh.itjust.works 2 points 2 weeks ago (2 children)

this also happens with games i know for certain that should have support for ps buttons

[–] gaylord_fartmaster@lemmy.world 1 points 2 weeks ago* (last edited 2 weeks ago)

I haven't messed around with this on Linux because it doesn't really bother me, so I have no idea what to change or how to fix it, but it sounds like whatever is handling controller input is passing it to the game as xinput instead of dinput.

[–] Peasley@lemmy.world 1 points 2 weeks ago

Any examples? I think ive seen PS buttons before but i cant remember when, it's almost always xbox layout/colors for me

[–] Peasley@lemmy.world 4 points 2 weeks ago

This functionality is or is not part of the game itself. Windows game devs usually only expect an xbox controller, even though Dualshock and Switch Pro controllers are also popular.

[–] Dettweiler42@lemmy.dbzer0.com 2 points 2 weeks ago

Without Steam Input support, you basically need something to emulate the controller as an Xbox 360 controller.
This might help:
https://github.com/chrippa/ds4drv

[–] Corgana@startrek.website 2 points 2 weeks ago

Some more popular games will have mods to make the Xbox buttons look like a DS4s buttons, buuuut if the game studio devs didn't create the assets then they didn't create them.