Scancodes using version 10.0.17134.1—10.0.22538.1000 of KBDHEPT.DLL
Scancodes are generated by keyboard firmware, identifying the individual physical keys on the hardware and therefore do not depend on the software keyboard layout. While keyboard layouts cannot influence the values, Windows supports remapping incoming scancodes (and so disabling Caps Lock for example).
Scancodes do not depend on modifiers, except as for below:
|PrtSc/SysRq||E0 2A E0 37||E0 37||E0 37||54|
|Pause/Break||E1 1D 45 E1 9D C5||E0 46 E0 C6|
This page shows the Set 1 scancodes as hexadecimal numbers generated on key press. For other sets, see below.