i'm trying to write an application that will simulate a keypress when a given joystic button is hit. I have been trying to uses keybd_event from user32.dll but have had only partial sucess.
I can get the application to type into notepad when i press the buttons but when i load the game it does not register the inputs. Is there another way of simulating a keypress at a lower level?
thanks
Simulating a keypress
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Mike GoldRank #50 · 30.6K pointsPosted Apr 25, 2007, 8:15 PM EDT
http://msdn2.microsoft.com/en-us/library/ms646314.aspx