Forums » Linux
Joystick problems
What is the .joystick file?
Hmm, interesting. We'll have to take a look at it. Linux is definitely lacking in the joystick department.
I'm doing some tests with a couple of old joypad, but there's a problem: the dead zone. Vendetta Test seems to ignore it.
With libjsw/jscalibrator I had even worse results: the library redefines the max/min value of the axes, but Vendetta seems to ignore .joystick file and always expects a -32767 - +32767 range.
The "Calibrate" button doesn't anything. Modifying config.ini is useless too...
Suggestions?
With libjsw/jscalibrator I had even worse results: the library redefines the max/min value of the axes, but Vendetta seems to ignore .joystick file and always expects a -32767 - +32767 range.
The "Calibrate" button doesn't anything. Modifying config.ini is useless too...
Suggestions?
With dead zone you mean something like... you move the joystick to the left, the screen goes left... but at the far left the screen moves right again?
No, I mean a zone in the center where movements wouldn't be sent. This is to prevent very sensitive joysticks to send spurious and very disturbing events when they stand still.
Ah, that sounds interesting as well.. this crappy joystick has the tendency to move to the left.. very annoying.
I don't believe it can be done in Linux Vendetta right now. Be glad- I remember when we -didn't- have joystick support at all.
.joystick is produced by jscalibrator and should be read by applications using libjsw: http://wolfpack.twu.net/libjsw/
Dead zone is really fundamental for analog joysticks: without it, joystick support is almost useless, IMO.
It's really trivial to implement too, both using libjsw (works in Windows too) or using /dev/js0. I don't even need a GUI for it, just editing config.ini is enough.
Dead zone is really fundamental for analog joysticks: without it, joystick support is almost useless, IMO.
It's really trivial to implement too, both using libjsw (works in Windows too) or using /dev/js0. I don't even need a GUI for it, just editing config.ini is enough.
And don't forget that axis ranges may be different from -32767-+32767! You can use the appropriate ioctl to get them: http://www.frogmouth.net/hid-doco/c193.html