Problems with 'keybd_event' in certain applications

Jun 20, 2008 at 11:10pm
Hi.
I am trying to create an application that takes input from a Wii control and then immitates key presses. I understand there are programs out there that can do this for me (GlovePIE for example) but i wanted to develop my own. once i have fixed this i should have no more problems.

The keybd_event function seemed to work for many applications for example I can move up and down browser pages/documents, move highlights and even type if i want. However in some applications the keyboard input does not work, my normal keyboard works fine but buttons mapped to the same key have no effect. I KNOW that my code is still running by using a simple Beep() whenever i press a button on the Wii control.
It seems that any application that runs in fullscreen mode and has NO ability to be windowed does not accept the input, this includes many games which is the main reason for developing this code.
I need a way to make these applications accept my input.
Thanks in advance for any help/suggestions.

Topic archived. No new replies allowed.