1
0
Fork 0

Melchior FRANZ:

This file is in a rather bad state. Hence:

- remove doubled "rudder" settings
- fix & nasalify brake properties (/controls/gear/wheel[?]/brake, yet again)
- remove redundant index setting
- nasalify throttle (to allow more than 8 engines)
- nasalify flaps (to make flaps with more than 4 positions work)
- nasalify elevator trim (just for fun  :-)
- fix syntax
- remove lots of trailing spaces

File tested by Jon-Eirik Pettersen
This commit is contained in:
ehofman 2004-11-16 09:45:57 +00:00
parent 0e223e22f3
commit f06b96f7ff

View file

@ -27,6 +27,7 @@
<PropertyList>
<name>Top Gun Fox 2 Pro </name>
<name>THRUSTMASTER Top Gun Fox 2 Pro </name>
<axis>
<number>
@ -44,7 +45,7 @@
</binding>
</axis>
<axis n="1">
<axis>
<number>
<unix>1</unix>
<windows>1</windows>
@ -63,7 +64,7 @@
<axis>
<number>
<unix>2</unix>
<windows>2</windows>
<windows>3</windows>
<mac>2</mac>
</number>
<desc>Rudder</desc>
@ -77,75 +78,14 @@
</axis>
<axis>
<desc>Throttle</desc>
<number>
<unix>3</unix>
<windows>3</windows>
<mac>3</mac>
</number>
<desc>Throttle</desc>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[0]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[1]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[2]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[3]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[4]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[5]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[6]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
<binding>
<command>property-scale</command>
<property>/controls/engines/engine[7]/throttle</property>
<offset type="double">-1.0</offset>
<factor type="double">-0.5</factor>
</binding>
</axis>
<axis>
<number>
<unix>2</unix>
<windows>2</windows>
<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>
<command>nasal</command>
<script>controls.throttleAxis()</script>
</binding>
</axis>
@ -153,9 +93,8 @@
<desc>Elevator trim down</desc>
<repeatable type="bool">true</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/elevator-trim</property>
<step type="double">-0.001</step>
<command>nasal</command>
<script>controls.elevatorTrim(0.75)</script>
</binding>
</button>
@ -163,33 +102,23 @@
<desc>Brakes</desc>
<binding>
<command>property-assign</command>
<property>/controls/gear/wheel[0]/brake</property>
<property>/controls/gear/brake-left</property>
<value type="double">1.0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/gear/wheel[1]/brake</property>
<value type="double">1.0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/gear/wheel[2]/brake</property>
<property>/controls/gear/brake-right</property>
<value type="double">1.0</value>
</binding>
<mod-up>
<binding>
<command>property-assign</command>
<property>/controls/gear/wheel[0]/brake</property>
<property>/controls/gear/brake-left</property>
<value type="double">0.0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/gear/wheel[1]/brake</property>
<value type="double">0.0</value>
</binding>
<binding>
<command>property-assign</command>
<property>/controls/gear/wheel[2]/brake</property>
<property>/controls/gear/brake-right</property>
<value type="double">0.0</value>
</binding>
</mod-up>
@ -208,9 +137,8 @@
<desc>Elevator trim up</desc>
<repeatable type="bool">true</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/elevator-trim</property>
<step type="double">0.001</step>
<command>nasal</command>
<script>controls.elevatorTrim(-0.75)</script>
</binding>
</button>
@ -218,9 +146,8 @@
<desc>Flaps up</desc>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/flaps</property>
<step type="double">0.34</step>
<command>nasal</command>
<script>controls.stepFlaps(-1)</script>
</binding>
</button>
@ -238,9 +165,8 @@
<desc>Flaps down</desc>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/flaps</property>
<step type="double">-0.34</step>
<command>nasal</command>
<script>controls.stepFlaps(1)</script>
</binding>
</button>