Event.getScancode

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.

Return: The associated keyboard scancode or 0

class Event
int
getScancode
()

Meta

Since

3.22