SENDING Keystrokes to DirectInput

Started by
0 comments, last by JD Williams 19 years, 11 months ago
All, I am writing an application for macros. I can get it to work in mostly all windows applications except for DirectX. I can macro normal keystrokes such as letters and spaces, but when i try to do anything that requires a Virtual Key code, nothing. I''ve recently learned about DirectInput and noticed that there is DIK_XXX codes for all of the other keys. How would I get the DirectInput device or buffer and sort of ''spoof'' these keystrokes. I''ve seen it done before but i dont know how exactly they did it. Please help. Fellow DirectX programmer
Advertisement
You need to also be aware that some games can and do
acquire exclusive control over the keyboard.

Not sure if that complicates things further or not.

This topic is closed to new replies.

Advertisement