United Kingdom Layout Scancodes

Scancodes using version 6.2.8250.0—10.0.27729.1000 of KBDUK.DLL

OverviewScancodesVirtual keysShift statesCreating shortcut?How do I type?
Sorting It All OutMSKLCTerminology
01

3B
F1
3C
F2
3D
F3
3E
F4
3F
F5
40
F6
41
F7
42
F8
43
F9
44
F10
57
F11
58
F12
54
PrtSc
46
Scroll Lock
E1 1D
Pause
29
`
02
1
03
2
04
3
05
4
06
5
07
6
08
7
09
8
0A
9
0B
0
0C
-
0D
=
0E

E0 52
Insert
E0 47
Home
E0 49
Page Up
45
Num Lock
E0 35
/
37
*
4A
-
0F
10
q
11
w
12
e
13
r
14
t
15
y
16
u
17
i
18
o
19
p
1A
[
1B
]
1C
E0 53
Delete
E0 4F
End
E0 51
Page Down
47
Home
48
49
Page Up
4E
+
3A
Caps Lock
1E
a
1F
s
20
d
21
f
22
g
23
h
24
j
25
k
26
l
27
;
28
'
2B
#
4B
4C
NUM 5
4D
2A
Shift
56
\
2C
z
2D
x
2E
c
2F
v
30
b
31
n
32
m
33
,
34
.
35
/
36
Shift
E0 48
4F
End
50
51
Page Down
E0 1C
1D
Ctrl
E0 5B
Win
38
Alt
39
E0 38
AltGr
E0 5C
Win
E0 5D
Menu
E0 1D
Ctrl
E0 4B
E0 50
E0 4D
52
Insert
53
Delete
Arrangement:
Legend overlay:

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:

KeyBase stateControlShiftAlt
PrtSc/SysRqE0 2A E0 37E0 37E0 3754
Pause/BreakE1 1D 45 E1 9D C5E0 46 E0 C6

This page shows the Set 1 scancodes as hexadecimal numbers generated on key press. For other sets, see below.

Scancode Resources