Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

[Solved] Joystick not working properly

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: winston, another_commander, Getafix

Post Reply
mkIII
Poor
Poor
Posts: 5
Joined: Sun May 24, 2009 6:49 pm

[Solved] Joystick not working properly

Post by mkIII »

hi,
I'm new to Linux, so please give me some assistance.
I set up knoppix on a bootable USB Stick and got the 1.72.2 OOlite to run on it.

Without having done anything, knoppix and OOlite do recognize my Saitek Cyborg 3D Gold. OOlite will respond to my joystickmovements, unfortunately the right lower corner is the center position then. So I tried calibrating the joystick and installed the libjsw2 and
https://launchpad.net/ubuntu/intrepid/i386/jscalibrator

Each time I run jscalibrator (even without doing anything) oolite won't take any commands from the sticks axes any more, but it does still reconize the buttons.

Oolite will cease to react on joystick input as soon as I run the jscalibrator software until I reboot. Jscalibrator and "cat /dev/input/js0" will still "see" the stick and respond to my movements.

Any suggestions what I could do about this strange behaviour?
Thanks a lot :)
Last edited by mkIII on Mon May 25, 2009 4:31 pm, edited 1 time in total.
User avatar
_ds_
Deadly
Deadly
Posts: 180
Joined: Thu Jan 22, 2009 5:34 pm
Location: In a cloaked ship behind you

Re: Joystick not working properly

Post by _ds_ »

mkIII wrote:
I'm new to Linux, so please give me some assistance.
I set up knoppix on a bootable USB Stick and got the 1.72.2 OOlite to run on it.

Without having done anything, knoppix and OOlite do recognize my Saitek Cyborg 3D Gold. OOlite will respond to my joystickmovements, unfortunately the right lower corner is the center position then. So I tried calibrating the joystick and installed the libjsw2 and
https://launchpad.net/ubuntu/intrepid/i386/jscalibrator
Use jscal instead. In Debian, jscalibrator has a serious bug filed against it (it uses GTK1.2, which will be removed from testing/unstable before squeeze is released). If it's removed, it should also disappear from Knoppix and other Debian derivatives in due course.

If anybody wants to port jscalibrator to GTK2 and/or fix its bugs, feel free…
http://tartarus.org/~ds/oolite/patches, Buzzer OXP etc.
mkIII
Poor
Poor
Posts: 5
Joined: Sun May 24, 2009 6:49 pm

Post by mkIII »

ok thanks I 'll try tonight.
mkIII
Poor
Poor
Posts: 5
Joined: Sun May 24, 2009 6:49 pm

Post by mkIII »

Yay!!!

It works

thanks a lot :)
Post Reply