Skip to content
Snippets Groups Projects
Commit 85425bfb authored by Israel Hernandez's avatar Israel Hernandez
Browse files

dark tornado

parent abff723a
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0"?>
<PropertyList>
<name type="string">ACRUX SL-6632 Dark Tornado Joystick</name>
<axis>
<desc type="string">Aileron</desc>
<binding>
<condition>
<not>
<property>/controls/flight/axisonrudder</property>
</not>
</condition>
<command type="string">property-scale</command>
<property type="string">/controls/flight/aileron</property>
<factor type="double">1</factor>
<offset type="double">0</offset>
<power type="double">1</power>
</binding>
<binding>
<condition>
<property>/controls/flight/axisonrudder</property>
</condition>
<command type="string">property-scale</command>
<property type="string">/controls/flight/rudder</property>
<factor type="double">1</factor>
<offset type="double">0</offset>
<power type="double">1</power>
</binding>
</axis>
<axis n="1">
<desc type="string">Elevator</desc>
<binding>
<command type="string">property-scale</command>
<property type="string">/controls/flight/elevator</property>
<factor type="double">-1</factor>
<offset type="double">0</offset>
<power type="double">1</power>
</binding>
</axis>
<axis n="2">
<desc type="string">Throttle (all)</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.throttleAxis();</script>
</binding>
</axis>
<button>
<desc type="string">Rudder-or-aileron-axis</desc>
<binding>
<command type="string">property-assign</command>
<property type="string">/controls/flight/axisonrudder</property>
<value type="float">1</value>
</binding>
<mod-up>
<binding>
<command type="string">property-assign</command>
<property type="string">/controls/flight/axisonrudder</property>
<value type="float">0</value>
</binding>
<binding>
<command type="string">property-assign</command>
<property type="string">/controls/flight/rudder</property>
<value type="float">0</value>
</binding>
</mod-up>
</button>
<button n="1">
<desc type="string">Brakes</desc>
<repeatable type="string">false</repeatable>
<binding>
<command type="string">nasal</command>
<script type="string">controls.applyBrakes(1);</script>
</binding>
<mod-up>
<binding>
<command type="string">nasal</command>
<script type="string">controls.applyBrakes(0);</script>
</binding>
</mod-up>
</button>
<button n="2">
<desc type="string">Elevator Trim Up</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.elevatorTrim(-1);</script>
</binding>
<repeatable type="double">1</repeatable>
</button>
<button n="3">
<desc type="string">Elevator Trim Down</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.elevatorTrim(1);</script>
</binding>
<repeatable type="double">1</repeatable>
</button>
<button n="4">
<desc type="string">Gear Up</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.gearDown(-1);</script>
</binding>
<repeatable type="double">0</repeatable>
</button>
<button n="5">
<desc type="string">Flaps Up</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.flapsDown(-1);</script>
</binding>
<repeatable type="double">0</repeatable>
</button>
<button n="6">
<desc type="string">Flaps Down</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.flapsDown(1);</script>
</binding>
<repeatable type="double">0</repeatable>
</button>
<button n="7">
<desc type="string">Gear Down</desc>
<binding>
<command type="string">nasal</command>
<script type="string">controls.gearDown(1);</script>
</binding>
<repeatable type="double">0</repeatable>
</button>
</PropertyList>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment