Greetings,
I am a newbie to programming and may just be missing some logic. I have a keyboard hook and I can record single key presses (the key code, key state up/down, and key time pressed). I can then playback the file to reproduce the input.
I want to be able to record multiple keys being pressed and released (not necessarily at the same time) for example: press three keys release one and then press an additional 2 keys so four in total held down. Then release all of the keys.
I have an array that holds the state of all of the keys. A structure to record, for each key press, the Direction (up/down), the key ID (vk_code) and the time (relative) pressed.
Any help or suggestions would be welcome.
I am a newbie to programming and may just be missing some logic. I have a keyboard hook and I can record single key presses (the key code, key state up/down, and key time pressed). I can then playback the file to reproduce the input.
I want to be able to record multiple keys being pressed and released (not necessarily at the same time) for example: press three keys release one and then press an additional 2 keys so four in total held down. Then release all of the keys.
I have an array that holds the state of all of the keys. A structure to record, for each key press, the Direction (up/down), the key ID (vk_code) and the time (relative) pressed.
Any help or suggestions would be welcome.