1
0
Fork 0

Alex Perry:

Since several people on the list have been asking questions about this Saitek joystick and the comments at the top of this xml file in cvs were wrong and confusing, I am posting this update with the following changes:
1.  Removed the confusing/wrong comments.
2.  Added throttle bindings for engines 2 thru 7 (required for the b52).
3.  Changed the hat axis to rotate the view continuously (required to see the mag switch in the p51d and just a lot nicer with any 3d cockpit).

This last change makes the hat point the line of sight more like moving your head.  This is the way the CH pro-yoke-USB is set up.

If you are not used to this set up and you use aircraft with 2d pannels, you will likely need to use shift-nuberpad-8 to get the original forward view once you look arround.
This commit is contained in:
ehofman 2003-07-31 14:54:46 +00:00
parent 7fdfcb19dc
commit 61327741bf

View file

@ -1,12 +1,7 @@
<!--
Joystick binding definitions for Saitek Cyborg 3D Gold USB joystick.
This file is included by preferences.xml, and uses the context of its
inclusion point; that means that you need to prepend "/input/joysticks"
to all property names.
This file defines primary flight-control bindings for a simple
three-axis, three-button joystick, as follow:
This file defines primary flight-control bindings as follow:
axis 0 (left-right): aileron
axis 1 (forward-backward): elevator
@ -24,18 +19,17 @@ three-axis, three-button joystick, as follow:
button 7: (F4) extend flaps
button 8: (>>) mixture rich
button 9: (<<) mixture lean
hat left look left
hat right look right
hat back look behind
hat forward look forward
hat diagonal look diagonal
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)
$Id$
-->
<PropertyList>
<name>SAITEK CYBORG 3D USB</name>
<name>CYBORG 3D USB</name>
<axis n="0">
<desc>Aileron</desc>
@ -119,23 +113,46 @@ $Id$
</axis>
<axis n="4">
<desc>lateral view</desc>
<desc>View Direction</desc>
<low>
<repeatable>true</repeatable>
<binding>
<command>property-scale</command>
<property>/sim/current-view/axes/lat</property>
<factor type="double">-1.0</factor>
<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>
</binding>
</high>
</axis>
<axis n="5">
<desc>longitudinal view</desc>
<desc>View elevation</desc>
<low>
<repeatable>true</repeatable>
<binding>
<command>property-scale</command>
<property>/sim/current-view/axes/long</property>
<factor type="double">-1.0</factor>
<command>property-adjust</command>
<property>/sim/current-view/goal-pitch-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-pitch-offset-deg</property>
<step type="double">2.0</step>
</binding>
</high>
</axis>
<button n="0">
<desc>Brakes</desc>
<binding>