UFO:Alien Invasion
Technical support => Linux => Topic started by: badbunny on October 26, 2009, 10:21:55 am
-
Hello,
I just installed UFO:AI v.2.2.1, following these instructions: http://ufoai.ninex.info/wiki/index.php/Debian
Now, when I run the game, the mouse cursor keeps running towards the upper left corner, as if it was following a joystick pointed that way. I can move the cursor with the mouse, but as soon as I stop, it heads back towards the corner.
I assume this can be corrected by disabling joystick, how's that done?
-
Hello,
I just installed UFO:AI v.2.2.1, following these instructions: http://ufoai.ninex.info/wiki/index.php/Debian
Now, when I run the game, the mouse cursor keeps running towards the upper left corner, as if it was following a joystick pointed that way. I can move the cursor with the mouse, but as soon as I stop, it heads back towards the corner.
I assume this can be corrected by disabling joystick, how's that done?
Unplug it. :) But moving it a bit is usually enough.
-geever
-
Well now. I forgot to tell you, but I don't actually have a joystick. :)
-
Well now. I forgot to tell you, but I don't actually have a joystick. :)
Try removing ~/.ufoai/2.2.1/base/keys.cfg and check ufoconsole.log if it found any joystick.
-geever
-
Apparently I have the 2.3 version. I thought I didn't but I'm not that smart, really.
Anyway, I deleted the keys.cfg and started the game. This is what I found in the log:
------- input initialization -------
1 possible joysticks
joystick 0 opened - set cvar in_joystickNo to change this
... name: Microsoft Microsoft� Digital Media Pro Keyboard
... axes: 37
... hats: 0
... buttons: 41
... balls: 0
-
Apparently I have the 2.3 version. I thought I didn't but I'm not that smart, really.
Anyway, I deleted the keys.cfg and started the game. This is what I found in the log:
Okay, you can disable joysticks by starting the game with
ufo +set in_joystick 0
When you quit it will save that setting.
-geever
-
That did it! Thank you for the amazingly fast help!
...wish I could get this kind of support with commercial games that I pay for... :)
-
That did it! Thank you for the amazingly fast help!
Well, Mattn helped me with that info.
From r26789 it can be enabled/disabled from Input Options menu too.
-geever