I'm currently struggling with the windows "Inputs". I would like to ask if there is a way to stop keys from spamming.
In fact I'm using this keyword: case WM_KEYDOWN: // do some stuff
All the time I press the button it repeats firing functions that depend on the pressing. But I would like it to have waiting until it's released once to be able to be firing once again.
Is there a keyword that checks that for me or do I have to hardcode that? ( searching on the net didn't help me out :/ )
how to detect same keyboard key press only once look at that if (lParam & (1 << 30)) { // repeat } else { // first click } :DD