Rollin Phat
2005-Aug-18 19:14 UTC
[Wine]Wine 20050725 - Keyboard input not being recognised in 3d - mystery
Hi, Running the latest version of wine, I have come across a problem that seems simple but I can't find a fix to it! As a more in-depth look at the problem described in this thread: http://www.winehq.org/hypermail/wine-users/2005/08/0012.html When I run 3d applications my keyboard will not respond, however in 2d applications such as notepad I get the same error messages however the keyboard will type (such as in notepad.exe). For an example, in Rayman 2 I get perfect working sound and 3d graphics in the menu, however no keyboard input. I have tried many things, including using DGA etc. and running it managed, and in a window. Here is the debug output I get whenever running these apps: joe@ubuntu:~$ WINEDEBUG="key" wine notepad.exe trace:key:X11DRV_InitKeyboard NumLockMask is 10 trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 94, got <> trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 94, got <> trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 94, got <> trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 11, got 2@ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 12, got 3# trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 48, got '" trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 94, got <> trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 11, got 2@ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 12, got 3# trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 15, got 6^ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 16, got 7& trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 17, got 8* trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 18, got 9( trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 19, got 0) trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 21, got =+ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 24, got qQ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 26, got eE trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 34, got [{ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 35, got ]} trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 47, got ;: trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 48, got '" trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 49, got `~ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 51, got \| trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 58, got mM trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 59, got ,< trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 60, got .> trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 61, got /? trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 94, got <> trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 11, got 2@ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 12, got 3# trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 15, got 6^ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 16, got 7& trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 17, got 8* trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 18, got 9( trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 19, got 0) trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 21, got =+ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 34, got [{ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 35, got ]} trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 47, got ;: trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 48, got '" trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 49, got `~ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 51, got \| trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 59, got ,< trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 60, got .> trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 61, got /? trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 11, got 2@ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 12, got 3# trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 15, got 6^ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 16, got 7& trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 17, got 8* trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 18, got 9( trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 19, got 0) trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 21, got =+ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 24, got qQ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 34, got [{ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 35, got ]} trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 47, got ;: trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 48, got '" trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 49, got `~ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 51, got \| trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 59, got ,< trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 60, got .> trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 61, got /? trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 94, got <> trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 11, got 2@ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 12, got 3# trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 15, got 6^ trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 16, got 7& trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 17, got 8* trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 18, got 9( trace:key:X11DRV_KEYBOARD_DetectLayout mismatch for keysym 0x0000, keycode 19, got 0) etc. etc. then on keypress it gives me this: trace:key:X11DRV_ToUnicodeEx Translating char 0x61 to unicode trace:key:X11DRV_ToUnicodeEx ToUnicode about to return 1 with char 61 trace:key:TranslateMessage 1 -> PostMessageW(0x10024,WM_CHAR,0061,001e0001) trace:key:GetKeyState key (0x12) -> 0 trace:key:GetKeyState key (0x10) -> 0 trace:key:GetKeyState key (0x11) -> 0 trace:key:GetKeyState key (0x11) -> 0 trace:key:X11DRV_KeyEvent type 3, window 3200001, state 0x0000, keycode 0x0026 trace:key:X11DRV_KeyEvent state = 0 nbyte = 0, status 0x1 trace:key:X11DRV_KeyEvent KeyRelease : keysym=0 (No Name), # of chars=0 / 0x00 / '' trace:key:EVENT_event_to_vkey e->keycode = 26 trace:key:X11DRV_KeyEvent keycode 0x26 converted to vkey 0x41 trace:key:X11DRV_KeyEvent bScan = 0x1e. trace:key:X11DRV_send_keyboard_input wParam=0041, lParam=c01e0001, InputKeyState=41 or similar, depending on the key I press - that message was from pressing an "a". Here are my system specs: Ubuntu 5.04 will all updates, 3d acceleration working perfectly. 101-key Diamond Digital keyboard, set to "Generic 101-key" in xorg.conf and gnome Wine 20050725, no additional patches on top of the CVS. Anyone have any ideas? It's so frustrating to be so close, yet not be able to get any input! Regards, Joe
Sylvain Petreolle
2005-Aug-19 01:51 UTC
[Wine]Wine 20050725 - Keyboard input not being recognised in 3d - mystery
You dont give any error messages in your debug output, only traces. The thread you are linking to talks about an app that uses dinput, so we have no indication about 2d apps like notepad. --- Rollin Phat <rollinaphatone@hotmail.com> a ?crit :> Hi, > > Running the latest version of wine, I have come across a problem that seems > simple but I can't find a fix to it! As a more in-depth look at the problem > described in this thread: > http://www.winehq.org/hypermail/wine-users/2005/08/0012.html > > When I run 3d applications my keyboard will not respond, however in 2d > applications such as notepad I get the same error messages however the > keyboard will type (such as in notepad.exe). > > For an example, in Rayman 2 I get perfect working sound and 3d graphics in > the menu, however no keyboard input. I have tried many things, including > using DGA etc. and running it managed, and in a window. Here is the debug > output I get whenever running these apps:Kind regards, Usurp (aka Sylvain Petreolle) humans are like computers, yesterday the BIOS was all - today its just a word