http://bugs.winehq.org/show_bug.cgi?id=28512
Bug #: 28512 Summary: FPS games don't recognize mouse buttons and keyboard keys ingame Product: Wine Version: 1.3.29 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: ajsb@vfemail.net Classification: Unclassified
I check this issue both in UBUNTU and SLACKWARE using several versions of WINE (1.3.28 besides 1.3.29) using packaged WINE and also compiled source by myself. Problems are always the same no matter what including with or without winetricks use.
1 - There are several FPS games like Battlefield 2 , Call of Duty Black Ops,etc. where the left and right mouse buttons are not properly recognized when playing... Heres some examples... Black Ops: Mouse recognized in bindings menu but in game , the recognition of left/right button is erratic and kinda of "stutters"...i.e. i use right button to run and i press it, for a fraction of second, i run but then, it behaves as i no longer am pressing it. Left button, used by me for A.D.S. , almost same thing, i pressed it and weapon stays in A.D.S. position for some fraction of time but then goes back to low position...sometimes it seems to want to go back to A.D.S. for a a fraction of second but it fais...If i stop press button and press again, the cycle restarts. Battlefield 2: Left/Right mouse buttons are not even recognized in bindings menu !!!...and even in navigation by menus they feel a bit "stiff".
2-Same games have issues with keyboard...the keys are simply NOT recognized at ALL in ANY circumstances (in game, menus, you name it) except ESC key and only when we press it for the 1st time !!!
Only managed to play these games with a mouse + gamepad using a gamepad to keys emulator, more exactly JoyToKey...that is a Windows program that has no problem at all recognizing my gamepad and keyboard !!!
Infact, i have NO problems at all with other types of programs or games like RTS games like:
Men Of War Faces of War World in Conflict etc.
These issues are only affecting FPS games !
This is very strange because i had no problem to play these games in the past with older versions of WINE.
http://bugs.winehq.org/show_bug.cgi?id=28512
--- Comment #1 from Austin English austinenglish@gmail.com 2011-09-27 16:46:47 CDT --- What version of X?
http://bugs.winehq.org/show_bug.cgi?id=28512
--- Comment #2 from AJSB ajsb@vfemail.net 2011-09-27 20:53:13 CDT --- NVIDIA settings says 11.0
http://bugs.winehq.org/show_bug.cgi?id=28512
--- Comment #3 from AJSB ajsb@vfemail.net 2011-09-27 20:59:12 CDT --- Sorry to answered too fast...i used in comand line xorg -version and this is what i got:
X.Org X Server 1.9.5 Release Date: 2011-03-17 X Protocol Version 11, Revision 0 Build Operating System: Slackware 13.37 Slackware Linux Project --- --- ---
http://bugs.winehq.org/show_bug.cgi?id=28512
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru 2011-09-28 03:45:08 CDT --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
http://bugs.winehq.org/show_bug.cgi?id=28512
--- Comment #5 from AJSB ajsb@vfemail.net 2011-09-29 16:51:21 CDT --- Well i found a "workaround" for the bug using a AutohotKey script made by me !
I discovered that the mouse buttons , when playing and using their default bindings ( like i guess 99,99% of gamers do use them) were actually working well, only when they were used for other bindings they aren't at all (i made the experience of editing by hand the configuration files of the games because like i said when reporting about bug, it was impossible to it in the games binding menus).
That and the way they were behaving, led me to think that WINE is "scanning"/however_it_deals_with those buttons in an unusual way compared with Windows.
Based on that and taking in account that i have some experience with AutoHotKey in Windows, i installed ATK in the default wineprefix (i didn't used winetricks for that or for Steam BTW, because i believe that all apps should work under same prefix like with real Windows) and made a script that scans the mouse buttons and that "feedsback" the mouse buttons in a way fully recognizable by any Windows program/game...same technique can be used to solve problem with keyboard (i'm not using it because i always play with mouse+gamepad and never with mouse+keyboard and keuboard was working for normal tasks in games like writing the new name of the player,etc...instead the script "reads" gamepad events and "feedsback" keyboard keys).
now i can even use the games binding menus to make the rebindings ! :)
Not exactlly the most elegant solution...but till the WINE bug/problem is really fixed, it's a "solution".
A bit OT, but, the performance, with same game settings, is BETTER under WINE than in Windows XP :))
http://bugs.winehq.org/show_bug.cgi?id=28512
--- Comment #6 from AJSB ajsb@vfemail.net 2011-09-30 02:45:50 CDT --- Small update about AutoHotKey script:
I rewrote it and now fully supports the mouse and keyboard in a total transparent way fully compatible with any Windows app/game with a very simple and clean code and doesn't have ANY KIND of measurable performance penalty :D
Of course that besides fully support mouse and keyboard it also continues to support PC+PS2 and PS3 gamepads...the Gamepad routines need some more work to make it possible a simple and easy way for left-handed and right-handed player switching and to switch from PC(+PS2) to PS gamepads also in a easy way :D
I wonder if i can extend the support to XBox360 gamepads to make them behave like regular gamepads emulating keys of a keyboard...
http://bugs.winehq.org/show_bug.cgi?id=28512
--- Comment #7 from Ken Sharp kennybobs@o2.co.uk 2013-08-16 07:55:34 CDT --- Does the originally reported problem still occur in Wine 1.7.0 or later?
https://bugs.winehq.org/show_bug.cgi?id=28512
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |gyebro69@gmail.com Resolution|--- |ABANDONED
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- No response from the bug reporter for more than 3 years, marking abandoned.
https://bugs.winehq.org/show_bug.cgi?id=28512
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- Closing all abandoned/duplicated/invalid bugs.