Method

GdkEventget_scancode

since: 3.22

Declaration [src]

int
gdk_event_get_scancode (
  GdkEvent* event
)

Description [src]

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

This is usually hardware_keycode. On Windows this is the high word of WM_KEY{DOWN,UP} lParam which contains the scancode and some extended flags.

Available since: 3.22

Return value

Type: int

The associated keyboard scancode or 0