http://bugs.winehq.org/show_bug.cgi?id=17363
Summary: DirectInput maps Windows, Num Lock, Pause incorrectly Product: Wine Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: directx-dinput AssignedTo: wine-bugs@winehq.org ReportedBy: gerbilsoft@verizon.net
While testing DirectInput in an application, I found that Wine seems to map a few keys incorrectly:
Left Windows == 0x6C (not a valid DI keycode; should be DIK_LWIN == 0xDB) Right Windows == 0x6D (not a valid DI keycode; should be DIK_RWIN == 0xDC) Menu == 0x6E (not a valid DI keycode; should be DIK_APPS == 0xDD) Num Lock == 0xC5 (should be DIK_NUMLOCK == 0x45) Pause == 0x45 (should be DIK_PAUSE == 0xC5) Numpad - == 0x0C (regular -; should be DIK_SUBTRACT == 0x4A)
I'll attempt to fix this in the DInput driver and will post a patch if successful.
http://bugs.winehq.org/show_bug.cgi?id=17363
GerbilSoft gerbilsoft@verizon.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal OS/Version|other |Linux Platform|Other |PC Summary|DirectInput maps Windows, |DirectInput maps Windows, |Num Lock, Pause incorrectly |Num Lock, Pause incorrectly | |[X11] Version|unspecified |1.1.14
--- Comment #1 from GerbilSoft gerbilsoft@verizon.net 2009-02-12 10:54:17 --- Created an attachment (id=19409) --> (http://bugs.winehq.org/attachment.cgi?id=19409) wine-1.1.14-fix-windows-keys.patch
This patch fixes the Left Windows, Right Windows, and Menu key. It seems that the scancodes weren't being reported properly in the WineX11 driver.
http://bugs.winehq.org/show_bug.cgi?id=17363
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #2 from Austin English austinenglish@gmail.com 2009-02-12 17:02:21 --- Please send patches to wine-patches@winehq.org
http://bugs.winehq.org/show_bug.cgi?id=17363
--- Comment #3 from Austin English austinenglish@gmail.com 2009-08-13 13:13:16 --- Is this still an issue in current (1.1.27 or newer) wine?
http://bugs.winehq.org/show_bug.cgi?id=17363
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2009-08-13 21:01:24 --- Yes this is fixed several versions back. Just verified with current git.
http://bugs.winehq.org/show_bug.cgi?id=17363
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2009-08-21 12:45:21 --- Closing bugs fixed in 1.1.28.