For some reason this took me a lot longer to figure out than it should. I have a bunch of games on GOG which only support an Xbox style controller, but I really like my DualSense 5. I searched online, but found that people were mainly sticking to using steam. For some reason when I played my GOG games via steam it still didn’t work.
I then remembered that AntiMicroX exists and is included in the repositories of most distos/flatpak. So that’s how I made my PS5 controller work like an Xbox controller on linux 👌
So far I’ve tested this with Kingdom Come Deliverance and Mirror’s Edge
You need to enable Steam Input for the game when running it through Steam. It isn’t always on by default; Especially for non-Steam games you’ve added.
Yeah I know, I do have it enabled. I force enabled it for generic and playstation controllers and I just double checked in the game preference to make sure it’s actually enabled for it. I think it used to work, but I couldn’t get it to work for Kingdom Come. Tbh I prefer the antimicrox soluction. There’s just the heroic+game+antimicrox processes running, I don’t need all the steam processes when playing a GOG game :D