Very entertaining bug (or feature!)
I just installed Oolite 1.82 in Debian Testing, and it's pretty dang totally amazing (I had a hiatus since somewhere around 1.76, I think)
But... My ship seemed to have a mind of its own... It went everywhere, couldn't fly in a straight line.
Turns out my laptop (Oldish core2duo MacBook) 'sees' the accelerometers (applesmc) as joystick input by default!
I can fly it by tilting the laptop, very cool, amazingly geeky... for about two minutes, then the gorilla arm syndrome kicks in. 't aint no no fancy airbook
So... How do I fix this?
...
(EDIT: Hmmm this should go in testing and bugreports?)
[Solved] applesmc default as active joystick
Moderators: winston, another_commander, Getafix
[Solved] applesmc default as active joystick
Last edited by Getafix on Mon Sep 14, 2015 7:46 am, edited 1 time in total.
Reason: Marked as "Solved"
Reason: Marked as "Solved"
Re: applesmc default as active joystick
There's probably a way to stop them registering as joysticks at all, but I've no idea what. You should be able to use the Oolite in-game joystick config to unbind them from the axes - or failing that at least set a deadzone large enough that you don't turn unless you really tilt the laptop hard.
Re: applesmc default as active joystick
Rxke,
search for a file with *joystick.conf as name (50-joystick.conf is the most common name, and it's likely in /etc/X11/xorg.conf.d or /usr/share/X11/xorg.conf.d ).
If it's not present on your system, try installing a package called xf86-input-joystick (no idea how debian calls it) .
------------------------
X nowadays mostly uses evdev for input support, and the package xf86-input-joystick is evdev-aware.
By tweaking 50-joystick.conf you can change many settings .
example : by default X sends joystick events not only to the (virtual) joystick input device, but also to mouse and keyboard input devices.
I disabled that behaviour by tweaking 50-joystick.conf .
search for a file with *joystick.conf as name (50-joystick.conf is the most common name, and it's likely in /etc/X11/xorg.conf.d or /usr/share/X11/xorg.conf.d ).
If it's not present on your system, try installing a package called xf86-input-joystick (no idea how debian calls it) .
------------------------
X nowadays mostly uses evdev for input support, and the package xf86-input-joystick is evdev-aware.
By tweaking 50-joystick.conf you can change many settings .
example : by default X sends joystick events not only to the (virtual) joystick input device, but also to mouse and keyboard input devices.
I disabled that behaviour by tweaking 50-joystick.conf .
OS : Arch Linux 64-bit - rolling release
OXPs : My user page
Retired, reachable at [email protected]
OXPs : My user page
Retired, reachable at [email protected]
Re: applesmc default as active joystick
cim's suggestion of increasing the dead zone did the trick, now I can still use it if I tilt the laptop more than 45-ish degrees.