Re: Joystick as mouse?



On Sun, 12 Mar 2006 19:46:12 -0600, Dances With Crows wrote:

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.

Probably too much effort for my purposes.... I bought a touchscreen for
$5, thinking I could plug it into a serial port.... It turned out to be
an almost NIB Apple II touchscreen with an analog joystick interface.


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,

OK, I didn't know that. But in any case, I will probably sell/trade this
one...

--Yan


--
o__
,>/'_ o__
(_)\(_) ,>/'_ o__
Yan Seiner, PE (_)\(_) ,>/'_ o__
Certified Personal Trainer (_)\(_) ,>/'_ o__
Licensed Professional Engineer (_)\(_) ,>/'_
Who says engineers have to be pencil necked geeks? (_)\(_)

.


Quantcast