get_scancode


Description:

[ Version ( since = "3.22" ) ]
public int get_scancode ()

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.

Parameters:

this

a Event

Returns:

The associated keyboard scancode or 0