System.getKeyState

Function/Meaning

[Windows *] Get key status

Type
Systemclassmethod of
Syntax
getKeyState(code)
Arguments
code

Specifies the virtual keycode for which you want to get the state.

Return value

True if the key is pressed, false if not pressed.

Explanation

Gets whether the key corresponding to the key code specified by code is pressed when this method is called.
For Android, false is always returned.