http://bugs.winehq.org/show_bug.cgi?id=2811
------- Additional Comments From mteske@imagnos.com 2005-22-03 12:54 ------- Ok, I managed to get keyboard running, too. I found out by doing heavy TRACE calls, that the WH_KEYBOARD_LL Hook was never called. the I saw in the debug log that there are some Acquire/Unacquire calls. While the mouse stuff then does UnhookWindowsHookEx and SetWindowsHookExW, the keyboard stuff did not. When I finally put keyboard_hook = SetWindowsHookExW( WH_KEYBOARD_LL, KeyboardCallback, DINPUT_instance, 0 ); at the end of SysKeyboardAImpl_Acquire() and UnhookWindowsHookEx( keyboard_hook ); keyboard_hook = 0; at the end of SysKeyboardAImpl_Unacquire() it worked!
Any comments?