| Callum5042 (124) | |
|
When I say a key press I mean so it detects it as being pressed and not held down. So GetAsyncKeyState isn't what I'm looking for, but along those lines.I hope you understand what I mean | |
|
|
|
| Disch (8337) | |||
|
Windows sends a WM_KEYDOWN message to your window when that happens. Or, if you are not using windows messages, you can still use GetAsyncKeyState, just keep track of it's previous state:
| |||
|
|
|||