Anyone know of a way to empty the buffer after using the GetAsyncKeyState() function? If I can't empty
it after each function call the program will behave badly.... I am looping a few functions, including that one. It seems to register more than one keypress sometimes and I don't know what to do about it.
I would appreciate any help greatly.