getKeyState

WindowModuleInterface::getKeyState

Returns the state of a keyboard key.

Declaration

virtual InputState getKeyState(WindowID windowID, InputKeyboardKey key) = 0;

Parameters

Name

Type

Description

windowID

WindowID

The window to check the key state on.

key

InputKeyboardKey

The keyboard key to check the state of.

Returns

An InputState containing the state of the keyboard key.