Event.getKeycode

Extracts the hardware keycode from an event.

Also see Event.getScancode.

class Event
bool
getKeycode
(
out ushort keycode
)

Parameters

keycode ushort

location to store the keycode

Return Value

Type: bool

TRUE if the event delivered a hardware keycode

Meta