Resources for XInput drivers and 6D controllers

I have written XFree86-4.0.1 XInput drivers for the Spaceball 4000 FLX and the SGI dialbox (the dialbox driver is an upgrade from 3.x sources).

The XInput design changed in XFree86 4.x, and this isn't documented yet. I got this working by browsing source for other drivers. They work for me, but probably still have bugs.

Spaceball 4000 FLX driver

driver source: spaceball.tgz
Documentation: sball4.html

Dialbox driver

driver source: dialbox.tgz
GLUT dial demo source: dials.c
Documentation: dialbox.html
driver binary: dialbox_drv.o.gz ( gunzip & put in /usr/X11R6/lib/modules/input ) Note: Netscape typically wants to save .gz files without the .gz extension even though they are still gzipped.

XInput test program

source: xitest.c
A simple program to test valuator and button output from an XInput device. Key devices aren't supported yet, but since you can't test the system keyboard while X is using it, this is usually not a problem.

Feedback is appreciated.
Joe Krahn [email protected]
Hosted by