h

h

  • NA
  • 1
  • 0

simulating a keypress

Apr 24 2007 1:10 PM
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

Answers (1)