getKeyState
WindowModuleInterface::getKeyState
Returns the state of a keyboard key.
Declaration
virtual InputState getKeyState(WindowID windowID, InputKeyboardKey key) = 0;
Parameters
Name |
Type |
Description |
---|---|---|
windowID |
The window to check the key state on. |
|
key |
The keyboard key to check the state of. |
Returns
An InputState containing the state of the keyboard key.