Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to use a joystick as a mouse with Fedora 12. I tried js2mouse but didn't work. Is there another solution? How should I configure the system?

share|improve this question

I've never tried, but these instructions for Ubuntu look plausible, and mostly distribution-independent.

Add a section for the joystick in /etc/X11/xorg.conf. (If you don't have one, generate it with Xorg -configure.) The critical line is the SendCoreEvents option, which makes the joystick events move the mouse pointer. If your distribution splits up X11 drivers into separate packages, make sure you have the joystick input driver.

Section "InputDevice"
    Identifier  "Joystick"
    Driver  "joystick"
    Option "Device" "/dev/input/js0"
    Option "SendCoreEvents" "true"

Add a line with InputDevice "Joystick" to the ServerLayout section.

For more control, grab the utilities in the joystick package.

share|improve this answer

try QJoyPad... it worked realy well with my joypad (it also supports joysticks) it can autodetect your joystick, number of axes, button number, also - supports joysticks with multiple axes...

for the extended list of features look here

I use it on Arch, but you can build it from source for Fedora.

after you install it, you should just configure the axes to act as a mouse.. you will also be able to set it's sensitivity, treshold etc...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.