2002-09-07 11:10:04 +00:00
|
|
|
<!--
|
|
|
|
Joystick binding definitions for Saitek Cyborg 3D Gold USB joystick.
|
|
|
|
|
2003-07-31 14:54:46 +00:00
|
|
|
This file defines primary flight-control bindings as follow:
|
2002-09-07 11:10:04 +00:00
|
|
|
|
|
|
|
axis 0 (left-right): aileron
|
|
|
|
axis 1 (forward-backward): elevator
|
|
|
|
axis 2 (twist left-right): rudder
|
|
|
|
axis 3 (slider): throttle
|
|
|
|
axis 4 (hat left-right): look left or right
|
|
|
|
axis 5 (hat forward-back): look ahead or behind
|
|
|
|
button 0 (trigger): brakes
|
|
|
|
button 1: (left of hat) reduce RPM (constant speed prop)
|
|
|
|
button 2: (below hat) external view cycle
|
|
|
|
button 3: (right of hat) increase RPM (constant speed prop)
|
|
|
|
button 4: (F1) trim nose down
|
|
|
|
button 5: (F2) retract flaps
|
|
|
|
button 6: (F3) trim nose up
|
|
|
|
button 7: (F4) extend flaps
|
|
|
|
button 8: (>>) mixture rich
|
|
|
|
button 9: (<<) mixture lean
|
2003-07-31 14:54:46 +00:00
|
|
|
hat left look left (rotate view left)
|
|
|
|
hat right look right (rotate view right)
|
|
|
|
hat back look look (decrease view elevation)
|
|
|
|
hat forward look up (increase view elevation)
|
2002-09-07 11:10:04 +00:00
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<name>SAITEK CYBORG 3D USB</name>
|
2003-07-31 14:54:46 +00:00
|
|
|
<name>CYBORG 3D USB</name>
|
2002-09-07 11:10:04 +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>
|
2002-09-07 11:10:04 +00:00
|
|
|
<squared type="bool">true</squared>
|
|
|
|
</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-09-07 11:10:04 +00:00
|
|
|
<factor type="double">-1.0</factor>
|
|
|
|
<squared type="bool">true</squared>
|
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
|
|
|
<axis n="2">
|
|
|
|
<desc>Rudder</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/rudder</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<offset type="double">0.0</offset>
|
|
|
|
<factor type="double">1.0</factor>
|
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
|
|
|
<axis n="3">
|
|
|
|
<desc>Throttle</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/engines/engine[0]/throttle</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<offset type="double">-1.0</offset>
|
|
|
|
<factor type="double">-0.5</factor>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>property-scale</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/engines/engine[1]/throttle</property>
|
2003-06-29 08:33:59 +00:00
|
|
|
<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>
|
2002-09-07 11:10:04 +00:00
|
|
|
<offset type="double">-1.0</offset>
|
|
|
|
<factor type="double">-0.5</factor>
|
|
|
|
</binding>
|
|
|
|
</axis>
|
|
|
|
|
|
|
|
<axis n="4">
|
2003-07-31 14:54:46 +00:00
|
|
|
<desc>View Direction</desc>
|
|
|
|
<low>
|
|
|
|
<repeatable>true</repeatable>
|
2002-09-07 11:10:04 +00:00
|
|
|
<binding>
|
2003-07-31 14:54:46 +00:00
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/current-view/goal-heading-offset-deg</property>
|
|
|
|
<step type="double">2.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">-2.0</step>
|
2002-09-07 11:10:04 +00:00
|
|
|
</binding>
|
2003-07-31 14:54:46 +00:00
|
|
|
</high>
|
2002-09-07 11:10:04 +00:00
|
|
|
</axis>
|
|
|
|
|
|
|
|
<axis n="5">
|
2003-07-31 14:54:46 +00:00
|
|
|
<desc>View elevation</desc>
|
|
|
|
<low>
|
|
|
|
<repeatable>true</repeatable>
|
2002-09-07 11:10:04 +00:00
|
|
|
<binding>
|
2003-07-31 14:54:46 +00:00
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
|
|
|
<step type="double">-2.0</step>
|
2002-09-07 11:10:04 +00:00
|
|
|
</binding>
|
2003-07-31 14:54:46 +00:00
|
|
|
</low>
|
|
|
|
<high>
|
|
|
|
<repeatable>true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
|
|
|
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
|
|
|
<step type="double">2.0</step>
|
|
|
|
</binding>
|
|
|
|
</high>
|
2002-09-07 11:10:04 +00:00
|
|
|
</axis>
|
|
|
|
|
2003-07-31 14:54:46 +00:00
|
|
|
|
2002-09-07 11:10:04 +00:00
|
|
|
<button n="0">
|
|
|
|
<desc>Brakes</desc>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2004-01-12 17:49:33 +00:00
|
|
|
<property>/controls/gear/brake-left</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<value type="double">1.0</value>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2004-01-12 17:49:33 +00:00
|
|
|
<property>/controls/gear/brake-right</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<value type="double">1.0</value>
|
|
|
|
</binding>
|
|
|
|
<mod-up>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2004-01-12 17:49:33 +00:00
|
|
|
<property>/controls/gear/brake-left</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<value type="double">0.0</value>
|
|
|
|
</binding>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
2004-01-12 17:49:33 +00:00
|
|
|
<property>/controls/gear/brake-right</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<value type="double">0.0</value>
|
|
|
|
</binding>
|
|
|
|
</mod-up>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="1">
|
|
|
|
<desc>Reduce RPM</desc>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/engines/engine[0]/propeller-pitch</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<step type="double">-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-09-07 11:10:04 +00:00
|
|
|
<step type="double">-0.01</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="2">
|
|
|
|
<desc>External Views</desc>
|
|
|
|
<repeatable type="bool">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>view-cycle</command>
|
|
|
|
<step type="double">1</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
|
|
<button n="3">
|
|
|
|
<desc>Increase RPM</desc>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/engines/engine[0]/propeller-pitch</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<step type="double">+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-09-07 11:10:04 +00:00
|
|
|
<step type="double">+0.01</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="4">
|
|
|
|
<desc>Elevator trim down</desc>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/elevator-trim</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<step type="double">0.001</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="5">
|
|
|
|
<desc>Step Flaps Up</desc>
|
|
|
|
<repeatable type="bool">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/flaps</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<step type="double">-0.34</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="6">
|
|
|
|
<desc>Elevator trim up</desc>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/elevator-trim</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<step type="double">-0.001</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="7">
|
|
|
|
<desc>Step Flaps Down</desc>
|
|
|
|
<repeatable type="bool">false</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/flight/flaps</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<step type="double">+0.34</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="8">
|
|
|
|
<desc>Richer Mixture</desc>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/engines/engine[0]/mixture</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<step type="double">+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-09-07 11:10:04 +00:00
|
|
|
<step type="double">+0.01</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<button n="9">
|
|
|
|
<desc>Leaner Mixture</desc>
|
|
|
|
<repeatable type="bool">true</repeatable>
|
|
|
|
<binding>
|
|
|
|
<command>property-adjust</command>
|
2003-04-01 12:41:12 +00:00
|
|
|
<property>/controls/engines/engine[0]/mixture</property>
|
2002-09-07 11:10:04 +00:00
|
|
|
<step type="double">-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-09-07 11:10:04 +00:00
|
|
|
<step type="double">-0.01</step>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</PropertyList>
|
|
|
|
|
|
|
|
|