Event.getKeycode

Extracts the hardware keycode from an event.

Also see gdk.event.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