get_keycode


Description:

[ Version ( since = "3.2" ) ]
public bool get_keycode (out uint16 keycode)

Extracts the hardware keycode from an event.

Also see get_scancode.

Parameters:

this

a Event

keycode

location to store the keycode

Returns:

true if the event delivered a hardware keycode