Posted March 26, 2019
How do I configure or enable controller support for this game in Linux? I can see with strace that the game is probing the controller, but it doesn't seem to see what it's looking for. I tried looking for information on how Unity deals with controllers, and it's all apparently user-unconfigurable by default. I'm thinking of just using uinput to make a fake xbox 360 controller in the hopes that will work instead of trying to deal with this crap, but I don't know if that will even help. It will help for some other games that also think they know my controller better than I do, so I guess I'll have to, anyway. Why do people to this day still refuse to allow user input configuration?
Edit: I got it working. Another game (Aragami) had worse issues (the game would just stop responding and act wonky if the gamepad was connected), and I discovered that deleting the DualShock 4's extra event device nodes (motion sensors and touchpad) cured it. It also sort of cured AER, although the fact that neither AER nor the hid-sony driver support key remapping I ended up using my uinput solution anyway. My uinput thing supports basic remapping and also does the removal of the extra devices and relays vibration requests and supports hot plugging, although it's still way too simplistic for anything more useful.
I guess this post's Q flag will now be permanent, since I can't answer my own question.
Edit: I got it working. Another game (Aragami) had worse issues (the game would just stop responding and act wonky if the gamepad was connected), and I discovered that deleting the DualShock 4's extra event device nodes (motion sensors and touchpad) cured it. It also sort of cured AER, although the fact that neither AER nor the hid-sony driver support key remapping I ended up using my uinput solution anyway. My uinput thing supports basic remapping and also does the removal of the extra devices and relays vibration requests and supports hot plugging, although it's still way too simplistic for anything more useful.
I guess this post's Q flag will now be permanent, since I can't answer my own question.
Post edited April 25, 2019 by darktjm
No posts in this topic were marked as the solution yet. If you can help, add your reply