How to use Sony DS4 Controller with GOG games on Bottles?
Hi all,
I've managed to get the GOG of horizon zero dawn starting up. But my DualShock 4 controller is not recognized by the game. Now the controller works as a mouse (with the pad), so I know it's at least connected.
What can I do to fix this? I am running it through bottles flatpak. I am using gentoo Linux if that matters.
Try the sc-controller to see if it works. Another alternative is to check that the controller works normally with Steam, just to eliminate other possibilities for the problem.
Some games only work with generic xinput controllers and don't support the DS4 natively. In that case using the ds4drv with the emulate xpad option can help.
That said, I'd expect a game published by Sony and originally released on a PS4 to support DS4 controllers natively.
First of all, there are two different drivers for the DS4 - hid_sony and hid_playstation. hid_playstation is a relatively new one, developed by Sony. hid_sony is an older one which had been reverse engineered years earlier. There was a good stretch of time where hid_sony worked perfectly for me, but now I seem to need hid_playstation. On Gentoo, since about a year ago, I have had to manually enable hid_playstation in the kernel menuconfig (which required enabling an additional LED driver first) and use it instead of hid_sony to get my DS4 working. Otherwise I had problems where it would work some nights, not work at all others, or just the trackpad would work for some reason.