Hi,
How about remove FlushKeys() from your code entirely?
Why would you need to call it in the first place? Without it, KeyDown() works exactly as intended: it returns if the key is down at the moment.
How about remove FlushKeys() from your code entirely?
Why would you need to call it in the first place? Without it, KeyDown() works exactly as intended: it returns if the key is down at the moment.