Re: [Flightgear-devel] New Sidewinder Precision Pro Joystick settings

2004-11-09 Thread Erik Hofman
Oliver C. wrote:
This file has been committed.
Thank you, but i think (after looking into cvs today) that you checked in 
another file, it is different to my one and doesn't have the fixes.
I committed the one you sent to the list, except that I added the nasal 
bindings for flaps already.

Erik
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] New Sidewinder Precision Pro Joystick settings

2004-11-09 Thread Oliver C.
On Tuesday 09 November 2004 09:58, Erik Hofman wrote:
 Oliver C. wrote:
 This file has been committed.
 
  Thank you, but i think (after looking into cvs today) that you checked in
  another file, it is different to my one and doesn't have the fixes.

 I committed the one you sent to the list, except that I added the nasal
 bindings for flaps already.


No, even if i consider your new nasal bindings this is not my file.
I had completly other button bindings.
Brake is still on button 1.
Changing view is not available, gear is missing too,
And the flaps and left and right brake buttons are still crossed like they 
were before and different on windows and linux.
I also added some informations about the joystick assignment in my file this 
part is missing too in cvs.
You must have changed and committed another file because this is in no way my 
one.

Best Regards,
 Oliver C.

 
 


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] New Sidewinder Precision Pro Joystick settings

2004-11-08 Thread Erik Hofman
Oliver C. wrote:
Hello, 

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.

You might want to take a look at the Saitek/X45.xml configuration file, 
especially the ones that use nasal in their binding.
This file has been committed.

Erik
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] New Sidewinder Precision Pro Joystick settings

2004-11-08 Thread Oliver C.
On Monday 08 November 2004 18:33, Erik Hofman wrote:

  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.

 You might want to take a look at the Saitek/X45.xml configuration file,
 especially the ones that use nasal in their binding.

Ok thanks for the hint, I will look into that and try to fix it.

 This file has been committed.

Thank you, but i think (after looking into cvs today) that you checked in 
another file, it is different to my one and doesn't have the fixes.


Best Regards,
 Oliver C.


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] New Sidewinder Precision Pro Joystick settings

2004-11-07 Thread Oliver C.
Hello, 

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.
The xml file with the new joystick settings is attached to this e-mail.

Best Regards,
 Oliver C.




 

 




?xml version=1.0?

!--

* 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
*
* In game Name:   Action: Button name on Joystick:Value:
* Button 0 (trigger): all brakes  0001
* Button 1:   view-cylce  0002
* Button 2:   elevator trim up0004
* Button 3:   elevator trim down  0008
* Button 4:   flaps upButton B0020
* Button 5:   flap down   Button A0010
* Button 6:   left brake only Button C0040
* Button 7:   right brake onlyButton D0080
* Button 8(Unix)/9(Win):  gear up Shift Button0100(unix), 0200(Win)

$Id: sidewinder-precision-pro.xml,v 1.20 2004/11/08 00:29:00 Oliver Exp $
--

PropertyList

 nameMicrosoft SideWinder Precision Pro/name
 nameMicrosoft SideWinder Precision 2 Joystick/name
 nameMicrosoft Microsoft SideWinder Precision Pro (USB)/name

 axis n=0
  descAileron/desc
  binding
   commandproperty-scale/command
   property/controls/flight/aileron/property
   squared type=booltrue/squared
  /binding
 /axis

 axis n=1
  descElevator/desc
  binding
   commandproperty-scale/command
   property/controls/flight/elevator/property
   factor type=double-1.0/factor
   squared type=booltrue/squared
  /binding
 /axis

 axis
  descRudder/desc
  number
   unix2/unix
   windows3/windows
  /number
  binding
   commandproperty-scale/command
   property/controls/flight/rudder/property
   factor type=double1.0/factor
  /binding
 /axis

 axis
  descThrottle/desc
  number
   unix3/unix
   windows2/windows
  /number
  binding
   commandnasal/command
   scriptcontrols.throttleAxis()/script
  /binding
 /axis

  axis
   descView Direction/desc
   number
unix4/unix
windows6/windows
   /number
   low
repeatabletrue/repeatable
binding
 commandproperty-adjust/command
 property/sim/current-view/goal-heading-offset-deg/property
 step type=double1.0/step
/binding
   /low
   high
repeatabletrue/repeatable
binding
 commandproperty-adjust/command
 property/sim/current-view/goal-heading-offset-deg/property
 step type=double-1.0/step
/binding
   /high
  /axis

  axis
   descView Elevation/desc
   number
unix5/unix
windows7/windows  !-- axis is inverse in WinMe, please fix this --
   /number
   low
repeatabletrue/repeatable
binding
 commandproperty-adjust/command
 property/sim/current-view/goal-pitch-offset-deg/property
 step type=double1.0/step
/binding
   /low
   high
repeatabletrue/repeatable
binding
 commandproperty-adjust/command