How can I stop a joystick from controlling my mouse in Ubuntu 12.04?
I tried to remove
/usr/lib/X11/xorg.conf.d/10-joystick, both not installed.
1- You should see your joystick number first ... so Run Terminal and type xinpute list ,and look to your joystick number and replace its number instead of the 10 in the Example below.
2- Creat a new Document then put the code in it , then rename it to name.sh Format 3- Run Terminal then put the path where you save the file .
Example : cd Desktop (Because i saved mine on the Desktop)
4- Type bash name.sh ( Click Enter and You are Done ! )
Note1: to Turn it back on just change the 0 on the last 2 lines to 1 Note2: if this doesn't work make sure to remove xserver-xorg-input-joystick and /usr/lib/X11/xorg.conf.d/10-joystick