1
0
Fork 0

Fix the UNIX/Windows axis mismatch.

This commit is contained in:
ehofman 2004-04-29 09:14:14 +00:00
parent b67ef3b275
commit efaab2be2a
2 changed files with 41 additions and 7 deletions

View file

@ -107,8 +107,12 @@ ________________________________________________________________________________
</binding> </binding>
</axis> </axis>
<axis n="2"> <axis>
<desc>Rudder</desc> <desc>Rudder</desc>
<number>
<unix>2</unix>
<windows>3</windows>
</number>
<binding> <binding>
<command>property-scale</command> <command>property-scale</command>
<property>/controls/flight/rudder</property> <property>/controls/flight/rudder</property>
@ -118,8 +122,12 @@ ________________________________________________________________________________
</binding> </binding>
</axis> </axis>
<axis n="3"> <axis>
<desc>Throttle</desc> <desc>Throttle</desc>
<number>
<unix>3</unix>
<windows>2</windows>
</number>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
<script>controls.throttleAxis()</script> <script>controls.throttleAxis()</script>

View file

@ -102,9 +102,15 @@ ________________________________________________________________________________
<PropertyList> <PropertyList>
<name>THRUSTMASTER Top Gun Afterburner</name> <name>THRUSTMASTER Top Gun Afterburner</name>
<name>ThrustMaster Top Gun AfterBurner</name>
<name>Thrustmaster Afterburner Force Feedback (USB)</name>
<axis n="0"> <axis>
<desc>Aileron</desc> <desc>Aileron</desc>
<number>
<unix>0</unix>
<windows>0</windows>
</number>
<binding> <binding>
<command>property-scale</command> <command>property-scale</command>
<property>/controls/flight/aileron</property> <property>/controls/flight/aileron</property>
@ -112,8 +118,12 @@ ________________________________________________________________________________
</binding> </binding>
</axis> </axis>
<axis n="1"> <axis>
<desc>Elevator</desc> <desc>Elevator</desc>
<number>
<unix>1</unix>
<windows>1</windows>
</number>
<binding> <binding>
<command>property-scale</command> <command>property-scale</command>
<property>/controls/flight/elevator</property> <property>/controls/flight/elevator</property>
@ -122,8 +132,12 @@ ________________________________________________________________________________
</binding> </binding>
</axis> </axis>
<axis n="2"> <axis>
<desc>Rudder</desc> <desc>Rudder</desc>
<number>
<unix>2</unix>
<windows>3</windows>
</number>
<binding> <binding>
<command>property-scale</command> <command>property-scale</command>
<property>/controls/flight/rudder</property> <property>/controls/flight/rudder</property>
@ -133,7 +147,7 @@ ________________________________________________________________________________
</binding> </binding>
</axis> </axis>
<axis n="3"> <axis>
<!-- <!--
We have a throttle with two raster positions. We have a throttle with two raster positions.
@ -145,6 +159,10 @@ ________________________________________________________________________________
-0.73 - -1: afterburner -0.73 - -1: afterburner
--> -->
<desc>Throttle</desc> <desc>Throttle</desc>
<number>
<unix>3</unix>
<windows>2</windows>
</number>
<dead-band type="double">0.0</dead-band> <dead-band type="double">0.0</dead-band>
<binding> <binding>
<command>nasal</command> <command>nasal</command>
@ -446,6 +464,10 @@ ________________________________________________________________________________
<axis n="5"><!-- View Direction Hat --> <axis n="5"><!-- View Direction Hat -->
<desc>View direction; mixture; aileron trim; rudder trim</desc> <desc>View direction; mixture; aileron trim; rudder trim</desc>
<number>
<unix>5</unix>
<windows>6</windows>
</number>
<low> <low>
<repeatable>true</repeatable> <repeatable>true</repeatable>
<binding> <binding>
@ -507,8 +529,12 @@ ________________________________________________________________________________
</high> </high>
</axis> </axis>
<axis n="6"> <axis>
<desc>View direction; prop pitch; elevator trim</desc> <desc>View direction; prop pitch; elevator trim</desc>
<number>
<unix>6</unix>
<windows>7</windows>
</number>
<low> <low>
<repeatable>true</repeatable> <repeatable>true</repeatable>
<binding> <binding>