Event.getKeycode

Extracts the hardware keycode from an event.

Also see gdk_event_get_scancode().

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