I have a Gamepad which is not working, I say "not working" because I was playing Urban Terror and the game was not responding to the gamepad button presses. How do I get the gamepad to work?
I tried it in some other games Torcs, SuperTuxKark, Enemy Territory.... but, Same, there is no response to any of the gamepad button presses.
Here is the output of lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 0079:0011 DragonRise Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
003 on third line is my Gamepad.
And here is the output from dmesg: http://paste.ubuntu.com/579704
If your game supports generic gamepads, than its going to work with this one as well.
To calibrate your gamepad use this command:
jscal -c DEVICE
You have to replace DEVICE with the path to your device (e.g /dev/input/js0 ).
To test your device use
jstest DEVICE
To realy see on which path your device is use
cat /proc/bus/input/devices
e.g H: Handlers=event6 js0 = /dev/input/js0