Hello!
How can I check what keys are in "key down" state?
Hello!
How can I check what keys are in "key down" state?
Use some OS/compiler specific library.
Quzah.
Hope is the first step on the road to disappointment.
For Windows:
Set a windows hook with SetWindowsHookEx() (keyboard hook)
then use a callback procedure to process the keys being pressed
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
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...
2B OR !2B? That is the question!