2004-01-05 20:48:00 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
************************************************************************
|
2005-10-26 17:40:41 +00:00
|
|
|
* Bindings for Logitech WingMan Force 3D USB joystick.
|
2004-01-05 20:48:00 +00:00
|
|
|
*
|
2005-10-26 17:40:41 +00:00
|
|
|
* Bindings are as follow:
|
2004-01-05 20:48:00 +00:00
|
|
|
*
|
|
|
|
* Axis 0: ailerons
|
|
|
|
* Axis 1: elevator
|
2005-10-26 17:40:41 +00:00
|
|
|
* Axis 2 (slider): throttle
|
|
|
|
* Axis 3 (twist): rudder
|
|
|
|
* Axes 6 and 7 (hat): view direction
|
2004-01-05 20:48:00 +00:00
|
|
|
*
|
|
|
|
* Button 0 (trigger): all brakes
|
2004-07-16 20:17:36 +00:00
|
|
|
* Button 1 (02): elevator trim up
|
|
|
|
* Button 2 (03): elevator trim down
|
|
|
|
* Button 3 (04): mixture richer
|
|
|
|
* Button 4 (05): mixture leaner
|
2005-10-26 17:40:41 +00:00
|
|
|
* Button 5 (06): flaps ups
|
|
|
|
* Button 6 (07): flaps down
|
2004-01-05 20:48:00 +00:00
|
|
|
************************************************************************
|
|
|
|
-->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
2004-07-16 20:17:36 +00:00
|
|
|
<name>Logitech Inc. WingMan Force 3D</name>
|
2005-10-26 17:40:41 +00:00
|
|
|
<name>Logitech Inc. WingMan Force 3d</name>
|
|
|
|
<name>Logitech WingMan Force 3D USB</name>
|
|
|
|
|
2004-07-16 20:17:36 +00:00
|
|
|
<axis n="0">
|
|
|
|
<desc>Aileron</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
|
|
|
<property>/controls/flight/aileron</property>
|
2005-10-26 17:40:41 +00:00
|
|
|
<factor type="double">1.0</factor>
|
|
|
|
<dead-band type="double">0.02</dead-band>
|
|
|
|
<power type="double">2.0</power>
|
2004-07-16 20:17:36 +00:00
|
|
|
</binding>
|
|
|
|
</axis>
|
2005-10-26 17:40:41 +00:00
|
|
|
|
2004-07-16 20:17:36 +00:00
|
|
|
<axis n="1">
|
|
|
|
<desc>Elevator</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
|
|
|
<property>/controls/flight/elevator</property>
|
2005-10-26 17:40:41 +00:00
|
|
|
<factor type="double">-1.0</factor>
|
|
|
|
<dead-band type="double">0.02</dead-band>
|
|
|
|
<power type="double">2.0</power>
|
2004-07-16 20:17:36 +00:00
|
|
|
</binding>
|
|
|
|
</axis>
|
2005-10-26 17:40:41 +00:00
|
|
|
|
|
|
|
<axis>
|
2004-07-16 20:17:36 +00:00
|
|
|
<desc>Throttle</desc>
|
2005-10-26 17:40:41 +00:00
|
|
|
<number>
|
|
|
|
<unix>3</unix>
|
|
|
|
<mac>2</mac>
|
|
|
|
<windows>2</windows>
|
|
|
|
</number>
|
2004-07-16 20:17:36 +00:00
|
|
|
<binding>
|
2005-10-26 17:40:41 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.throttleAxis()</script>
|
2004-07-16 20:17:36 +00:00
|
|
|
</binding>
|
2005-10-26 17:40:41 +00:00
|
|
|
</axis>
|
|
|
|
|
|
|
|
<axis>
|
|
|
|
<desc>Rudder</desc>
|
|
|
|
<number>
|
|
|
|
<unix>2</unix>
|
|
|
|
<mac>3</mac>
|
|
|
|
<windows>3</windows>
|
|
|
|
</number>
|
2004-07-16 20:17:36 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
2005-10-26 17:40:41 +00:00
|
|
|
<property>/controls/flight/rudder</property>
|
|
|
|
<factor type="double">1.0</factor>
|
|
|
|
<dead-band type="double">0.2</dead-band>
|
|
|
|
<power type="double">2.0</power>
|
2004-07-16 20:17:36 +00:00
|
|
|
</binding>
|
|
|
|
</axis>
|
2005-10-26 17:40:41 +00:00
|
|
|
|
2004-07-16 20:17:36 +00:00
|
|
|
<!-- The next two axes are the view hat -->
|
2005-10-26 17:40:41 +00:00
|
|
|
|
|
|
|
<axis>
|
|
|
|
<desc>Lat-Hat</desc>
|
|
|
|
<number>
|
|
|
|
<unix>4</unix>
|
|
|
|
<mac>4</mac>
|
|
|
|
<windows>6</windows>
|
|
|
|
</number>
|
2004-07-16 20:17:36 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
|
|
|
<property>/sim/current-view/axes/lat</property>
|
|
|
|
</binding>
|
|
|
|
</axis>
|
2005-10-26 17:40:41 +00:00
|
|
|
|
|
|
|
<axis>
|
|
|
|
<desc>Long-Hat</desc>
|
|
|
|
<number>
|
|
|
|
<unix>5</unix>
|
|
|
|
<mac>5</mac>
|
|
|
|
<windows>7</windows>
|
|
|
|
</number>
|
2004-07-16 20:17:36 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
|
|
|
<property>/sim/current-view/axes/long</property>
|
|
|
|
</binding>
|
|
|
|
</axis>
|
2005-10-26 17:40:41 +00:00
|
|
|
|
2004-07-16 20:17:36 +00:00
|
|
|
<button n="0">
|
2005-10-26 17:40:41 +00:00
|
|
|
<desc>Brakes</desc>
|
2004-07-16 20:17:36 +00:00
|
|
|
<binding>
|
2006-03-01 18:17:26 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(1)</script>
|
2004-07-16 20:17:36 +00:00
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
2006-03-01 18:17:26 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.applyBrakes(0)</script>
|
2004-07-16 20:17:36 +00:00
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</button>
|
2005-10-26 17:40:41 +00:00
|
|
|
|
2004-07-16 20:17:36 +00:00
|
|
|
<button n="1">
|
2005-10-26 17:40:41 +00:00
|
|
|
<desc>Elevator trim up</desc>
|
|
|
|
<repeatable>true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.elevatorTrim(0.75)</script>
|
|
|
|
</binding>
|
2004-07-16 20:17:36 +00:00
|
|
|
</button>
|
2005-10-26 17:40:41 +00:00
|
|
|
|
2004-07-16 20:17:36 +00:00
|
|
|
<button n="2">
|
2005-10-26 17:40:41 +00:00
|
|
|
<desc>Elevator trim down</desc>
|
|
|
|
<repeatable>true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.elevatorTrim(-0.75)</script>
|
|
|
|
</binding>
|
2004-07-16 20:17:36 +00:00
|
|
|
</button>
|
2005-10-26 17:40:41 +00:00
|
|
|
|
2004-07-16 20:17:36 +00:00
|
|
|
<button n="3">
|
2005-10-26 17:40:41 +00:00
|
|
|
<desc>Mixture richer</desc>
|
|
|
|
<repeatable>true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.adjMixture(1)</script>
|
|
|
|
</binding>
|
2004-07-16 20:17:36 +00:00
|
|
|
</button>
|
2005-10-26 17:40:41 +00:00
|
|
|
|
2004-07-16 20:17:36 +00:00
|
|
|
<button n="4">
|
2005-10-26 17:40:41 +00:00
|
|
|
<desc>Mixture leaner</desc>
|
|
|
|
<repeatable>true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.adjMixture(-1)</script>
|
|
|
|
</binding>
|
2004-07-16 20:17:36 +00:00
|
|
|
</button>
|
2005-10-26 17:40:41 +00:00
|
|
|
|
2004-07-16 20:17:36 +00:00
|
|
|
<button n="5">
|
2005-10-26 17:40:41 +00:00
|
|
|
<desc>Flaps down</desc>
|
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.flapsDown(1)</script>
|
|
|
|
</binding>
|
2004-07-16 20:17:36 +00:00
|
|
|
</button>
|
2005-10-26 17:40:41 +00:00
|
|
|
|
2004-07-16 20:17:36 +00:00
|
|
|
<button n="6">
|
2005-10-26 17:40:41 +00:00
|
|
|
<desc>Flaps up</desc>
|
|
|
|
<repeatable>false</repeatable>
|
2004-07-16 20:17:36 +00:00
|
|
|
<binding>
|
2005-10-26 17:40:41 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>controls.flapsDown(-1)</script>
|
2004-07-16 20:17:36 +00:00
|
|
|
</binding>
|
|
|
|
</button>
|
2004-01-05 20:48:00 +00:00
|
|
|
|
|
|
|
</PropertyList>
|