1
0
Fork 0

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:
ehofman 2004-11-08 17:35:17 +00:00
parent 0970aead32
commit e332ad1568

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!-- Auhor: Oliver C. -->
<!--
************************************************************************
* Bindings for Microsoft SideWinder Force Feed joystick.
@ -176,9 +176,8 @@ $Id$
</number>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/flaps</property>
<step type="double">-0.34</step>
<command>nasal</command>
<script>controls.stepFlaps(1)</script>
</binding>
</button>
@ -190,9 +189,8 @@ $Id$
</number>
<repeatable>false</repeatable>
<binding>
<command>property-adjust</command>
<property>/controls/flight/flaps</property>
<step type="double">0.34</step>
<command>nasal</command>
<script>controls.stepFlaps(-1)</script>
</binding>
</button>