input
This event is called whenever a key or mouse button is pressed.
getKeyCode(): int
Returns the keyCode of the key that was pressed.
keyCode
Last updated 10 months ago
See for a list of all key codes and to what key they correspond.