Well I've been trying to find a good program that can emulate keystrokes on button down on a gamepad, in this case a Xbox gamepad moded to USB use.
The best program I could find was JoyToKey but it doesn't find the second analog stick or the "R1+R2/L1+L2" buttons, otherwise it works, was able to run it with wine and play Guild Wars on a gamepad, doesn't register keys in linux when it's out of focus, that's the only real drawback.
Made a simple key map for the control aswell since I took me some testing to figure out what keys is where on the pad. (See attachment)
Latest version I've been able to find is 3.7.9
If anyone got a better program please let me know
EDIT:
A great function is that you can bind keys to switch layouts so you can have mutiple layouts while playing switching back and forward between them depending on what you need, in theory you could emulate anything.
EDIT2:
Got all buttons to work, fixing a new layout again
Bookmarks