Hello!
How can I check what keys are in "key down" state?
Printable View
Hello!
How can I check what keys are in "key down" state?
Use some OS/compiler specific library.
Quzah.
For Windows:
Set a windows hook with SetWindowsHookEx() (keyboard hook)
then use a callback procedure to process the keys being pressed
I swear there was a Search button... yep, still there. Wasn't this asked just yesterday, and the day before, and the day before that, etc, for(;;);... ?
Detect pressed keys c - Google Search
jump twice, turn 360° then close your eyes and say, "oh mighty computer, how do I know when a key has been pressed?"
Then the mighty computer will give you these links: hooking and SetWindowsHookEx
Then last but not least, you read...