[Bug 2811] Keyboard/Mouse does not work on AGS games
http://bugs.winehq.org/show_bug.cgi?id=2811 ------- Additional Comments From mteske(a)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? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs