2005-10-06 09:34:50 +00:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<!-- Maintainer: Frederic Bouvier -->
|
2002-07-04 15:52:15 +00:00
|
|
|
<!--
|
|
|
|
************************************************************************
|
2005-10-06 09:34:50 +00:00
|
|
|
* Bindings for Logitech WingMan Extreme Digital 3D (USB) joystick.
|
2002-07-04 15:52:15 +00:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* Axis 0: ailerons
|
|
|
|
* Axis 1: elevator
|
2005-10-06 09:34:50 +00:00
|
|
|
* Axis 2(windows),3(unix,mac) (slider): throttle
|
|
|
|
* Axis 3(windows),2(unix,mac) (twist): rudder
|
|
|
|
* Axes 6&7(windows), 4&5(unix,mac) (hat): view direction
|
2002-07-04 15:52:15 +00:00
|
|
|
*
|
2005-10-06 09:34:50 +00:00
|
|
|
* Button 0: all brakes
|
|
|
|
* Button 1: elevator trim up
|
|
|
|
* Button 2: elevator trim down
|
|
|
|
* Button 3: mixture richer
|
|
|
|
* Button 4: mixture leaner
|
|
|
|
* Button 5: left brake only
|
|
|
|
* Button 6: right brake only
|
2002-07-04 15:52:15 +00:00
|
|
|
************************************************************************
|
2003-06-29 08:33:59 +00:00
|
|
|
$Id$
|
2002-07-04 15:52:15 +00:00
|
|
|
-->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<name>Logitech Inc. WingMan Extreme Digital 3D</name>
|
2005-10-04 08:06:32 +00:00
|
|
|
<name>Logitech WingMan Extreme Digital 3D (USB)</name>
|
2002-07-04 15:52:15 +00:00
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<axis>
|
2002-07-04 15:52:15 +00:00
|
|
|
<desc>Aileron</desc>
|
2005-10-06 09:34:50 +00:00
|
|
|
<number>
|
|
|
|
<unix>0</unix>
|
|
|
|
<mac>0</mac>
|
|
|
|
<windows>0</windows>
|
|
|
|
</number>
|
2002-07-04 15:52:15 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/aileron</property>
|
2005-10-06 09:34:50 +00:00
|
|
|
<squared type="bool">true</squared>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<axis>
|
2002-07-04 15:52:15 +00:00
|
|
|
<desc>Elevator</desc>
|
2005-10-06 09:34:50 +00:00
|
|
|
<number>
|
|
|
|
<unix>1</unix>
|
|
|
|
<mac>1</mac>
|
|
|
|
<windows>1</windows>
|
|
|
|
</number>
|
2002-07-04 15:52:15 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/elevator</property>
|
2002-07-04 15:52:15 +00:00
|
|
|
<factor type="double">-1.0</factor>
|
2005-10-06 09:34:50 +00:00
|
|
|
<squared type="bool">true</squared>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<axis>
|
2002-07-04 15:52:15 +00:00
|
|
|
<desc>Throttle</desc>
|
2005-10-06 09:34:50 +00:00
|
|
|
<number>
|
|
|
|
<unix>3</unix>
|
|
|
|
<mac>3</mac>
|
|
|
|
<windows>2</windows>
|
|
|
|
</number>
|
2002-07-04 15:52:15 +00:00
|
|
|
<binding>
|
2005-06-16 16:47:31 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.throttleAxis()</script>
|
2003-06-29 08:33:59 +00:00
|
|
|
</binding>
|
2002-07-04 15:52:15 +00:00
|
|
|
</axis>
|
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<axis>
|
|
|
|
<desc>Rudder</desc>
|
|
|
|
<number>
|
|
|
|
<unix>2</unix>
|
|
|
|
<mac>2</mac>
|
|
|
|
<windows>3</windows>
|
|
|
|
</number>
|
2002-07-04 15:52:15 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
2005-10-06 09:34:50 +00:00
|
|
|
<property>/controls/flight/rudder</property>
|
|
|
|
<factor type="double">1.0</factor>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<axis n="6">
|
|
|
|
<desc>View Direction</desc>
|
|
|
|
<number>
|
|
|
|
<unix>4</unix>
|
|
|
|
<mac>4</mac>
|
|
|
|
<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>
|
2002-07-04 15:52:15 +00:00
|
|
|
</axis>
|
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<axis>
|
|
|
|
<desc>View Elevation</desc>
|
|
|
|
<number>
|
|
|
|
<unix>5</unix>
|
|
|
|
<mac>5</mac>
|
|
|
|
<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>
|
2002-07-04 15:52:15 +00:00
|
|
|
<desc>Brakes</desc>
|
2005-10-06 09:34:50 +00:00
|
|
|
<number>
|
|
|
|
<unix>0</unix>
|
|
|
|
<mac>0</mac>
|
|
|
|
<windows>0</windows>
|
|
|
|
</number>
|
2002-07-04 15:52:15 +00:00
|
|
|
<binding>
|
2006-03-01 18:17:26 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(1)</script>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
2006-03-01 18:17:26 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(0)</script>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</button>
|
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<button>
|
|
|
|
<desc>Elevator trim up</desc>
|
|
|
|
<number>
|
|
|
|
<unix>1</unix>
|
|
|
|
<mac>1</mac>
|
|
|
|
<windows>1</windows>
|
|
|
|
</number>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
2002-07-04 15:52:15 +00:00
|
|
|
<binding>
|
2005-10-06 09:34:50 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.elevatorTrim(1)</script>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<button>
|
|
|
|
<desc>Elevator trim down</desc>
|
|
|
|
<number>
|
|
|
|
<unix>2</unix>
|
|
|
|
<mac>2</mac>
|
|
|
|
<windows>2</windows>
|
|
|
|
</number>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
2002-07-04 15:52:15 +00:00
|
|
|
<binding>
|
2005-10-06 09:34:50 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.elevatorTrim(-1)</script>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<button>
|
|
|
|
<desc>Flaps down</desc>
|
|
|
|
<number>
|
|
|
|
<unix>3</unix>
|
|
|
|
<mac>3</mac>
|
|
|
|
<windows>3</windows>
|
|
|
|
</number>
|
2002-07-04 15:52:15 +00:00
|
|
|
<repeatable>true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/engines/engine[0]/mixture</property>
|
2003-06-29 08:33:59 +00:00
|
|
|
<step>0.01</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/engines/engine[1]/mixture</property>
|
2002-07-04 15:52:15 +00:00
|
|
|
<step>0.01</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<button>
|
|
|
|
<desc>Flaps up</desc>
|
|
|
|
<number>
|
|
|
|
<unix>4</unix>
|
|
|
|
<mac>4</mac>
|
|
|
|
<windows>4</windows>
|
|
|
|
</number>
|
2002-07-04 15:52:15 +00:00
|
|
|
<repeatable>true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/engines/engine[0]/mixture</property>
|
2003-06-29 08:33:59 +00:00
|
|
|
<step>-0.01</step>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/engines/engine[1]/mixture</property>
|
2002-07-04 15:52:15 +00:00
|
|
|
<step>-0.01</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<button>
|
|
|
|
<desc>Left brake</desc>
|
|
|
|
<number>
|
|
|
|
<unix>5</unix>
|
|
|
|
<mac>5</mac>
|
|
|
|
<windows>5</windows>
|
|
|
|
</number>
|
2002-07-04 15:52:15 +00:00
|
|
|
<binding>
|
2006-03-01 18:17:26 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(1, -1)</script>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
2006-03-01 18:17:26 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(0, -1)</script>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</button>
|
|
|
|
|
2005-10-06 09:34:50 +00:00
|
|
|
<button>
|
|
|
|
<desc>Right brake</desc>
|
|
|
|
<number>
|
|
|
|
<unix>6</unix>
|
|
|
|
<mac>6</mac>
|
|
|
|
<windows>6</windows>
|
|
|
|
</number>
|
2002-07-04 15:52:15 +00:00
|
|
|
<binding>
|
2006-03-01 18:17:26 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(1, 1)</script>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
2006-03-01 18:17:26 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(0, 1)</script>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</PropertyList>
|