http://bugs.winehq.org/show_bug.cgi?id=13451
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2008-09-22 09:25:08 --- Strange, debug output does show that Wine receives control key press and release:
trace:event:call_event_handler KeyPress for hwnd/window 0x2002a/340000e trace:key:X11DRV_KeyEvent type 2, window 340000e, state 0x0011, keycode 0x006d trace:key:X11DRV_KeyEvent nbyte = 0, status 0x3 trace:key:X11DRV_KeyEvent KeyPress : keysym=FFE4 (Control_R), # of chars=0 / "" trace:key:EVENT_event_to_vkey e->keycode = 6d trace:key:X11DRV_KeyEvent keycode 0x6d converted to vkey 0x1a3 trace:key:X11DRV_KeyEvent bScan = 0x1d. trace:key:X11DRV_send_keyboard_input wParam=00a3, lParam=011d0001, InputKeyState=0 trace:event:process_events processed 1 events
trace:event:call_event_handler KeyRelease for hwnd/window 0x2002a/340000e trace:key:X11DRV_KeyEvent type 3, window 340000e, state 0x0014, keycode 0x006d trace:key:X11DRV_KeyEvent nbyte = 0, status 0x0 trace:key:X11DRV_KeyEvent KeyRelease : keysym=FFE4 (Control_R), # of chars=0 / "" trace:key:EVENT_event_to_vkey e->keycode = 6d trace:key:X11DRV_KeyEvent keycode 0x6d converted to vkey 0x1a3 trace:key:X11DRV_KeyEvent bScan = 0x1d. trace:key:X11DRV_send_keyboard_input wParam=00a3, lParam=c11d0001, InputKeyState=c1
What exactly is your program doing? How is it receiving keyboard events? And what exactly is the problem? Does not receive control key press/release events at all? Are they different events? Does it loose focus when key event comes in?