2002-07-04 15:52:15 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
************************************************************************
|
|
|
|
* Setup for Logitech WingMan Rumblepad gamepad.
|
|
|
|
*
|
|
|
|
* This is a USB gamepad with some feedback capability (not supported
|
|
|
|
* by plib or by most OS's). Bindings are as follow:
|
|
|
|
*
|
|
|
|
* Axis 0 (left joystick): ailerons
|
|
|
|
* Axis 1 (left joystick): elevator
|
|
|
|
* Axis 2 (slider): throttle
|
|
|
|
* Axis 3 (right joystick): rudder
|
2005-06-14 16:13:25 +00:00
|
|
|
* Axis 4 (right joystick): (not used)
|
2002-07-04 15:52:15 +00:00
|
|
|
* Axes 5 and 6 (hat): set view direction
|
|
|
|
*
|
|
|
|
* Button 0 (A): elevator trim up
|
|
|
|
* Button 1 (B): decrease propeller pitch
|
|
|
|
* Button 2 (C): mixture leaner
|
|
|
|
* Button 3 (X): elevator trim down
|
|
|
|
* Button 4 (Y): increase propeller pitch
|
|
|
|
* Button 5 (Z): mixture richer
|
|
|
|
* Button 6 (left trigger): left wheel brake
|
|
|
|
* Button 7 (right trigger): right wheel brake
|
|
|
|
* Button 8 (S): cycle view
|
2004-04-30 15:31:10 +00:00
|
|
|
*
|
|
|
|
* Note that the "mode" button swaps the hat/pad and the left stick.
|
|
|
|
* When it is engaged, axis 0<->5 and 1<->6 are swapped.
|
|
|
|
*
|
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 RumblePad</name>
|
2005-06-14 16:13:25 +00:00
|
|
|
<name>Logitech WingMan RumblePad USB</name>
|
2004-04-30 15:31:10 +00:00
|
|
|
<name>WingMan RumblePad</name>
|
2002-07-04 15:52:15 +00:00
|
|
|
|
|
|
|
<axis n="0">
|
|
|
|
<desc>Aileron</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/aileron</property>
|
2004-12-17 16:29:49 +00:00
|
|
|
<power type="double">3</power>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
|
|
|
<axis n="1">
|
|
|
|
<desc>Elevator</desc>
|
|
|
|
<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>
|
2004-12-17 16:29:49 +00:00
|
|
|
<power type="double">3</power>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
|
|
|
<axis n="2">
|
|
|
|
<desc>Throttle</desc>
|
|
|
|
<binding>
|
2005-06-14 16:13:25 +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>
|
|
|
|
|
|
|
|
<axis n="3">
|
2006-10-21 11:27:58 +00:00
|
|
|
<desc>Rudder</desc>
|
2002-07-04 15:52:15 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/rudder</property>
|
2004-12-17 16:29:49 +00:00
|
|
|
<power type="double">3</power>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
|
|
|
<axis n="4">
|
2006-10-21 11:27:58 +00:00
|
|
|
<desc>unused</desc>
|
|
|
|
<binding>
|
|
|
|
<command>null</command>
|
|
|
|
</binding>
|
2002-07-04 15:52:15 +00:00
|
|
|
</axis>
|
|
|
|
|
2016-01-25 23:01:18 +00:00
|
|
|
<!-- view direction -->
|
2002-07-04 15:52:15 +00:00
|
|
|
<axis n="5">
|
2016-01-25 23:01:18 +00:00
|
|
|
<desc>View Direction</desc>
|
|
|
|
<low>
|
|
|
|
<repeatable>true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
|
|
|
<step type="double">5.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">-5.0</step>
|
|
|
|
</binding>
|
|
|
|
</high>
|
2002-07-04 15:52:15 +00:00
|
|
|
</axis>
|
|
|
|
|
|
|
|
<axis n="6">
|
2016-01-25 23:01:18 +00:00
|
|
|
<desc>View Elevation</desc>
|
|
|
|
<low>
|
|
|
|
<repeatable>true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
|
|
|
<step type="double">5.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">-5.0</step>
|
|
|
|
</binding>
|
|
|
|
</high>
|
2002-07-04 15:52:15 +00:00
|
|
|
</axis>
|
|
|
|
|
|
|
|
<button n="0">
|
2006-10-21 11:27:58 +00:00
|
|
|
<desc>Elevator trim up</desc>
|
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/flight/elevator-trim</property>
|
2003-05-13 10:27:19 +00:00
|
|
|
<step type="double">-0.001</step>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="1">
|
2006-10-21 11:27:58 +00:00
|
|
|
<desc>Decrease propeller pitch</desc>
|
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]/propeller-pitch</property>
|
2002-07-04 15:52:15 +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]/propeller-pitch</property>
|
2002-07-04 15:52:15 +00:00
|
|
|
<step>-0.01</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="2">
|
2006-10-21 11:27:58 +00:00
|
|
|
<desc>Mixture leaner</desc>
|
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>
|
2002-07-04 15:52:15 +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>
|
|
|
|
|
|
|
|
<button n="3">
|
2006-10-21 11:27:58 +00:00
|
|
|
<desc>Elevator trim down</desc>
|
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/flight/elevator-trim</property>
|
2002-07-04 15:52:15 +00:00
|
|
|
<step>0.001</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="4">
|
2006-10-21 11:27:58 +00:00
|
|
|
<desc>Increase propeller pitch</desc>
|
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]/propeller-pitch</property>
|
2002-07-04 15:52:15 +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]/propeller-pitch</property>
|
2002-07-04 15:52:15 +00:00
|
|
|
<step>0.01</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="5">
|
2006-10-21 11:27:58 +00:00
|
|
|
<desc>Mixture richer</desc>
|
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>
|
2002-07-04 15:52:15 +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>
|
|
|
|
|
|
|
|
<button n="6">
|
2006-03-01 18:17:26 +00:00
|
|
|
<desc>Left brakes</desc>
|
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>
|
|
|
|
|
|
|
|
<button n="7">
|
2006-03-01 18:17:26 +00:00
|
|
|
<desc>Right brakes</desc>
|
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>
|
|
|
|
|
|
|
|
<button n="8">
|
2006-10-21 11:27:58 +00:00
|
|
|
<desc>Cycle View</desc>
|
2002-07-04 15:52:15 +00:00
|
|
|
<repeatable>false</repeatable>
|
|
|
|
<binding>
|
2007-06-11 19:23:15 +00:00
|
|
|
<command>nasal</command>
|
|
|
|
<script>view.stepView(1)</script>
|
2002-07-04 15:52:15 +00:00
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</PropertyList>
|
|
|
|
|
|
|
|
<!-- end of "rumblepad.fgd" -->
|