Aug 15, 2012

How To Setup Joystick/Gamepad In Ubuntu

Here a little tutorial if you got joystick or gamepad and you want to use it in Ubuntu.
It is really easy you just need one app to make it work and another one to configure it to work with games that don'r support game pad or joystick.

First install jstest-gtk

After installing jstest-gtk joystick will be detected, you can use it for calibration and remaping buttons. It also support profiles so you can have specific configuration for every game.



jstest-gtk is a simple graphical joystick tester. It provides a list of attached joysticks, and for each one can display which buttons and axes are pressed, remap axes and buttons, and calibrate the device.

Now you can play, but if you want to play games that don't have support for joystick you can use Rejoystick to map keyboards keys on joystick



Rejoystick is a program that maps keypresses on your gamepad/joypad/joystick to keypresses on a keyboard when you are running X.


Download Rejoystick

If you are running 64bit system make sure that you install 64bit version or it will not work.
To use it start Rejoystick and set your configuration then exit Rejoystick.
Now when you want to use joystick with remaped keys type in terminal:
rejoystick -d
and to stop using it:
killall -9 rejoystick

Also if you want to use joystick as mouse check this tutorial.

This will work with generic joystick or gamepad i didn't tried it with Xbox or PS3 controller.

0 comments:

Post a Comment