Keyboard "up" key is always pressed in Wine

Questions about Wine on Linux
Locked
IdoSC
Level 2
Level 2
Posts: 20
Joined: Fri Feb 18, 2011 3:02 pm

Keyboard "up" key is always pressed in Wine

Post by IdoSC »

Hi everyone, I have a problem. I'm using Linux Mint 17 and Wine 1.7.35, error persists on 1.7.33.

I've installed Darksiders by the instructions given in the AppDB, and it works fine, except it appears as if the up key of the keyboard is always pressed. It doesn't happen in native applications.

The keyboard is manufactured by Microsoft (connected in USB). Nothing is connected to the PC besides LAN, wireless mouse and this keyboard. Dinput/dinput 8 are set to builtin, if set to native the game won't start. Help please?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Keyboard "up" key is always pressed in Wine

Post by dimesio »

One possible (likely) cause is a kernel bug that mistakenly identifies some Microsoft keyboards as joysticks.
https://bugzilla.kernel.org/show_bug.cgi?id=37982
https://bugs.winehq.org/show_bug.cgi?id=35954
IdoSC
Level 2
Level 2
Posts: 20
Joined: Fri Feb 18, 2011 3:02 pm

Re: Keyboard "up" key is always pressed in Wine

Post by IdoSC »

How do I solve it, though? I mean, I tried disconnecting the keyboard and opening the game following what you said and it still occurs.

'ls /dev/input/js*' returns '/dev/input/js0' both when I disconnect my mouse (keyboard is connected), and when I disconnect my keyboard (mouse is connected). What could it be then?
IdoSC
Level 2
Level 2
Posts: 20
Joined: Fri Feb 18, 2011 3:02 pm

Re: Keyboard "up" key is always pressed in Wine

Post by IdoSC »

IdoSC wrote:How do I solve it, though? I mean, I tried disconnecting the keyboard and opening the game following what you said and it still occurs.

'ls /dev/input/js*' returns '/dev/input/js0' both when I disconnect my mouse (keyboard is connected), and when I disconnect my keyboard (mouse is connected). What could it be then?
Sorry, complete PEBKAC :oops: apparently I've had my old mouse's tiny dongle plugged in (which is also manufactured by Microsoft) and that triggered the bug.
Locked