Oliver C., Erik Hofman:
Fix the inverted view elevation setting for the sidewinder precision pro joystick under windows.
This commit is contained in:
parent
144eef5ce7
commit
ee92540597
1 changed files with 115 additions and 62 deletions
|
@ -1,25 +1,27 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- Auhor: Oliver C. -->
|
||||
|
||||
<!--
|
||||
************************************************************************
|
||||
* Bindings for Microsoft SideWinder Force Feed joystick.
|
||||
* Bindings for Microsoft SideWinder Precision Pro joystick.
|
||||
*
|
||||
*
|
||||
* Axis 0: ailerons
|
||||
* Axis 1: elevator
|
||||
* Axis 2(Unix)/3(Win) (twist): rudder
|
||||
* Axis 3(Unix)/2(Win): throttle
|
||||
* Axis 4(Unix)/6(Win) (hat): view direction
|
||||
* Axes 5(Unix)/7(Win) (hat): view elevation
|
||||
*
|
||||
* Axis 0: ailerons
|
||||
* Axis 1: elevator
|
||||
* Axis 2 (twist): rudder
|
||||
* Axis 3: throttle
|
||||
* Axis 4 (hat): view direction
|
||||
* Axes 5 (hat): view elevation
|
||||
*
|
||||
* Button 0 (trigger): not assigned
|
||||
* Button 1: all brakes
|
||||
* Button 2: elevator trim up
|
||||
* Button 3: elevator trim down
|
||||
* Button 4: right brake only
|
||||
* Button 5: flap up
|
||||
* Button 6: flap down
|
||||
* Button 7: left brake only
|
||||
* In game Name: Action: Button name on Joystick: Value:
|
||||
* Button 0 (trigger): all brakes 0001
|
||||
* Button 1: view-cylce 0002
|
||||
* Button 2: elevator trim up 0004
|
||||
* Button 3: elevator trim down 0008
|
||||
* Button 4: flaps up Button B 0020
|
||||
* Button 5: flap down Button A 0010
|
||||
* Button 6: left brake only Button C 0040
|
||||
* Button 7: right brake only Button D 0080
|
||||
* Button 8(Unix)/9(Win): gear up Shift Button 0100(unix), 0200(Win)
|
||||
************************************************************************
|
||||
$Id$
|
||||
-->
|
||||
|
@ -99,10 +101,9 @@ $Id$
|
|||
</axis>
|
||||
|
||||
<axis>
|
||||
<desc>View Elevation</desc>
|
||||
<desc>View Elevation (Default)</desc>
|
||||
<number>
|
||||
<unix>5</unix>
|
||||
<windows>7</windows>
|
||||
</number>
|
||||
<low>
|
||||
<repeatable>true</repeatable>
|
||||
|
@ -121,8 +122,30 @@ $Id$
|
|||
</binding>
|
||||
</high>
|
||||
</axis>
|
||||
<axis>
|
||||
<desc>View Elevation (Windows)</desc>
|
||||
<number>
|
||||
<windows>7</windows>
|
||||
</number>
|
||||
<low>
|
||||
<repeatable>true</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/sim/current-view/goal-pitch-offset-deg</property>
|
||||
<step type="double">-1.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">1.0</step>
|
||||
</binding>
|
||||
</high>
|
||||
</axis>
|
||||
|
||||
<button n="1">
|
||||
<button n="0">
|
||||
<desc>Brakes</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
|
@ -148,6 +171,15 @@ $Id$
|
|||
</mod-up>
|
||||
</button>
|
||||
|
||||
|
||||
<button n="1">
|
||||
<desc>view-cycle</desc>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>view-cycle</command>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<button n="2">
|
||||
<desc>Elevator trim up</desc>
|
||||
<repeatable type="bool">true</repeatable>
|
||||
|
@ -168,33 +200,43 @@ $Id$
|
|||
</binding>
|
||||
</button>
|
||||
|
||||
<button>
|
||||
<desc>Flaps down</desc>
|
||||
<number>
|
||||
<unix>5</unix>
|
||||
<windows>6</windows>
|
||||
</number>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>controls.stepFlaps(1)</script>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<button>
|
||||
<desc>Flaps up</desc>
|
||||
<number>
|
||||
<unix>7</unix>
|
||||
<windows>5</windows>
|
||||
</number>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>controls.stepFlaps(-1)</script>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<button n="4">
|
||||
<desc>Flaps up</desc>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/controls/flight/flaps</property>
|
||||
<step type="double">0.34</step>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<button n="5">
|
||||
<desc>Flaps down</desc>
|
||||
<repeatable>false</repeatable>
|
||||
<binding>
|
||||
<command>property-adjust</command>
|
||||
<property>/controls/flight/flaps</property>
|
||||
<step type="double">-0.34</step>
|
||||
</binding>
|
||||
</button>
|
||||
|
||||
<button n="6">
|
||||
<desc>Left brake</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/gear/brake-left</property>
|
||||
<value type="double">1.0</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/gear/brake-left</property>
|
||||
<value type="double">0.0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</button>
|
||||
|
||||
<button n="7">
|
||||
<desc>Right brake</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
|
@ -211,23 +253,34 @@ $Id$
|
|||
</button>
|
||||
|
||||
<button>
|
||||
<desc>Left brake</desc>
|
||||
<desc>Gear Up.</desc>
|
||||
<number>
|
||||
<unix>6</unix>
|
||||
<windows>7</windows>
|
||||
</number>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/gear/brake-left</property>
|
||||
<value type="double">1.0</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/gear/brake-left</property>
|
||||
<value type="double">0.0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
<unix>8</unix>
|
||||
<windows>9</windows>
|
||||
</number>
|
||||
<repeatable>false</repeatable>
|
||||
<!--
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/gear/gear-down</property>
|
||||
<value type="double">0.0</value>
|
||||
</binding>
|
||||
-->
|
||||
<unix>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/controls/gear/gear-down</property>
|
||||
<value type="double">0.0</value>
|
||||
</binding>
|
||||
</unix>
|
||||
<windows>
|
||||
<binding>
|
||||
<command>view-cycle</command>
|
||||
</binding>
|
||||
</windows>
|
||||
|
||||
</button>
|
||||
|
||||
</PropertyList>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue