Spyke
linux_gamingยทLinux Gamingbyw_l_l_w

Use a DualSense 5 (PS5) controller with games that only support Xbox

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

View original on lemmy.world

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

2
MrSoup
lemmy.zip

How did you map the gamepad to an xbox controller with AntiMicroX? I can only find SDL map which doesn't work with every game.

1

I found that in most cases the SDL map would work for me. Sometimes manually setting it for just the one game via lutris didn't work. I found that globally setting this SDL_GAMECONTROLLERCONFIG_FILE=/etc/sdl-gamecontroller-mappings.txt in /etc/environment and then putting your SDL mapping config in that file worked a lot better. After you set that reboot and see if it works for you. But I don't seem to need this anymore, I'm running Fedora and on the most recent kernel my dualsense seems to automatically work as an xbox controller in most of the games that needed this solution before.

2
w_l_l_wreply
lemmy.world

In some games which have native DualSense support I found that I need to edit the Wine Registry and set HKEY_LOCAL_MACHINE\System\Services\winebus\DisableHidraw to 0

1
MrSoupreply

For games like Cyberpunk 2077 I had to do nothing at all (even if to show correct prompts instead of xbox ones I had to mod it).
Anyway, for the time being, I'm using ds4drv

1

You reached the end