Code is the identity of the physical key relative to a notional "standard" keyboard, independent of current layout, modifiers, lock-states, etc

For standard key codes, its value matches USB HID key codes. Compare its value to uint32-typed constants in this package, such as CodeLeftShift and CodeEscape.

Pressing the regular '2' key and number-pad '2' key (with Num-Lock) generate different Codes (but the same Rune).

Code is referenced in 10 repositories



	Code Code