I have an application that can successfully inject keyboard input using the SendInput
API with the UNICODE flag set. This causes WM_KEYUP
and WM_KEYDOWN
messages to be generated with the VK code of E7 (VK_PACKET
), which gets appropriately translated into the correct WM_CHAR message. This works in all the applications I have tried except for Pidgin, which uses GDK. GDK seems to only look for WM_KEYUP
messages. Since the ones being generated here don't actually have any indication of the input character (only the WM_CHAR
does), the input is ignored. Is there a way I could get around this. I haven't had much luck if I use SendInput without the UNICODE flag.
Asked
Active
Viewed 381 times
3

wkf
- 842
- 9
- 17
-
I too have same issue. Any solution ? – Mugunth Nov 30 '11 at 02:25