Event.getKeycode

bool getKeycode(out ushort keycode)

Extracts the hardware keycode from an event.

Also see [gdk.event.Event.getScancode].

Parameters

keycodelocation to store the keycode

Returns

true if the event delivered a hardware keycode