KeyEvent.getKeycode

uint getKeycode()

Extracts the keycode from a key event.

Returns

the keycode of event