Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
    
Did Gilles solution work? If so, can you mark it accepted? –  penguin359 Apr 20 '11 at 1:05

2 Answers 2

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"
EndSection

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 I imagine there probably is a Fedora package for it... =)

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

 
discard

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