Oliver C.:
i modified the joystick settings for the Sidewinder Precision Pro joystick. Now all buttons and axis react the same way in unix and windows except for the view elevation binding which is on axis 5 in unix and 7 in windows. Here the windows axis is inverse, the unix version is not. This means if you move the hat down in unix you will look down if you move the hat down in windows you will look up. To fix this we would need some sort of property to inverse the axis independly for windows and unix. If you know a way to do this feel free to fix this. I also added some more button bindings. With button 1 you can now switch between the views, The brakes where moved from button 1 to button 0 because this button was unused and users who want to switch from MS Flight Simulator to FlightGear will like that too because the buttons are now used the same way on both sims. With the unused button 8 (shift button), you can now retract the gears. I also fixed the arrangement for the 4 buttons called A, B, C and D left to the stick. With button B you can now turn the flaps up and with button A down. With button C you can use the left brake and with button D the right brake. Before those changes the windows and unix bindings were different and somehow unordered (crossed). I tested this new Joystick settings in Windows Millenium and Linux Slackware 10 with Flightgear 0.9.6 for windows and the newest cvs version from today for Linux.
This commit is contained in:
parent
0970aead32
commit
e332ad1568
1 changed files with 5 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
<!-- Auhor: Oliver C. -->
|
||||||
<!--
|
<!--
|
||||||
************************************************************************
|
************************************************************************
|
||||||
* Bindings for Microsoft SideWinder Force Feed joystick.
|
* Bindings for Microsoft SideWinder Force Feed joystick.
|
||||||
|
@ -176,9 +176,8 @@ $Id$
|
||||||
</number>
|
</number>
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>nasal</command>
|
||||||
<property>/controls/flight/flaps</property>
|
<script>controls.stepFlaps(1)</script>
|
||||||
<step type="double">-0.34</step>
|
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
@ -190,9 +189,8 @@ $Id$
|
||||||
</number>
|
</number>
|
||||||
<repeatable>false</repeatable>
|
<repeatable>false</repeatable>
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-adjust</command>
|
<command>nasal</command>
|
||||||
<property>/controls/flight/flaps</property>
|
<script>controls.stepFlaps(-1)</script>
|
||||||
<step type="double">0.34</step>
|
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue