<?xml version="1.0"?>
<!--
************************************************************************
* Bindings for Logitech G25 Racing Wheel.
* Axis 1: rudder
* Axis 2: rudder
************************************************************************
$Id$
-->
<PropertyList>
<name>G25 Racing Wheel</name>
<axis n="1">
<desc>Rudder Right</desc>
<number>
<unix>1</unix>
<mac>1</mac>
<windows>2</windows>
</number>
<binding>
<command>property-scale</command>
<property>/controls/flight/rudder</property>
<factor type="double">-0.5</factor>
<offset type="double">-1.0</offset>
<squared type="bool">true</squared>
</binding>
</axis>
<axis n="2">
<desc>Rudder Left</desc>
<number>
<unix>2</unix>
<mac>2</mac>
<windows>3</windows>
</number>
<binding>
<command>property-scale</command>
<property>/controls/flight/rudder</property>
<factor type="double">0.5</factor>
<offset type="double">-1.0</offset>
<squared type="bool">true</squared>
</binding>
</axis>
</PropertyList>
<PropertyList>
<name type="string">T.Flight Stick X</name>
<name type="string">Thrustmaster T.Flight Stick X</name>
...
</PropertyList>
<PropertyList>
<name type="string">T.Flight Stick X</name>
...
</PropertyList>
<script>var wow = getprop("/gear/gear[1]/wow") or getprop("/gear/gear[2]/wow");if (wow) { setprop("/controls/gear/gear-down", 1);} else {gearToggle = getprop("/controls/gear/gear-down"); if (gearToggle == 1) { controls.gearDown(-1); gui.popupTip("Gear up!"); } else { controls.gearDown(1); gui.popupTip("Gear down!");</script>
<axis n="0">
<desc>Rudder on ground, aileron in flight</desc>
<!-- Implemented on-ground taxi patch by Sebastain Marque -->
<binding>
<condition>
<property>/gear/gear/wow</property>
</condition>
<command>property-scale</command>
<property>/controls/flight/rudder</property>
<squared type="bool">true</squared>
</binding>
<desc>Aileron</desc>
<dead-band type="double">0.02</dead-band>
<binding>
<condition>
<not>
<property>/gear/gear/wow</property>
</not>
</condition>
<command>property-scale</command>
<property>/controls/flight/aileron</property>
<offset type="double">0.0</offset>
<factor type="double">1.0</factor>
<tolerance type="double">0.0</tolerance>
<squared type="bool">true</squared>
<power type="double">2.0</power>
</binding>
</axis>
Users browsing this forum: No registered users and 4 guests