Package: gdk

Function gdk-event-scancode

Lambda List

gdk-event-scancode (event)

Arguments

event -- a gdk-event instance

Return Value

A :int with the associated keyboard scancode or 0.

Details

Gets the keyboard low-level scancode of a key event.

This is usually the hardware-keycode slot of the event. On Windows this is the high word of WM_KEY{DOWN,UP} which contains the scancode and some extended flags.

Since 3.22
 

See also

2020-8-25