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