Saturday, May 31, 2014

how to send key strokes to the game.

sir, i am developing an application through which one can send keystrokes to the active window. My app works just fine but when i try to send key strokes to simple 2D games then it does not work. I am using sendkeys.send() method to send keystrokes.


I also tried to send key strokes to games using windows on-screen keyboard and it works.


So my question is, how to send keystrokes to the games like windows on-screen keyboard sends?


No comments:

Post a Comment