Forums » Bugs

Joystick Problem under Linux

Mar 05, 2004 sorg link
I have a MS Sidewinder Precision 2 USB.
I works perfectly well uner linux. I cans test it in jscalibrator for example.

In Vendetta , it is well detected as an 6 axis and 8 buttons peripheral as I can see in error.log

The buttons work really well.
The axis don't... I don't know why... Any Idea ?
Mar 05, 2004 sorg link
For your information:
My error.log
[Fri Mar 5 19:12:01 2004] Found driver: "Open Sound System driver". Type 1, Version 6.1. Load @0x08294e78
[Fri Mar 5 19:12:01 2004] Instantiate address: 0x401add40
[Fri Mar 5 19:12:01 2004] Found driver: "OpenGL Reference GKGL driver". Type 5, Version 23.0. Load @0x08295648
[Fri Mar 5 19:12:01 2004] Instantiate address: 0x402151c0
Found joystick 'Microsoft SideWinder Precision 2 Joystick'
numaxes = 6
numbuttons = 8
Found 1 joystick(s)
osssound: ospace info: fragstotal=8, fragsize=8192
osssound: dspbuf = 0x4917a000
OSS sound initialized: 44100Hz, 16bit stereo, 371ms buffer
[Fri Mar 5 19:12:06 2004] Playing 'ambient7.ogg'



My config.ini, (only the interesting part) :

[Microsoft SideWinder Precision 2 Joystick]
enabled=1
JOYX=Turn
xaxisinvert=0
xaxisdeadzone=0
xaxissaturation=0
JOYY=Pitch
yaxisinvert=0
yaxisdeadzone=0
yaxissaturation=0
JOYZ=Throttle
zaxisinvert=0
zaxisdeadzone=0
zaxissaturation=0
JOYRX=
Rxaxisinvert=0
Rxaxisdeadzone=0
Rxaxissaturation=0
JOYRY=
Ryaxisinvert=0
Ryaxisdeadzone=0
Ryaxissaturation=0
JOYRZ=
Rzaxisinvert=0
Rzaxisdeadzone=0
Rzaxissaturation=0
JOYBUTTON0=+Shoot2
JOYBUTTON1=+Shoot1
JOYBUTTON2=+Shoot3
JOYBUTTON3=+Turbo
JOYBUTTON4=
JOYBUTTON5=
JOYBUTTON6=
JOYBUTTON7=

Mar 05, 2004 raybondo link
Do the axes work in the joystick config menu?
If so, did you turn on joystick mode?
Mar 05, 2004 sorg link
No they don't. And yes the joystick mode is "on"