Documentation
›
API Reference
›
Object
›
Window
FlushKeys
Lua
C++
This function clears the state of all keys. The key state will not change again until the user presses a key. You can use this to clear previous key presses when switching to a game menu or after a long loading sequence.
Syntax
void
FlushKeys
()