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:
parent
0e223e22f3
commit
f06b96f7ff
1 changed files with 29 additions and 103 deletions
|
@ -27,6 +27,7 @@
|
||||||
|
|
||||||
<PropertyList>
|
<PropertyList>
|
||||||
<name>Top Gun Fox 2 Pro </name>
|
<name>Top Gun Fox 2 Pro </name>
|
||||||
|
<name>THRUSTMASTER Top Gun Fox 2 Pro </name>
|
||||||
|
|
||||||
<axis>
|
<axis>
|
||||||
<number>
|
<number>
|
||||||
|
@ -44,7 +45,7 @@
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<axis n="1">
|
<axis>
|
||||||
<number>
|
<number>
|
||||||
<unix>1</unix>
|
<unix>1</unix>
|
||||||
<windows>1</windows>
|
<windows>1</windows>
|
||||||
|
@ -63,7 +64,7 @@
|
||||||
<axis>
|
<axis>
|
||||||
<number>
|
<number>
|
||||||
<unix>2</unix>
|
<unix>2</unix>
|
||||||
<windows>2</windows>
|
<windows>3</windows>
|
||||||
<mac>2</mac>
|
<mac>2</mac>
|
||||||
</number>
|
</number>
|
||||||
<desc>Rudder</desc>
|
<desc>Rudder</desc>
|
||||||
|
@ -77,75 +78,14 @@
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
<axis>
|
<axis>
|
||||||
|
<desc>Throttle</desc>
|
||||||
<number>
|
<number>
|
||||||
<unix>3</unix>
|
<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>
|
<windows>2</windows>
|
||||||
<mac>2</mac>
|
|
||||||
</number>
|
</number>
|
||||||
<desc>Rudder</desc>
|
|
||||||
<dead-band type="double">0.02</dead-band>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-scale</command>
|
<command>nasal</command>
|
||||||
<property>/controls/flight/rudder</property>
|
<script>controls.throttleAxis()</script>
|
||||||
<offset type="double">0.0</offset>
|
|
||||||
<factor type="double">1.0</factor>
|
|
||||||
</binding>
|
</binding>
|
||||||
</axis>
|
</axis>
|
||||||
|
|
||||||
|
@ -153,9 +93,8 @@
|
||||||
<desc>Elevator trim down</desc>
|
<desc>Elevator trim down</desc>
|
||||||
<repeatable type="bool">true</repeatable>
|
<repeatable type="bool">true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>nasal</command>
|
||||||
<property>/controls/flight/elevator-trim</property>
|
<script>controls.elevatorTrim(0.75)</script>
|
||||||
<step type="double">-0.001</step>
|
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
@ -163,33 +102,23 @@
|
||||||
<desc>Brakes</desc>
|
<desc>Brakes</desc>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>/controls/gear/wheel[0]/brake</property>
|
<property>/controls/gear/brake-left</property>
|
||||||
<value type="double">1.0</value>
|
<value type="double">1.0</value>
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>/controls/gear/wheel[1]/brake</property>
|
<property>/controls/gear/brake-right</property>
|
||||||
<value type="double">1.0</value>
|
|
||||||
</binding>
|
|
||||||
<binding>
|
|
||||||
<command>property-assign</command>
|
|
||||||
<property>/controls/gear/wheel[2]/brake</property>
|
|
||||||
<value type="double">1.0</value>
|
<value type="double">1.0</value>
|
||||||
</binding>
|
</binding>
|
||||||
<mod-up>
|
<mod-up>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>/controls/gear/wheel[0]/brake</property>
|
<property>/controls/gear/brake-left</property>
|
||||||
<value type="double">0.0</value>
|
<value type="double">0.0</value>
|
||||||
</binding>
|
</binding>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>/controls/gear/wheel[1]/brake</property>
|
<property>/controls/gear/brake-right</property>
|
||||||
<value type="double">0.0</value>
|
|
||||||
</binding>
|
|
||||||
<binding>
|
|
||||||
<command>property-assign</command>
|
|
||||||
<property>/controls/gear/wheel[2]/brake</property>
|
|
||||||
<value type="double">0.0</value>
|
<value type="double">0.0</value>
|
||||||
</binding>
|
</binding>
|
||||||
</mod-up>
|
</mod-up>
|
||||||
|
@ -208,9 +137,8 @@
|
||||||
<desc>Elevator trim up</desc>
|
<desc>Elevator trim up</desc>
|
||||||
<repeatable type="bool">true</repeatable>
|
<repeatable type="bool">true</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>nasal</command>
|
||||||
<property>/controls/flight/elevator-trim</property>
|
<script>controls.elevatorTrim(-0.75)</script>
|
||||||
<step type="double">0.001</step>
|
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
@ -218,9 +146,8 @@
|
||||||
<desc>Flaps up</desc>
|
<desc>Flaps up</desc>
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>nasal</command>
|
||||||
<property>/controls/flight/flaps</property>
|
<script>controls.stepFlaps(-1)</script>
|
||||||
<step type="double">0.34</step>
|
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
@ -238,9 +165,8 @@
|
||||||
<desc>Flaps down</desc>
|
<desc>Flaps down</desc>
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>nasal</command>
|
||||||
<property>/controls/flight/flaps</property>
|
<script>controls.stepFlaps(1)</script>
|
||||||
<step type="double">-0.34</step>
|
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue