[freespace2] joystick/mouse turning speed patch

Toby Haynes thaynes at sympatico.ca
Mon Apr 25 21:14:18 EDT 2005


Geller Sandor wrote:

>On Sun, 24 Apr 2005, Jonas Laurio wrote:
>
>  
>
>>@ Geller
>>What O.S. are you using - Linux? You have 4 axis, so is it an analog
>>joystick? If both are yes, have you tried calibrating the joystick (i.e.
>>with jscal)?
>>    
>>
>
>This is a Logitech Wingman Extreme Digital 3D, however the digital
>doesn't mean that the output is 0 or 1, the joystick works as an analogue
>joystick - I think the Digital word came from marketing needs :)) I'll try
>jscal, thanks for pointing this out!
>
>  
>
I seriously endorse calibrating this joystick. I have this model and it 
covers about 60% of the full range before calibration.

For calibration I use the jscal utility available. Here's the info from 
the linuxgaming FAQ for building this.

export CVSROOT=:pserver:anonymous at cvs1.sourceforge.net:/cvsroot/linuxconsole
cvs login
cvs -z3 co ruby
cd ruby/utils
make

Binaries available at http://www.icculus.org/lgfaq/files/jsutils.tar.gz 
<http://www.root.cz/lgfaq/files/jsutils.tar.gz>

Here's my calibration - yours may differ a little

jscal -s 
6,1,1,533,537,1439288,1412775,1,0,513,521,1520834,1578984,1,2,134,136,6710682,7780500,1,1,119,119,6882750,7780500,1,0,0,0,-2147483648,536854528,1,0,0,0,536854528,536854528 
/dev/input/js0

Cheers,
Toby Haynes



More information about the freespace2 mailing list