Link to home
Start Free TrialLog in
Avatar of Jamook
Jamook

asked on

Simulate a keypress when using DirectInput

Hi,

Is there a way to simulate a Keypress so that a Game using DirectInput can sence is?
if so how?

I have tried GetKeyboardState and keybd_event but it dosent work.

Thank you :)
Avatar of AlainH
AlainH

What do you mean? if I'm understanding this one correctly, your asking if it is possible to have a event raised whenever a key is press?
Avatar of Jamook

ASKER

Yes, thats what i mean.
ASKER CERTIFIED SOLUTION
Avatar of JonWoyame
JonWoyame

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jamook

ASKER

Thank you!

This is just what i wanted!