Na, nevermind. I tried it with GetKeyboardState (user32) and it didn't work. (Likely, Blitz detects keystrokes with a similar function.)
I think the only way to do it would be to write a dll yourself that sets s system-wide keyboard hook with a callback function and monitors what keys get hit while the console is in the foreground and returns the results to your program.
But that would be a big pain.
I think the only way to do it would be to write a dll yourself that sets s system-wide keyboard hook with a callback function and monitors what keys get hit while the console is in the foreground and returns the results to your program.
But that would be a big pain.