Key always pressed (sticky or blocked)
-
- Level 1
- Posts: 5
- Joined: Sun Jun 14, 2009 5:06 pm
Key always pressed (sticky or blocked)
Hi all. This is my first post here... sorry if this topic was already discussed, but I could not find anything related.
In applications run with wine, especially games (but not only) one or more keys seem to be pressed. I mean, even if I don't even touch the keyboard, the program thinks I continuously press UP ARROW and/or RIGHT ARROW.
This happens regardless of applications. Sometimes I can play hours with absolutely no problem, than I am suddenly getting continuous forwoard or other key.
Or in some applications (for example a word processor like application) when I get with the mouse outside of the edit area, it starts to scroll continuously up or down, left or right.
I repeat, this happens independent of the application. Same application can work for days without a problem, than suddenly broke.
Also, if I restart the application, or X, or the hole computer, it doesn't help at all. This problem seems to be completely random.
My system:
- Mandriva Linux 2009.1 64bits
- tried wine 1.1.20 -> 1.1.23
- nvidia gforce 8600gt
- KDE4.2.2 ( with or without 3D, it is the same)
In applications run with wine, especially games (but not only) one or more keys seem to be pressed. I mean, even if I don't even touch the keyboard, the program thinks I continuously press UP ARROW and/or RIGHT ARROW.
This happens regardless of applications. Sometimes I can play hours with absolutely no problem, than I am suddenly getting continuous forwoard or other key.
Or in some applications (for example a word processor like application) when I get with the mouse outside of the edit area, it starts to scroll continuously up or down, left or right.
I repeat, this happens independent of the application. Same application can work for days without a problem, than suddenly broke.
Also, if I restart the application, or X, or the hole computer, it doesn't help at all. This problem seems to be completely random.
My system:
- Mandriva Linux 2009.1 64bits
- tried wine 1.1.20 -> 1.1.23
- nvidia gforce 8600gt
- KDE4.2.2 ( with or without 3D, it is the same)
Re: Key always pressed (sticky or blocked)
Are you pressing those keys when you move mouse outside of the program's window? what is your focus policy is set to click to focus, or follow mouse?patkoscsaba wrote:Or in some applications (for example a word processor like application) when I get with the mouse outside of the edit area, it starts to scroll continuously up or down, left or right.
-
- Level 1
- Posts: 5
- Joined: Sun Jun 14, 2009 5:06 pm
Focus policy is "click to focus", both in Linux and Wine.
I can reproduce this without ever touching the keyboard after starting the application in wine.
For example, I start SwishMax2.0, I click for a new flash movie, I draw with the mouse a rectangle in the edit area. Then i leave with the cursor that area (I place it over the timeline or a toolbar) without clicking or pressing any key ... it starts to scroll, as I suddenly hit an arrow.
Or in a game, I double-click the .exe in Dolphin (or run in from the command line), everything loads, than the game show the Main Menu. It immediately starts moving up (or down, but mostly up) the active menu item. I can stop it only if I keep pressed down to counteract the up action. This behavior follows into the gameplay, when a continuous up makes a FPS game unplayable.
I tried to delete ~./.wine and reinstall the different software, but I have no luck.
Even if you don't know a solution, at least please give me some ideas about how to debug this, how to find out what is going wrong...
PS: there are no key or keyboard related errors/messages in console if I start the respective programs from command line.
I can reproduce this without ever touching the keyboard after starting the application in wine.
For example, I start SwishMax2.0, I click for a new flash movie, I draw with the mouse a rectangle in the edit area. Then i leave with the cursor that area (I place it over the timeline or a toolbar) without clicking or pressing any key ... it starts to scroll, as I suddenly hit an arrow.
Or in a game, I double-click the .exe in Dolphin (or run in from the command line), everything loads, than the game show the Main Menu. It immediately starts moving up (or down, but mostly up) the active menu item. I can stop it only if I keep pressed down to counteract the up action. This behavior follows into the gameplay, when a continuous up makes a FPS game unplayable.
I tried to delete ~./.wine and reinstall the different software, but I have no luck.
Even if you don't know a solution, at least please give me some ideas about how to debug this, how to find out what is going wrong...
PS: there are no key or keyboard related errors/messages in console if I start the respective programs from command line.
-
- Level 1
- Posts: 5
- Joined: Sun Jun 14, 2009 5:06 pm
-
- Newbie
- Posts: 3
- Joined: Mon Jun 15, 2009 6:41 pm
Re: Key always pressed (sticky or blocked)
I have the same problem. I have an Ubuntu 9.04 64 bitpatkoscsaba wrote:Hi all. This is my first post here... sorry if this topic was already discussed, but I could not find anything related.
In applications run with wine, especially games (but not only) one or more keys seem to be pressed. I mean, even if I don't even touch the keyboard, the program thinks I continuously press UP ARROW and/or RIGHT ARROW.
My system:
- Mandriva Linux 2009.1 64bits
- tried wine 1.1.20 -> 1.1.23
- nvidia gforce 8600gt
- KDE4.2.2 ( with or without 3D, it is the same)
- tried wine 1.1.20 -> 1.1.23
- nvidia gforce 9600gt
- GNOME desktop
I tried Need Foor Speed ProStreet Demo. The LEFT key is stuck, so I can not turn right with my car

Re: Key always pressed (sticky or blocked)
Do any of you have joystick plugged in?
-
- Newbie
- Posts: 3
- Joined: Mon Jun 15, 2009 6:41 pm
Re: Key always pressed (sticky or blocked)
No, I have no joystick at all. But, thanks for the tip. Wine somehow recognized my keyboard as a joystick too. So the program offered me to calibrate my "Microsoft Media Keyboard 3000" "joystick".vitamin wrote:Do any of you have joystick plugged in?
I moved away the js0 file from /dev/input and it is solved my problem.
-
- Newbie
- Posts: 3
- Joined: Mon Jun 15, 2009 6:41 pm
Re: Key always pressed (sticky or blocked)
I looked around in my /dev/input/by-id directory and I found some intresting file:
lrwxrwxrwx 1 root root 9 2009-06-16 19:15 usb-Microsoft_Microsoft__Digital_Media_Keyboard_3000-event-joystick -> ../event5
lrwxrwxrwx 1 root root 9 2009-06-16 19:15 usb-Microsoft_Microsoft__Digital_Media_Keyboard_3000-event-kbd -> ../event4
lrwxrwxrwx 1 root root 6 2009-06-16 19:15 usb-Microsoft_Microsoft__Digital_Media_Keyboard_3000-joystick -> ../js0
I think this is the problem. My keyboard is not a joystick
lrwxrwxrwx 1 root root 9 2009-06-16 19:15 usb-Microsoft_Microsoft__Digital_Media_Keyboard_3000-event-joystick -> ../event5
lrwxrwxrwx 1 root root 9 2009-06-16 19:15 usb-Microsoft_Microsoft__Digital_Media_Keyboard_3000-event-kbd -> ../event4
lrwxrwxrwx 1 root root 6 2009-06-16 19:15 usb-Microsoft_Microsoft__Digital_Media_Keyboard_3000-joystick -> ../js0
I think this is the problem. My keyboard is not a joystick

-
- Level 1
- Posts: 5
- Joined: Sun Jun 14, 2009 5:06 pm
-
- Level 1
- Posts: 5
- Joined: Sun Jun 14, 2009 5:06 pm