let me explain well.. I'm trying to write a program that "listen" the keys pressed by keyboard WHILE I'm into a full-screen game..
I've used DirectInput yet, but it seems don't look into it..
E.g i'm pressing spacebar into game and my char jumps, but my program won't listen to my keys.. it won't record ANYTHING. Just waiting for pressing ._.
i'll be happy if someone can help me, maybe giving an hint like HowTo pressing "a" and result like "spacebar" (pressing "a" i want jump xD)
Can some o开发者_开发技巧ne help me? **
If you want to listen to keys sent to a separate application, you can create a keyboard hook.
精彩评论