EXTENDED ASCII KEYBOARD CODES
Certain
keys cannot be represented by the standard ascii codes. To represent the
codes, a two-character sequence is used. The first character is always an
ASCII NUL (0). The second character and its translations are listed in the
following table. Some codes expand to multi-keystroke characters.
If an
asterisk (*) appears in the Enhance Only column, the sequence is available
only on the Enhanced Keyboards (101- and 102-key keyboards).
Enhance Decimal
Only Meaning Hex Octal Binary Extended
ASCII
* 1 01 001 00000001 Alt-Esc
3 03 002 00000011 Null (null character)
* 14 0E 016 00001110 Alt-Backspace
15 0F 017 00001111 Shift-Tab
(back-tab)
16 10 020 00010000 Alt-Q
17 11 021 00010001 Alt-W
18 12 022 00010010 Alt-E
19 13 023 00010011 Alt-R
20 14 024 00010100 Alt-T
21 15 025 00010101 Alt-Y
22 16 026 00010110 Alt-U
23 17 027 00010111 Alt-I
24 18 030 00011000 Alt-O
25 19 031 00011001 Alt-P
* 26 1A 032 00011010 Alt-[
* 27 1B 033 00011011 Alt-]
* 28 1C 034 00011100 Alt-Enter
30 1E 036 00011110 Alt-A
31 1F 037 00011111 Alt-S
32 20 040 00100000 Alt-D
33 21 041 00100001 Alt-F
34 22 042 00100010 Alt-G
35 23 043 00100011 Alt-H
36 24 044 00100100 Alt-J
37 25 045 00100101 Alt-K
38 26 046 00100110 Alt-L
* 39 27 047 00100111 Alt-;
* 40 28 050 00101000 Alt-’
* 41 29 051 00101001 Alt-’
* 43 2B 053 00101011 Alt-\
44 2C 054 00101100 Alt-Z
45 2D 055 00101101 Alt-X
46 2E 056 00101110 Alt-C
47 2F 057 00101111 Alt-V
48 30 060 00110000 Alt-B
49 31 061 00110001 Alt-N
50 32 062 00110010 Alt-M
* 51 33 063 00110011 Alt-,
* 52 34 064 00110100 Alt-.
* 53 35 065 00110101 Alt-/
* 55 37 067 00110111 Alt-* (keypad)
57 39 071 00111001 Alt-space-bar
59 3B 073 00111011 F1
60 3C 074 00111100 F2
61 3D 075 00111101 F3
62 3E 076 00111110 F4
63 3F 077 00111111 F5
64 40 100 01000000 F6
65 41 101 01000001 F7
66 42 102 01000010 F8
67 43 103 01000011 F9
68 44 104 01000100 F10
71 47 107 01000111 Home
72 48 110 01001000 -
73 49 111 01001001 PgUp
74 4A 112 01001010 Alt-, (keypad)
75 4B 113 01001011 é
76 4C 114 01001100 Shift-5 (keypad)
77 4D 115 01001101 ƒ
78 4E 116 01001110 Alt-+ (keypad)
79 4F 117 01001111 End
* 80 50 120 01010000
* 81 51 121 01010001 PgDn
* 82 52 122 01010010 Ins (Insert)
83 53 123 01010011 Del (Delete)
84 54 124 01010100 Shift-F1
85 55 125 01010101 Shift-F2
86 56 126 01010110 Shift-F3
87 57 127 01010111 Shift-F4
88 58 130 01011000 Shift-F5
89 59 131 01011001 Shift-F6
90 5A 132 01011010 Shift-F7
91 5B 133 01011011 Shift-F8
92 5C 134 01011100 Shift-F9
93 5D 135 01011101 Shift-F10
94 5E 136 01011110 Ctrl-F1
95 5F 137 01011111 Ctrl-F2
96 60 140 01100000 Ctrl-F3
97 61 141 01100001 Ctrl-F4
98 62 142 01100010 Ctrl-F5
99 63 143 01100011 Ctrl-F6
100 64 144 01100100 Ctrl-F7
101 65 145 01100101 Ctrl-F8
102 66 146 01100110 Ctrl-F9
103 67 147 01100111 Ctrl-F10
104 68 150 01101000 Alt-F1
105 69 151 01101001 Alt-F2
106 6A 152 01101010 Alt-F3
107 6B 153 01101011 Alt-F4
108 6C 154 01101100 Alt-F5
109 6D 155 01101101 Alt-F6
110 6E 156 01101110 Alt-F7
111 6F 157 01101111 Alt-F8
112 70 160 01110000 Alt-F9
113 71 161 01110001 Alt-F10
114 72 162 01110010 Ctrl-PrtSc
115 73 163 01110011 Ctrl-
116 74 164 01110100 Ctrl-Ò
117 75 165 01110101 Ctrl-End
118 76 166 01110110 Ctrl-PgDn
119 77 167 01110111 Ctrl-Home
120 78 170 01111000 Alt-1 (keyboard)
121 79 171 01111001 Alt-2 (keyboard)
122 7A 172 01111010 Alt-3 (keyboard)
123 7B 173 01111011 Alt-4 (keyboard)
124 7C 174 01111100 Alt-5 (keyboard)
125 7D 175 01111101 Alt-6 (keyboard)
126 7E 176 01111110 Alt-7 (keyboard)
127 7F 177 01111111 Alt-8
(keyboard)
128 80 200 10000000 Alt-9 (keyboard)
129 81 201 10000001 Alt-0 (keyboard)
130 82 202 10000010 Alt-, (keyboard)
131 83 203 10000011 Alt-= (keyboard)
132 84 204 10000100 Ctrl-PgUp
* 133 85 205 10000101 F11
* 134 86 206 10000110 F12
* 135 87 207 10000111 Shift-F11
* 136 88 210 10001000 Shift-F12
* 137 89 211 10001001 Ctrl-F11
* 138 8A 212 10001010 Ctrl-F12
* 139 8B 213 10001011 Alt-F11
* 140 8C 214 10001100 Alt-F12
141 8D 215 10001101 Ctrl--/8 (keypad)
142 8E 216 10001110 Ctrl-, (keypad)
143 8F 217 10001111 Ctrl-5
(keypad)
144 90 220 10010000 Ctrl-+ (keypad)
145 91 221 10010001 Ctrl- /2 (keypad)
146 92 222 10010010 Ctrl-Ins/0 (keypad)
147 93 223 10010011 Ctrl-Del/. (keypad)
148 94 224 10010100 Ctrl-Tab
* 149 95 225 10010101 Ctrl-/ (keypad)
* 150 96 226 10010110 Ctrl-* (keypad)
* 151 97 227 10010111 Alt-Home
* 152 98 230 10011000 Alt--
* 153 99 231 10011001 Alt-Page Up
* 155 9B 233 10011011 Alt-
* 157 9D 235 10011101 Alt-Ò
* 159 9F 237 10011111 Alt-End
* 160 A0 240 10100000 Alt-
* 161 A1 241 10100001 Alt-Page Down
* 162 A2 242 10100010 Alt-Insert
* 163 A3 243 10100011 Alt-Delete
* 164 A4 244 10100100 Alt-/ (keypad)
* 165 A5 245 10100101 Alt-Tab
* 166 A6 246 10100110 Alt-Enter
|