--- Melchior FRANZ <[EMAIL PROTECTED]> wrote: 
> [Aircraft pulling *extremely* to left] 
> Other applications don't count. What the OS reports
> for that
> joystick is what matters. First plug the js out and
> see if fgfs
> still pulls to left. If not, then it's proved to be
> a joystick
> problem. Run jstest
> 
>   $ jstest /dev/input/js0
> 
> and see what it reports for the axis 0. The closer
> to zero, the
> better. Which joystick is it?  
> 
> m.

OK, I'm a convert to the joystick theory. With no
joystick connected the plane banks to (I would guess)
between 15 and 20 degrees and stays there. With the
joystick connected the plane banks to about 80 degrees
and crashes! I'm still confused as to why this
joystick would work OK in other applications. In case
anyone can spot the problem, here's the output from
jstest:

Joystick (SAITEK CYBORG 3D USB) has 6 axes and 16
buttons. Driver version is 2.1.0.
Testing ... (interrupt to exit)
Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:on   6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:on   6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:on   6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:on   6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:on   6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:     0  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:  1724  1:     0  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:  1724  1:  1585  2:     0  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:  1724  1:  1585  2:  2849  3:     0  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:  1724  1:  1585  2:  2849  3: 32767  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:  1724  1:  1585  2:  2849  3: 32767  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
1Axes:  0:  1724  1:  1585  2:  2849  3: 32767  4:    
0  5:     0 Buttons:  0:off  1:off  2:off  3:off 
4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off
12:off 13:off 14:off 15:off

As you can see, the value for axis 0 changes despite
the fact that I wasn't touching the joystick at the
time. I'm guessing this means a faulty joystick, but
I'd be interested in any other theories.

Regards

Andrew


                
___________________________________________________________ 
Win a castle for NYE with your mates and Yahoo! Messenger 
http://uk.messenger.yahoo.com

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

Reply via email to