Steven Wayne wrote:
> Can someone tell me how to get Flightgear to use the ~/.joystick
> file produced by jscalibrator.

You don't.  Joystick calibration happens at the kernel level,
FlightGear just reads the values out of the device and assumes they
are correct.

I don't know the jscalibrator tool, nor the .joystick file.  The way
the "official" command line jscal tool works is to print out the
calibration as a runnable command.

So you do "jscal -c /dev/js0" to calibrate your stick.

Then "jscal -p /dev/js0 > calibrate-stick.sh" to create a shell script
that you can use to re-do the calibration in the future.

Then, after the next reboot or whenever, "sh calibrate-stick.sh" to
reproduce the calibration.

I think some distributions actually do the saving of joystick settings
for you on shutdown/startup, although Fedora 4 is not one of them (I
just checked).  It may be that some desktop environments have similar
functionality.  But this is the "low level" mechanism underneath them
all.

Andy

_______________________________________________
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to