add joysticks.xml again; It doesn't do anything, but explains how to make
local changes. People are used to modifying this file, and seem helpless without it. Further explanations will be added to README.Joystick.html. The dummy entry is necessary because EasyXML aborts without at least one entry, and segfaults without <PropertyList> entry.
This commit is contained in:
parent
07ed292310
commit
f74b2f5c23
2 changed files with 26 additions and 0 deletions
23
joysticks.xml
Normal file
23
joysticks.xml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!--
|
||||||
|
To override "named" joystick drivers add <js-named> entries
|
||||||
|
with paths relative to the directory where the joysticks.xml
|
||||||
|
file resides (first example). Such "named" drivers are only
|
||||||
|
picked up if their <name> tags match the joystick hardware.
|
||||||
|
They have precedence over already existing drivers with the
|
||||||
|
same <name>. (You can also add a <name>default</name> entry
|
||||||
|
to the driver to make it the default choice.)
|
||||||
|
|
||||||
|
The second example shows how to load a driver directly to
|
||||||
|
position 0. It will then be used for the first joystick on
|
||||||
|
your system and FlightGear will not overwrite it.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<!--
|
||||||
|
<js-named include="Input/Joysticks/Local/X45-modified.xml"/>
|
||||||
|
<js n="0" include="Input/Joysticks/Local/joystick_0.xml"/>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<js-named/> <!-- dummy to keep SimGear happy -->
|
||||||
|
</PropertyList>
|
|
@ -591,6 +591,9 @@ Started September 2000 by David Megginson, david@megginson.com
|
||||||
<!-- included externally -->
|
<!-- included externally -->
|
||||||
<keyboard include="keyboard.xml"/>
|
<keyboard include="keyboard.xml"/>
|
||||||
|
|
||||||
|
<!-- included externally -->
|
||||||
|
<joysticks include="joysticks.xml"/>
|
||||||
|
|
||||||
<!-- included externally -->
|
<!-- included externally -->
|
||||||
<mice include="mice.xml"/>
|
<mice include="mice.xml"/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue