Event.getKeycode

Extracts the hardware keycode from an event.

class Event
bool
getKeycode
(
out ushort keycode
)

Parameters

keycode ushort

location to store the keycode

Return: %TRUE if the event delivered a hardware keycode

Meta