Technical support > Linux

Weird mouse problem

(1/2) > >>

badbunny:
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?

geever:

--- Quote from: 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?

--- End quote ---

Unplug it. :) But moving it a bit is usually enough.

-geever

badbunny:
Well now. I forgot to tell you, but I don't actually have a joystick. :)

geever:

--- Quote from: badbunny on October 26, 2009, 05:49:29 pm ---Well now. I forgot to tell you, but I don't actually have a joystick. :)

--- End quote ---

Try removing ~/.ufoai/2.2.1/base/keys.cfg and check ufoconsole.log if it found any joystick.

-geever

badbunny:
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:


--- Quote ---------- 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
--- End quote ---

Navigation

[0] Message Index

[#] Next page

Go to full version