DirectInput hooking
Page 1 of 1
Wray




Posts: 59

PostPosted: Tue, 2nd Dec 2008 19:52    Post subject: DirectInput hooking
Helloes.

I'm writing an application which is about first storing the key presses and then replaying them, so, it's a macro/bot program or something.

Anyway, everything else works fine except recording, any ideas how to implement it? I tried SetWindowsHookEx, but didn't get any hits (according to MSDN the hookproc is only called when messing with WM_KEYDOWN). I'd like to have a "clean" way to do hook the input. So, the game is using DirectInput and I'm injecting a DLL into it to capture the keyboard events, any ideas how to capture?

Thanks.
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Tue, 2nd Dec 2008 20:02    Post subject:
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Programmers Corner
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group