Appendix C Keyboard
Compaq Personal Computers
Changed - April 1998
C-12
Table C-2. Keyboard Scan Codes
(Continued)
Key
Pos. Legend Mode 1 Mode 2 Mode 3
81 N 31/B1 31/F0 31 31/F0 31
82 M 32/B2 3A/F0 3A 3A/F0 3A
83 , 33/B3 41/F0 41 41/F0 41
84 . 34/B4 49/F0 49 49/F0 49
85 / 35/B5 4A/F0 4A 4A/F0 4A
86 Shift (right) 36/B6 59/F0 59 59/F0 59
87 E0 48/E0 C8
E0 AA E0 48/E0 C8 E0 2A [4]
E0 2A E0 48/E0 C8 E0 AA [6]
E0 75/E0 F0 75
E0 F0 12 E0 75/E0 F0 75 E0 12 [5]
E0 12 E0 75/E0 F0 75 E0 F0 12 [6]
63/F0 63
88 1 4F/CF [6] 69/F0 69 [6] 69/na [6]
89 2 50/D0 [6] 72/F0 72 [6] 72/na [6]
90 3 51/D1 [6] 7A/F0 7A [6] 7A/na [6]
91 Enter E0 1C/E0 9C E0 5A/F0 E0 5A 79/F0 79[6]
92 Ctrl (left) 1D/9D 14/F0 14 11/F0 11
93 Alt (left) 38/B8 11/F0 11 19/F0 19
94 (Space) 39/B9 29/F0 29 29/F0 29
95 Alt (right) E0 38/E0 B8 E0 11/F0 E0 11 39/na
96 Ctrl (right) E0 1D/E0 9D E0 14/F0 E0 14 58/na
97 E0 4B/E0 CB
E0 AA E0 4B/E0 CB E0 2A [4]
E0 2A E0 4B/E0 CB E0 AA [6]
E0 6B/Eo F0 6B
E0 F0 12 E0 6B/E0 F0 6B E0 12[5]
E0 12 E0 6B/E0 F0 6B E0 F0 12[6]
61/F0 61
98 E0 50/E0 D0
E0 AA E0 50/E0 D0 E0 2A [4]
E0 2A E0 50/E0 D0 E0 AA [6]
E0 72/E0 F0 72
E0 F0 12 E0 72/E0 F0 72 E0 12[5]
E0 12 E0 72/E0 F0 72 E0 F0 12[6]
60/F0 60
99 E0 4D/E0 CD
E0 AA E0 4D/E0 CD E0 2A [4]
E0 2A E0 4D/E0 CD E0 AA [6]
E0 74/E0 F0 74
E0 F0 12 E0 74/E0 F0 74 E0 12[5]
E0 12 E0 74/E0 F0 74 E0 F0 12[6]
6A/F0 6A
100 0 52/D2 [6] 70/F0 70 [6] 70/na [6]
101 . 53/D3 [6] 71/F0 71 [6] 71/na [6]
102 na 7E/FE 6D/F0 6D 7B/F0 7B
103 na 2B/AB 5D/F0 5D 53/F0 53
104 na 36/D6 61/F0 61 13/F0 13
110 (Win95) [7] E0 5B/E0 DB
E0 AA E0 5B/E0 DB E0 2A [4]
E0 2A E0 5B/E0 DB E0 AA [6]
E0 1F/E0 F0 1F
E0 F0 12 E0 1F/E0 F0 1F E0 12 [5]
E0 12 E0 1F/E0 F0 1F E0 F0 12 [6]
8B/F0 8B
111 (Win95) [7] E0 5C/E0 DC
E0 AA E0 5C/E0 DC E0 2A [4]
E0 2A E0 5C/E0 DC E0 AA [6]
E0 2F/E0 F0 27
E0 F0 12 E0 27/E0 F0 27 E0 12 [5]
E0 12 E0 27/E0 F0 27 E0 F0 12 [6]
8C/F0 8C
112 (Win Apps)
[7]
E0 5D/E0 DD
E0 AA E0 5D/E0 DD E0 2A [4]
E0 2A E0 5D E0 DD E0 AA [6]
E0 2F/E0 F0 2F
E0 F0 12 E0 2F/E0 F0 2F E0 12 [5]
E0 12 E0 2F/E0 F0 2F E0 F0 12 [6
8D/F0 8D
NOTES:
All codes assume Shift, Ctrl, and Alt keys inactive unless otherwise noted.
NA = Not applicable
[1] Shift (left) key active.
[2] Ctrl key active.
[3] Alt key active.
[4] Left Shift key active. For active right Shift key, substitute AA/2A make/break codes for B6/36 codes.
[5] Left Shift key active. For active right Shift key, substitute F0 12/12 make/break codes
for F0 59/59 codes.
[6] Num Lock key active.
[7] Windows keyboards only
Make / Break Codes (Hex)