KeyDown
This function gets the keydown state of a window.
Syntax
- bool KeyDown(int keycode)
Parameters
- keycode: the key to check. See the Key class for available key codes.
Returns
Returns true if the specified key is pressed, otherwise false is returned.