CHARRIER Jean-Christophe
2004-11-28 21:19:53 UTC
Hi.
I've just buyed a joystick for fligthgear (-0.9.6-2mdk on Mandrakelinux
10.1 with kernel 2.6.8.1-12mdk).
It's a SAITEK Cyborg-Gold-3d-USB which need to be calibrated.
What is the good way to do it ?
*The first way*
I did a calibration running “jscal -c /dev/input/js0”. After this
calibration the joystick works much better even if a “jscal -t
/dev/input/js0” returns “jscal: axes not calibrated”.
/jstest output before calibration/
Axes: 0: -5068 1: -4392 2: -9121 3: 9120 4: 0 5: 0
Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off
9:off 10:off 11:off 12:off 13:off 14:off 15:off
/jstest output after calibration/
Axes: 0: 0 1: -1057 2: 1346 3: 32767 4: 0 5: 0
Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off
9:off 10:off 11:off 12:off 13:off 14:off 15:off
How can I load the correction values automatically so that if I unplug
the joystick I don't have to recalibrate each axis?
The man page of jscal is not clear at all about the option:
-s <x,y,z...>, --set-correction <x,y,z...>.
*The second way*
Modifying the cooked joystick values in my joystick.xml file changing
dead-band, offset, factor and tolerance?
I've just buyed a joystick for fligthgear (-0.9.6-2mdk on Mandrakelinux
10.1 with kernel 2.6.8.1-12mdk).
It's a SAITEK Cyborg-Gold-3d-USB which need to be calibrated.
What is the good way to do it ?
*The first way*
I did a calibration running “jscal -c /dev/input/js0”. After this
calibration the joystick works much better even if a “jscal -t
/dev/input/js0” returns “jscal: axes not calibrated”.
/jstest output before calibration/
Axes: 0: -5068 1: -4392 2: -9121 3: 9120 4: 0 5: 0
Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off
9:off 10:off 11:off 12:off 13:off 14:off 15:off
/jstest output after calibration/
Axes: 0: 0 1: -1057 2: 1346 3: 32767 4: 0 5: 0
Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off
9:off 10:off 11:off 12:off 13:off 14:off 15:off
How can I load the correction values automatically so that if I unplug
the joystick I don't have to recalibrate each axis?
The man page of jscal is not clear at all about the option:
-s <x,y,z...>, --set-correction <x,y,z...>.
*The second way*
Modifying the cooked joystick values in my joystick.xml file changing
dead-band, offset, factor and tolerance?
--
Jean-Christophe CHARRIER
jean-***@m4am.net
Jean-Christophe CHARRIER
jean-***@m4am.net