Copyright © 2010-2020, International Technologies & Systems Corporation. All rights reserved.
Page 48 of 76
User Manual, SecureHead USB and UART Interface
Appendix B Key Code Table in USB Keyboard Interface
For most characters, "Shift On" and "Without Shift" will be reverse if Caps Lock is on.
Firmware needs to check current Caps Lock status before sending out data.
For Function code B1 to BA, if "Num Lock" is not set, then set it and clear it after finishing sending
out code.
For Function code BB to C2, C9 to CC, if "Num Lock" is set then clear it and set it after finishing
sending out code.
Keystroke
Hex
Value
Functional
Code
USB KB Code
Ctrl+2
00
1F Ctrl On
Ctrl+A
01
04 Ctrl On
Ctrl+B
02
05 Ctrl On
Ctrl+C
03
06 Ctrl On
Ctrl+D
04
07 Ctrl On
Ctrl+E
05
08 Ctrl On
Ctrl+F
06
09 Ctrl On
Ctrl+G
07
0A Ctrl On
BS
08
\bs
2A
Tab
09
\tab
2B
Ctrl+J
0A
0D Ctrl On
Ctrl+K
0B
0E Ctrl On
Ctrl+L
0C
0F Ctrl On
Enter
0D
\enter
28
Ctrl+N
0E
11 Ctrl On
Ctrl+O
0F
12 Ctrl On
Ctrl+P
10
13 Ctrl On
Ctrl+Q
11
14 Ctrl On
Ctrl+R
12
15 Ctrl On
Ctrl+S
13
16 Ctrl On
Ctrl+T
14
17 Ctrl On
Ctrl+U
15
18 Ctrl On
Ctrl+V
16
19 Ctrl On
Ctrl+W
17
1A Ctrl On
Ctrl+X
18
1B Ctrl On
Ctrl+Y
19
1C Ctrl On
Ctrl+Z
1A
1D Ctrl On
ESC
1B
\esc
29