Package: gdk

Function gdk:event-scancode

Lambda List

gdk:event-scancode (event)

Arguments

event -- a gdk:event instance

Return Value

An integer 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.
 

See also

#2023-3-13