297 lines
6.9 KiB
XML
297 lines
6.9 KiB
XML
<?xml version="1.0" ?>
|
|
|
|
<!--
|
|
************************************************************************
|
|
* Bindings for Logitech WingMan Extreme Digital 3D (USB) joystick.
|
|
*
|
|
*
|
|
* Axis 0: ailerons
|
|
* Axis 1: elevator
|
|
* Axis 2 (slider): throttle
|
|
* Axis 3 (twist): rudder
|
|
* Axes 6 and 7 (hat): view direction
|
|
*
|
|
* Button 0: all brakes
|
|
* Button 1: flap down
|
|
* Button 2: flap up
|
|
* Button 3: elevator trim up
|
|
* Button 4: elevator trim down
|
|
* Button 5: left brake only
|
|
* Button 6: right brake only
|
|
************************************************************************
|
|
$Id$
|
|
-->
|
|
|
|
<PropertyList>
|
|
|
|
<name>Logitech WingMan Extreme Digital 3D (USB)</name>
|
|
|
|
<axis>
|
|
<desc>Aileron</desc>
|
|
<number>
|
|
<unix>0</unix>
|
|
<windows>0</windows>
|
|
</number>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/flight/aileron</property>
|
|
<squared type="bool">true</squared>
|
|
</binding>
|
|
</axis>
|
|
|
|
<axis>
|
|
<desc>Elevator</desc>
|
|
<number>
|
|
<unix>1</unix>
|
|
<windows>1</windows>
|
|
</number>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/flight/elevator</property>
|
|
<factor type="double">-1.0</factor>
|
|
<squared type="bool">true</squared>
|
|
</binding>
|
|
</axis>
|
|
|
|
<axis>
|
|
<desc>Throttle</desc>
|
|
<number>
|
|
<unix>3</unix>
|
|
<windows>2</windows>
|
|
</number>
|
|
<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>
|
|
<desc>Rudder</desc>
|
|
<number>
|
|
<unix>2</unix>
|
|
<windows>3</windows>
|
|
</number>
|
|
<binding>
|
|
<command>property-scale</command>
|
|
<property>/controls/flight/rudder</property>
|
|
<factor type="double">1.0</factor>
|
|
</binding>
|
|
</axis>
|
|
|
|
<axis n="6">
|
|
<desc>View Direction</desc>
|
|
<number>
|
|
<unix>4</unix>
|
|
<windows>6</windows>
|
|
</number>
|
|
<low>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
|
<step type="double">1.0</step>
|
|
</binding>
|
|
</low>
|
|
<high>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
|
<step type="double">-1.0</step>
|
|
</binding>
|
|
</high>
|
|
</axis>
|
|
|
|
<axis>
|
|
<desc>View Elevation</desc>
|
|
<number>
|
|
<unix>5</unix>
|
|
<windows>7</windows>
|
|
</number>
|
|
<low>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
|
<step type="double">1.0</step>
|
|
</binding>
|
|
</low>
|
|
<high>
|
|
<repeatable>true</repeatable>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
|
<step type="double">-1.0</step>
|
|
</binding>
|
|
</high>
|
|
</axis>
|
|
|
|
<button>
|
|
<desc>Brakes</desc>
|
|
<number>
|
|
<unix>0</unix>
|
|
<windows>0</windows>
|
|
</number>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/controls/gear/brake-left</property>
|
|
<value type="double">1.0</value>
|
|
</binding>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/controls/gear/brake-right</property>
|
|
<value type="double">1.0</value>
|
|
</binding>
|
|
<mod-up>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/controls/gear/brake-left</property>
|
|
<value type="double">0.0</value>
|
|
</binding>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/controls/gear/brake-right</property>
|
|
<value type="double">0.0</value>
|
|
</binding>
|
|
</mod-up>
|
|
</button>
|
|
|
|
<button>
|
|
<desc>Elevator trim up</desc>
|
|
<number>
|
|
<unix>3</unix>
|
|
<windows>3</windows>
|
|
</number>
|
|
<repeatable type="bool">true</repeatable>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>/controls/flight/elevator-trim</property>
|
|
<step type="double">0.001</step>
|
|
</binding>
|
|
</button>
|
|
|
|
<button>
|
|
<desc>Elevator trim down</desc>
|
|
<number>
|
|
<unix>4</unix>
|
|
<windows>4</windows>
|
|
</number>
|
|
<repeatable type="bool">true</repeatable>
|
|
<binding>
|
|
<command>property-adjust</command>
|
|
<property>/controls/flight/elevator-trim</property>
|
|
<step type="double">-0.001</step>
|
|
</binding>
|
|
</button>
|
|
|
|
<button>
|
|
<desc>Flaps down</desc>
|
|
<number>
|
|
<unix>1</unix>
|
|
<windows>1</windows>
|
|
</number>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>controls.stepFlaps(-1)</script>
|
|
</binding>
|
|
</button>
|
|
|
|
<button>
|
|
<desc>Flaps up</desc>
|
|
<number>
|
|
<unix>2</unix>
|
|
<windows>2</windows>
|
|
</number>
|
|
<repeatable>false</repeatable>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>controls.stepFlaps(1)</script>
|
|
</binding>
|
|
</button>
|
|
|
|
<button>
|
|
<desc>Right brake</desc>
|
|
<number>
|
|
<unix>6</unix>
|
|
<windows>6</windows>
|
|
</number>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/controls/gear/brake-right</property>
|
|
<value type="double">1.0</value>
|
|
</binding>
|
|
<mod-up>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/controls/gear/brake-right</property>
|
|
<value type="double">0.0</value>
|
|
</binding>
|
|
</mod-up>
|
|
</button>
|
|
|
|
<button>
|
|
<desc>Left brake</desc>
|
|
<number>
|
|
<unix>5</unix>
|
|
<windows>5</windows>
|
|
</number>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/controls/gear/brake-left</property>
|
|
<value type="double">1.0</value>
|
|
</binding>
|
|
<mod-up>
|
|
<binding>
|
|
<command>property-assign</command>
|
|
<property>/controls/gear/brake-left</property>
|
|
<value type="double">0.0</value>
|
|
</binding>
|
|
</mod-up>
|
|
</button>
|
|
|
|
</PropertyList>
|