Input device: Difference between revisions

Jump to navigation Jump to search
448 bytes removed ,  29 January 2012
No need to use js-named. FlightGear reads all config files in Inputs/.
mNo edit summary
(No need to use js-named. FlightGear reads all config files in Inputs/.)
Line 177: Line 177:


Several users have reported that the numbers of axes and buttons assigned to functions may be different with the same joystick under Windows and Linux. The above procedure should allow one to easily change a binding xml file created for a different operating system for use by their operating system.
Several users have reported that the numbers of axes and buttons assigned to functions may be different with the same joystick under Windows and Linux. The above procedure should allow one to easily change a binding xml file created for a different operating system for use by their operating system.
=== Telling FlightGear about your new bindings xml file ===
Before FlightGear can use your new xml file, you need to edit the file <tt>[[$FG_ROOT]]/joysticks.xml</tt>, adding a line that will include your new file if the “name” you entered between the name tags matches the name supplied to the driver by your joystick. Add the following line to <tt>[[$FG_ROOT]]/joysticks.xml</tt>:
<js-named include="Input/Joysticks/QS/QuickStick.xml"/>


You can tell how FlightGear has interpretted your joystick setup by selecting <tt>Help > Joystick Information</tt> from the menu.
You can tell how FlightGear has interpretted your joystick setup by selecting <tt>Help > Joystick Information</tt> from the menu.

Navigation menu