I initially had no luck getting this joystick to work w/ FlightGear although it worked fine under Linux. I read the docs and some user-list threads but did not find the answer. Perhaps you can add this to the docs (or show me where I missed it).
I set the permissions of /dev/input/js0: $ ls -l /dev/input/js0 crwxrwxrwx 1 root root 13, 0 Jan 13 15:15 /dev/input/js0 [EMAIL PROTECTED]:~$ cat /dev/input/js0 \uffff\ufffff \uffff\uffff\ufffff \uffff\uffff\ufffff \uffff\uffff\ufffff \uffff\uffff\ufffff \uffff\uffff\ufffff 'cat' worked too. jstest worked: $ jstest /dev/input/js0 Joystick (Logitech Logitech Attack 3) has 3 axes and 11 buttons. Driver version is 2.1.0. Testing ... (interrupt to exit) Axes: 0: 127 1: 127 2: 255 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off js_demo failed. $ js_demo /dev/input/js0 Joystick test program. ~~~~~~~~~~~~~~~~~~~~~~ Joystick 0: "Logitech Logitech Attack 3" /snip/ +--------------------JS.0----------------------+ | Btns Ax:0 Ax:1 Ax:2 | +----------------------------------------------+ | 0000 +0.0 +0.0 +0.0 . . . . . | Fortunately I happened across jscal. I showed me the problem. $ jscal -t /dev/input/js0 jscal: axes not calibrated $ jscal -c /dev/input/js0 voila! Now if anyone has a nice .xml file to share for this joystick that would be great. I'm working on one but would like to see what those more knowledgeable than I have found to work. -- glenn greenfield _______________________________________________ Flightgear-users mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d
