Add more tests.
[pintos-anon] / specs / kbd / scancodes.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2 <HTML>
3 <HEAD>
4  <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
5  <TITLE>Keyboard scancodes</TITLE>
6  <LINK HREF="scancodes-1.html" REL=next>
7
8
9 </HEAD>
10 <BODY>
11 <A HREF="scancodes-1.html">Next</A>
12 Previous
13 Contents
14 <HR>
15 <H1>Keyboard scancodes</H1>
16
17 <H2>Andries Brouwer, <CODE>aeb@cwi.nl</CODE></H2>v1.2e, 2004-05-20
18 <P><HR>
19 <EM>This note contains some information about PC keyboard scancodes.</EM>
20 <HR>
21 <P>
22 <H2><A NAME="toc1">1.</A> <A HREF="scancodes-1.html">Keyboard scancodes</A></H2>
23
24 <UL>
25 <LI><A HREF="scancodes-1.html#ss1.1">1.1 Key release</A>
26 <LI><A HREF="scancodes-1.html#ss1.2">1.2 Protocol scancodes</A>
27 <LI><A HREF="scancodes-1.html#ss1.3">1.3 Escape scancodes</A>
28 <LI><A HREF="scancodes-1.html#ss1.4">1.4 Ordinary scancodes</A>
29 <LI><A HREF="scancodes-1.html#ss1.5">1.5 Escaped scancodes</A>
30 <LI><A HREF="scancodes-1.html#ss1.6">1.6 Fake shifts</A>
31 <LI><A HREF="scancodes-1.html#ss1.7">1.7 Added non-fake shifts</A>
32 <LI><A HREF="scancodes-1.html#ss1.8">1.8 Turbo Mode</A>
33 <LI><A HREF="scancodes-1.html#ss1.9">1.9 Power Saving</A>
34 <LI><A HREF="scancodes-1.html#ss1.10">1.10 Initializing special keyboards</A>
35 <LI><A HREF="scancodes-1.html#ss1.11">1.11 Manipulating extra LEDs</A>
36 <LI><A HREF="scancodes-1.html#ss1.12">1.12 The laptop FN key</A>
37 </UL>
38 <P>
39 <H2><A NAME="toc2">2.</A> <A HREF="scancodes-2.html">Special keyboards - XT keyboards</A></H2>
40
41 <UL>
42 <LI><A HREF="scancodes-2.html#ss2.1">2.1 XT keyboard</A>
43 <LI><A HREF="scancodes-2.html#ss2.2">2.2 Victor keyboard</A>
44 <LI><A HREF="scancodes-2.html#ss2.3">2.3 Olivetti M24 keyboard</A>
45 <LI><A HREF="scancodes-2.html#ss2.4">2.4 Telerate keyboard</A>
46 <LI><A HREF="scancodes-2.html#ss2.5">2.5 NCR keyboard</A>
47 <LI><A HREF="scancodes-2.html#ss2.6">2.6 Cherry G80-0777</A>
48 </UL>
49 <P>
50 <H2><A NAME="toc3">3.</A> <A HREF="scancodes-3.html">Special keyboards - Amstrad/Schneider keyboards</A></H2>
51
52 <UL>
53 <LI><A HREF="scancodes-3.html#ss3.1">3.1 Amstrad/Schneider PC1512</A>
54 <LI><A HREF="scancodes-3.html#ss3.2">3.2 Amstrad/Schneider other models</A>
55 </UL>
56 <P>
57 <H2><A NAME="toc4">4.</A> <A HREF="scancodes-4.html">Special keyboards - AT keyboards</A></H2>
58
59 <P>
60 <H2><A NAME="toc5">5.</A> <A HREF="scancodes-5.html">Special keyboards - MF II keyboards</A></H2>
61
62 <UL>
63 <LI><A HREF="scancodes-5.html#ss5.1">5.1 Compaq keyboards</A>
64 <LI><A HREF="scancodes-5.html#ss5.2">5.2 IBM keyboards</A>
65 <LI><A HREF="scancodes-5.html#ss5.3">5.3 Logitech keyboards</A>
66 <LI><A HREF="scancodes-5.html#ss5.4">5.4 Microsoft keyboards</A>
67 <LI><A HREF="scancodes-5.html#ss5.5">5.5 Safeway keyboards</A>
68 <LI><A HREF="scancodes-5.html#ss5.6">5.6 Internet Wireless Keyboard</A>
69 <LI><A HREF="scancodes-5.html#ss5.7">5.7 Nokia keyboard</A>
70 <LI><A HREF="scancodes-5.html#ss5.8">5.8 Focus KeyPro FK-9000 keyboard</A>
71 <LI><A HREF="scancodes-5.html#ss5.9">5.9 BTC keyboard</A>
72 <LI><A HREF="scancodes-5.html#ss5.10">5.10 LK411 and LK450 keyboards</A>
73 <LI><A HREF="scancodes-5.html#ss5.11">5.11 An OmniKey keyboard</A>
74 <LI><A HREF="scancodes-5.html#ss5.12">5.12 GRiD 2260 keyboard</A>
75 <LI><A HREF="scancodes-5.html#ss5.13">5.13 An old Olivetti keyboard</A>
76 <LI><A HREF="scancodes-5.html#ss5.14">5.14 Cherry G81-3000</A>
77 <LI><A HREF="scancodes-5.html#ss5.15">5.15 Accord keyboard</A>
78 <LI><A HREF="scancodes-5.html#ss5.16">5.16 Trust Ergonomic keyboard</A>
79 <LI><A HREF="scancodes-5.html#ss5.17">5.17 Brazilian keyboards</A>
80 <LI><A HREF="scancodes-5.html#ss5.18">5.18 RC930 keyboard</A>
81 <LI><A HREF="scancodes-5.html#ss5.19">5.19 Tandberg Data keyboard</A>
82 <LI><A HREF="scancodes-5.html#ss5.20">5.20 Host Connected keyboard</A>
83 <LI><A HREF="scancodes-5.html#ss5.21">5.21 A nameless USB keyboard</A>
84 <LI><A HREF="scancodes-5.html#ss5.22">5.22 Omnibook keyboard</A>
85 <LI><A HREF="scancodes-5.html#ss5.23">5.23 EZ Button keyboard</A>
86 <LI><A HREF="scancodes-5.html#ss5.24">5.24 Chicony KBP-8993 keyboard</A>
87 <LI><A HREF="scancodes-5.html#ss5.25">5.25 Keyboards for HP Kayak and Vectra</A>
88 <LI><A HREF="scancodes-5.html#ss5.26">5.26 A keyboard</A>
89 <LI><A HREF="scancodes-5.html#ss5.27">5.27 Yahoo! keyboard</A>
90 <LI><A HREF="scancodes-5.html#ss5.28">5.28 Honeywell Multimedia Keyboard</A>
91 <LI><A HREF="scancodes-5.html#ss5.29">5.29 Samsung Ergonomics Keyboard</A>
92 <LI><A HREF="scancodes-5.html#ss5.30">5.30 The "LiteOn MediaTouch Keyboard" type SK-2500</A>
93 <LI><A HREF="scancodes-5.html#ss5.31">5.31 The Acer Aspire 1310LC laptop</A>
94 <LI><A HREF="scancodes-5.html#ss5.32">5.32 The Emachines eKB-5190(A) keyboard</A>
95 <LI><A HREF="scancodes-5.html#ss5.33">5.33 Keyboards with many keys</A>
96 <LI><A HREF="scancodes-5.html#ss5.34">5.34 A keyboard treating PrtSc/SysRq like Pause/Break</A>
97 </UL>
98 <P>
99 <H2><A NAME="toc6">6.</A> <A HREF="scancodes-6.html">NCD keyboards</A></H2>
100
101 <UL>
102 <LI><A HREF="scancodes-6.html#ss6.1">6.1 A Japanese keyboard using e0 as ordinary scancode</A>
103 <LI><A HREF="scancodes-6.html#ss6.2">6.2 The NCD N-123NA keyboard</A>
104 <LI><A HREF="scancodes-6.html#ss6.3">6.3 The NCD N-123UX keyboard</A>
105 <LI><A HREF="scancodes-6.html#ss6.4">6.4 The NCD N-97 keyboard</A>
106 <LI><A HREF="scancodes-6.html#ss6.5">6.5 NCD X terminals</A>
107 </UL>
108 <P>
109 <H2><A NAME="toc7">7.</A> <A HREF="scancodes-7.html">Japanese keyboards</A></H2>
110
111 <UL>
112 <LI><A HREF="scancodes-7.html#ss7.1">7.1 Japanese 86/106 keyboards</A>
113 <LI><A HREF="scancodes-7.html#ss7.2">7.2 Description of the all-Japanese keys</A>
114 <LI><A HREF="scancodes-7.html#ss7.3">7.3 A Japanese keyboard that imitates a US one</A>
115 </UL>
116 <P>
117 <H2><A NAME="toc8">8.</A> <A HREF="scancodes-8.html">Korean keyboards</A></H2>
118
119 <UL>
120 <LI><A HREF="scancodes-8.html#ss8.1">8.1 An A4tech keyboard</A>
121 <LI><A HREF="scancodes-8.html#ss8.2">8.2 The DEC LK201-K</A>
122 </UL>
123 <P>
124 <H2><A NAME="toc9">9.</A> <A HREF="scancodes-9.html">Keyboard-internal scancodes</A></H2>
125
126 <UL>
127 <LI><A HREF="scancodes-9.html#ss9.1">9.1 Three scancode sets</A>
128 <LI><A HREF="scancodes-9.html#ss9.2">9.2 Make and Break codes</A>
129 <LI><A HREF="scancodes-9.html#ss9.3">9.3 Translation</A>
130 <LI><A HREF="scancodes-9.html#ss9.4">9.4 Correspondence</A>
131 <LI><A HREF="scancodes-9.html#ss9.5">9.5 Use</A>
132 <LI><A HREF="scancodes-9.html#ss9.6">9.6 A table</A>
133 <LI><A HREF="scancodes-9.html#ss9.7">9.7 Vendor extensions</A>
134 </UL>
135 <P>
136 <H2><A NAME="toc10">10.</A> <A HREF="scancodes-10.html">The AT keyboard controller</A></H2>
137
138 <UL>
139 <LI><A HREF="scancodes-10.html#ss10.1">10.1 The keyboard controller status register</A>
140 <LI><A HREF="scancodes-10.html#ss10.2">10.2 The keyboard controller command byte</A>
141 <LI><A HREF="scancodes-10.html#ss10.3">10.3 Keyboard controller commands</A>
142 <LI><A HREF="scancodes-10.html#ss10.4">10.4 The input port P1</A>
143 <LI><A HREF="scancodes-10.html#ss10.5">10.5 The output port P2</A>
144 <LI><A HREF="scancodes-10.html#ss10.6">10.6 The test port T</A>
145 </UL>
146 <P>
147 <H2><A NAME="toc11">11.</A> <A HREF="scancodes-11.html">Keyboard commands</A></H2>
148
149 <UL>
150 <LI><A HREF="scancodes-11.html#ss11.1">11.1 Keyboard command details</A>
151 </UL>
152 <P>
153 <H2><A NAME="toc12">12.</A> <A HREF="scancodes-12.html">The PS/2 Mouse</A></H2>
154
155 <UL>
156 <LI><A HREF="scancodes-12.html#ss12.1">12.1 Modes</A>
157 <LI><A HREF="scancodes-12.html#ss12.2">12.2 Scaling</A>
158 <LI><A HREF="scancodes-12.html#ss12.3">12.3 PS/2 mouse protocol</A>
159 <LI><A HREF="scancodes-12.html#ss12.4">12.4 Mouse Commands</A>
160 <LI><A HREF="scancodes-12.html#ss12.5">12.5 Sliced parameters</A>
161 <LI><A HREF="scancodes-12.html#ss12.6">12.6 Synaptics Touchpad</A>
162 <LI><A HREF="scancodes-12.html#ss12.7">12.7 Vendor extensions</A>
163 </UL>
164 <P>
165 <H2><A NAME="toc13">13.</A> <A HREF="scancodes-13.html">USB</A></H2>
166
167 <P>
168 <H2><A NAME="toc14">14.</A> <A HREF="scancodes-14.html">Reporting</A></H2>
169
170 <HR>
171 <A HREF="scancodes-1.html">Next</A>
172 Previous
173 Contents
174 </BODY>
175 </HTML>