2004-05-06 16:12:32 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2004-11-16 09:45:57 +00:00
|
|
|
<!--
|
2004-05-06 16:12:32 +00:00
|
|
|
************************************************************************
|
|
|
|
*
|
|
|
|
* Bindings or Thrustmaster Top Gun Fox 2 Pro USB joystick (see joysticks.xml in fgfsbase dir)
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Axis 0: ailerons
|
|
|
|
* Axis 1: elevator
|
|
|
|
* Axis 2: rudder (twistable stick)
|
|
|
|
* Axis 3: throttle
|
|
|
|
* Axis 4: Horizontal Hat
|
|
|
|
* Axis 5: Vertical Hat
|
|
|
|
*
|
2004-11-16 09:45:57 +00:00
|
|
|
* Button 0: (Trigger) elevator trim down
|
2004-05-06 16:12:32 +00:00
|
|
|
* Button 1: (yellow and black button) all brakes
|
2004-11-16 09:45:57 +00:00
|
|
|
* Button 2: (side button above trigger) gear up/down
|
|
|
|
* Button 3: (right button, next to yellow and black button) elevator trim up
|
|
|
|
* Button 4: (outside bottom button) flap up
|
|
|
|
* Button 5: (middle bottom button) center rudder
|
|
|
|
* Button 6: (inside bottom button) flap down
|
2004-05-06 16:12:32 +00:00
|
|
|
* Borrowed heavily from sidewinder.xml
|
|
|
|
* Thank you, sidewinder.xml!
|
|
|
|
************************************************************************
|
|
|
|
-->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
<name>Top Gun Fox 2 Pro </name>
|
2004-11-16 09:45:57 +00:00
|
|
|
<name>THRUSTMASTER Top Gun Fox 2 Pro </name>
|
2004-05-06 16:12:32 +00:00
|
|
|
|
|
|
|
<axis>
|
|
|
|
<number>
|
|
|
|
<unix>0</unix>
|
|
|
|
<windows>0</windows>
|
|
|
|
<mac>0</mac>
|
|
|
|
</number>
|
|
|
|
<desc>Aileron</desc>
|
|
|
|
<dead-band type="double">0.02</dead-band>
|
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
|
|
|
<property>/controls/flight/aileron</property>
|
2004-11-16 09:45:57 +00:00
|
|
|
<offset type="double">+0.0</offset>
|
2004-05-06 16:12:32 +00:00
|
|
|
<factor type="double">+1.0</factor>
|
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
2004-11-16 09:45:57 +00:00
|
|
|
<axis>
|
2004-05-06 16:12:32 +00:00
|
|
|
<number>
|
|
|
|
<unix>1</unix>
|
|
|
|
<windows>1</windows>
|
|
|
|
<mac>1</mac>
|
|
|
|
</number>
|
|
|
|
<desc>Elevator</desc>
|
|
|
|
<dead-band type="double">0.02</dead-band>
|
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
|
|
|
<property>/controls/flight/elevator</property>
|
|
|
|
<offset type="double">+0.0</offset>
|
|
|
|
<factor type="double">-1.0</factor>
|
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
|
|
|
<axis>
|
|
|
|
<number>
|
|
|
|
<unix>2</unix>
|
2004-11-16 09:45:57 +00:00
|
|
|
<windows>3</windows>
|
2004-05-06 16:12:32 +00:00
|
|
|
<mac>2</mac>
|
|
|
|
</number>
|
|
|
|
<desc>Rudder</desc>
|
|
|
|
<dead-band type="double">0.02</dead-band>
|
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
|
|
|
<property>/controls/flight/rudder</property>
|
|
|
|
<offset type="double">0.0</offset>
|
|
|
|
<factor type="double">1.0</factor>
|
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
|
|
|
<axis>
|
2004-11-16 09:45:57 +00:00
|
|
|
<desc>Throttle</desc>
|
2004-05-06 16:12:32 +00:00
|
|
|
<number>
|
2004-11-16 09:45:57 +00:00
|
|
|
<unix>3</unix>
|
2005-02-11 15:30:45 +00:00
|
|
|
<mac>3</mac>
|
2004-05-06 16:12:32 +00:00
|
|
|
<windows>2</windows>
|
|
|
|
</number>
|
|
|
|
<binding>
|
2004-11-16 09:45:57 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.throttleAxis()</script>
|
2004-05-06 16:12:32 +00:00
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
|
|
|
<button n="0">
|
|
|
|
<desc>Elevator trim down</desc>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
|
|
|
<binding>
|
2004-11-16 09:45:57 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.elevatorTrim(0.75)</script>
|
2004-05-06 16:12:32 +00:00
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="1">
|
|
|
|
<desc>Brakes</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2004-11-16 09:45:57 +00:00
|
|
|
<property>/controls/gear/brake-left</property>
|
2004-05-06 16:12:32 +00:00
|
|
|
<value type="double">1.0</value>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2004-11-16 09:45:57 +00:00
|
|
|
<property>/controls/gear/brake-right</property>
|
2004-05-06 16:12:32 +00:00
|
|
|
<value type="double">1.0</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2004-11-16 09:45:57 +00:00
|
|
|
<property>/controls/gear/brake-left</property>
|
2004-05-06 16:12:32 +00:00
|
|
|
<value type="double">0.0</value>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2004-11-16 09:45:57 +00:00
|
|
|
<property>/controls/gear/brake-right</property>
|
2004-05-06 16:12:32 +00:00
|
|
|
<value type="double">0.0</value>
|
|
|
|
</binding>
|
2004-11-16 09:45:57 +00:00
|
|
|
</mod-up>
|
2004-05-06 16:12:32 +00:00
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="2">
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/controls/gear/gear-down</property>
|
|
|
|
<value>true</value>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="3">
|
|
|
|
<desc>Elevator trim up</desc>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
|
|
|
<binding>
|
2004-11-16 09:45:57 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.elevatorTrim(-0.75)</script>
|
2004-05-06 16:12:32 +00:00
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="4">
|
|
|
|
<desc>Flaps up</desc>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
2004-11-16 09:45:57 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.stepFlaps(-1)</script>
|
2004-05-06 16:12:32 +00:00
|
|
|
</binding>
|
|
|
|
</button>
|
2004-11-16 09:45:57 +00:00
|
|
|
|
2004-05-06 16:12:32 +00:00
|
|
|
<button n="5">
|
|
|
|
<desc>Center rudder</desc>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/controls/flight/rudder</property>
|
|
|
|
<step type="double">0.0</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="6">
|
|
|
|
<desc>Flaps down</desc>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
2004-11-16 09:45:57 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.stepFlaps(1)</script>
|
2004-05-06 16:12:32 +00:00
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</PropertyList>
|
|
|
|
|
|
|
|
<!-- end of TGF2PROUSB.xml -->
|