Jul 14, 2012

Control Mouse With Your Gamepad/Joystick

If you have gamepad /joystick you can you can use it to control mouse cursor.


To do this you need to install xserver-xorg-input-joystick
Open terminal and type:
sudo apt-get install xserver-xorg-input-joystick
Now log out and you can use your gamepad /joystick as a mouse

Now if you want to disable this function you can use this command
xinput --set-prop "DEVICE NAME" "Device Enabled" 0
to enable:
xinput --set-prop "DEVICE NAME" "Device Enabled" 1

To get the device name in terminal type:
 xinput list



For tutorial on how to setup joystick in Ubuntu are remaping joystick keys check this tutorial.

0 comments:

Post a Comment