Re: Joystick as mouse?



On Sun, 12 Mar 2006 17:04:59 -0800, Captain Dondo staggered into the
Black Sun and said:
Is anyone aware of a driver that would allow me to use an analog
joystick as a mouse in X?

One used to exist in X 3.3.n. It doesn't now, and my attempts to build
it from source in Xorg didn't work. I gave up after a couple of hours
though. You may want to look into modifying joy2key so that it does
something similar to what lircmd does instead of trying to send key
events. I *think* you could copy a lot of code from lircmd, actually.

Not a USB joystick, but the DB-15 game port...

Huh? The joydev abstraction layer makes it so that joysticks are
supposed to report the same types of data (axis/button events) no matter
what the physical layer of the joystick is. I certainly saw similar
events from a 15-pin Gravis joystick and a USB Gravis joystick. Oh
well, HTH,

--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL
.


Quantcast