Joystick support for Linux in 1.4.0 ?

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
medusa
Posts: 32
Joined: 19.10.2005
With us: 19 years 1 month
Location: Wuppertal / Germany

Joystick support for Linux in 1.4.0 ?

Post #1by medusa » 16.11.2005, 09:38

Just searched the forum and found some old posts about joystick support for Linux. The reply in all cases was an unisono "Not Yet".
However, I have a standard /dev/js0 jovstick which works well with some test tools like jstest under Linux. Nevertheless Celestia 1.3.2 doesn't acknowledge it in any way (yes I know about the <F8> key).

So the question is, will there be a long desired Linux joystick support in Celestia 1.4.0 final....

~Diane.
Current Config:
P4 3.0Ghz - i865PE chipset - 2GB DDR RAM - Geforce 6800 @ 12/6 - 128MB DDR VRAM - 2x 17" CRT
Debian GNU / Linux 3.1 Sarge - Kernel 2.6.8 SMP - NV-driver 8762 - XFree86 4.3.0 (glxgears: 10680)
Celestia 1.4.1 (GTK) compiled from tar.gz

lardhan
Posts: 4
Joined: 26.01.2006
With us: 18 years 9 months
Location: Spain

Post #2by lardhan » 26.01.2006, 09:53

Medusa, maybe you know this already but here goes a tip for other users interested in this subject:

There are some utilities for catching the actions of a working joystick and transform them in other events. I have tested QStick (kbstick) with an old analog joystick to bind its movements and buttons to Celestia keyboard strokes, and it worked well enough for me. After the 'make' of a single .c file you may use 'xev' to identify adittional key-codes, edit the bash script (suggestion: comment the '&' of the last line while testing) and you are done.

Some other similar or related utilities: Button Masher (python, just for tests), joy2key, joyd, joymouse, js2mouse, jsme, net2js

Regards,
lardhan.

Topic author
medusa
Posts: 32
Joined: 19.10.2005
With us: 19 years 1 month
Location: Wuppertal / Germany

Post #3by medusa » 25.09.2006, 15:30

Thanks for the tip about -
I now use qjoypad 3 and it works quite well!

~Medusa
Current Config:

P4 3.0Ghz - i865PE chipset - 2GB DDR RAM - Geforce 6800 @ 12/6 - 128MB DDR VRAM - 2x 17" CRT

Debian GNU / Linux 3.1 Sarge - Kernel 2.6.8 SMP - NV-driver 8762 - XFree86 4.3.0 (glxgears: 10680)

Celestia 1.4.1 (GTK) compiled from tar.gz


Return to “Development”