blob: 682584cd0005fa18cf4651c76b969cb4ef404b9a [file] [log] [blame]
Jeff Brown497a92c2010-09-12 17:55:08 -07001# Copyright (C) 2010 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#
16# Generic key character map for full alphabetic US English PC style external keyboards.
17#
18# This file is intentionally very generic and is intended to support a broad rang of keyboards.
19# Do not edit the generic key character map to support a specific keyboard; instead, create
20# a new key character map file with the required keyboard configuration.
21#
22
Jeff Brown6b53e8d2010-11-10 16:03:06 -080023type FULL
Jeff Brown497a92c2010-09-12 17:55:08 -070024
Jeff Brown6b53e8d2010-11-10 16:03:06 -080025key A {
26 label: 'A'
27 base: 'a'
28 shift, capslock: 'A'
29 ctrl, alt, meta: none
30}
Jeff Brown497a92c2010-09-12 17:55:08 -070031
Jeff Brown6b53e8d2010-11-10 16:03:06 -080032key B {
33 label: 'B'
34 base: 'b'
35 shift, capslock: 'B'
36 ctrl, alt, meta: none
37}
Jeff Brown497a92c2010-09-12 17:55:08 -070038
Jeff Brown6b53e8d2010-11-10 16:03:06 -080039key C {
40 label: 'C'
41 base: 'c'
42 shift, capslock: 'C'
43 ctrl, alt, meta: none
44}
Jeff Brown497a92c2010-09-12 17:55:08 -070045
Jeff Brown6b53e8d2010-11-10 16:03:06 -080046key D {
47 label: 'D'
48 base: 'd'
49 shift, capslock: 'D'
50 ctrl, alt, meta: none
51}
Jeff Brown497a92c2010-09-12 17:55:08 -070052
Jeff Brown6b53e8d2010-11-10 16:03:06 -080053key E {
54 label: 'E'
55 base: 'e'
56 shift, capslock: 'E'
57 ctrl, alt, meta: none
58}
Jeff Brown497a92c2010-09-12 17:55:08 -070059
Jeff Brown6b53e8d2010-11-10 16:03:06 -080060key F {
61 label: 'F'
62 base: 'f'
63 shift, capslock: 'F'
64 ctrl, alt, meta: none
65}
66
67key G {
68 label: 'G'
69 base: 'g'
70 shift, capslock: 'G'
71 ctrl, alt, meta: none
72}
73
74key H {
75 label: 'H'
76 base: 'h'
77 shift, capslock: 'H'
78 ctrl, alt, meta: none
79}
80
81key I {
82 label: 'I'
83 base: 'i'
84 shift, capslock: 'I'
85 ctrl, alt, meta: none
86}
87
88key J {
89 label: 'J'
90 base: 'j'
91 shift, capslock: 'J'
92 ctrl, alt, meta: none
93}
94
95key K {
96 label: 'K'
97 base: 'k'
98 shift, capslock: 'K'
99 ctrl, alt, meta: none
100}
101
102key L {
103 label: 'L'
104 base: 'l'
105 shift, capslock: 'L'
106 ctrl, alt, meta: none
107}
108
109key M {
110 label: 'M'
111 base: 'm'
112 shift, capslock: 'M'
113 ctrl, alt, meta: none
114}
115
116key N {
117 label: 'N'
118 base: 'n'
119 shift, capslock: 'N'
120 ctrl, alt, meta: none
121}
122
123key O {
124 label: 'O'
125 base: 'o'
126 shift, capslock: 'O'
127 ctrl, alt, meta: none
128}
129
130key P {
131 label: 'P'
132 base: 'p'
133 shift, capslock: 'P'
134 ctrl, alt, meta: none
135}
136
137key Q {
138 label: 'Q'
139 base: 'q'
140 shift, capslock: 'Q'
141 ctrl, alt, meta: none
142}
143
144key R {
145 label: 'R'
146 base: 'r'
147 shift, capslock: 'R'
148 ctrl, alt, meta: none
149}
150
151key S {
152 label: 'S'
153 base: 's'
154 shift, capslock: 'S'
155 ctrl, alt, meta: none
156}
157
158key T {
159 label: 'T'
160 base: 't'
161 shift, capslock: 'T'
162 ctrl, alt, meta: none
163}
164
165key U {
166 label: 'U'
167 base: 'u'
168 shift, capslock: 'U'
169 ctrl, alt, meta: none
170}
171
172key V {
173 label: 'V'
174 base: 'v'
175 shift, capslock: 'V'
176 ctrl, alt, meta: none
177}
178
179key W {
180 label: 'W'
181 base: 'w'
182 shift, capslock: 'W'
183 ctrl, alt, meta: none
184}
185
186key X {
187 label: 'X'
188 base: 'x'
189 shift, capslock: 'X'
190 ctrl, alt, meta: none
191}
192
193key Y {
194 label: 'Y'
195 base: 'y'
196 shift, capslock: 'Y'
197 ctrl, alt, meta: none
198}
199
200key Z {
201 label: 'Z'
202 base: 'z'
203 shift, capslock: 'Z'
204 ctrl, alt, meta: none
205}
206
207key 0 {
208 label, number: '0'
209 base: '0'
210 shift: ')'
211 ctrl, alt, meta: none
212}
213
214key 1 {
215 label, number: '1'
216 base: '1'
217 shift: '!'
218 ctrl, alt, meta: none
219}
220
221key 2 {
222 label, number: '2'
223 base: '2'
224 shift: '@'
225 ctrl, alt, meta: none
226}
227
228key 3 {
229 label, number: '3'
230 base: '3'
231 shift: '#'
232 ctrl, alt, meta: none
233}
234
235key 4 {
236 label, number: '4'
237 base: '4'
238 shift: '$'
239 ctrl, alt, meta: none
240}
241
242key 5 {
243 label, number: '5'
244 base: '5'
245 shift: '%'
246 ctrl, alt, meta: none
247}
248
249key 6 {
250 label, number: '6'
251 base: '6'
252 shift: '^'
253 ctrl, alt, meta: none
254}
255
256key 7 {
257 label, number: '7'
258 base: '7'
259 shift: '&'
260 ctrl, alt, meta: none
261}
262
263key 8 {
264 label, number: '8'
265 base: '8'
266 shift: '*'
267 ctrl, alt, meta: none
268}
269
270key 9 {
271 label, number: '9'
272 base: '9'
273 shift: '('
274 ctrl, alt, meta: none
275}
276
277key SPACE {
278 label: ' '
279 base: ' '
280 ctrl, alt, meta: none
281}
282
283key ENTER {
284 label: '\n'
285 base: '\n'
286 ctrl, alt, meta: none
287}
288
289key TAB {
290 label: '\t'
291 base: '\t'
292 ctrl, alt, meta: none
293}
294
295key COMMA {
296 label, number: ','
297 base: ','
298 shift: '<'
299 ctrl, alt, meta: none
300}
301
302key PERIOD {
303 label, number: '.'
304 base: '.'
305 shift: '>'
306 ctrl, alt, meta: none
307}
308
309key SLASH {
310 label, number: '/'
311 base: '/'
312 shift: '?'
313 ctrl, alt, meta: none
314}
315
316key GRAVE {
317 label, number: '`'
318 base: '`'
319 shift: '~'
320 ctrl, alt, meta: none
321}
322
323key MINUS {
324 label, number: '-'
325 base: '-'
326 shift: '_'
327 ctrl, alt, meta: none
328}
329
330key EQUALS {
331 label, number: '='
332 base: '='
333 shift: '+'
334 ctrl, alt, meta: none
335}
336
337key LEFT_BRACKET {
338 label, number: '['
339 base: '['
340 shift: '{'
341 ctrl, alt, meta: none
342}
343
344key RIGHT_BRACKET {
345 label, number: ']'
346 base: ']'
347 shift: '}'
348 ctrl, alt, meta: none
349}
350
351key BACKSLASH {
352 label, number: '\\'
353 base: '\\'
354 shift: '|'
355 ctrl, alt, meta: none
356}
357
358key SEMICOLON {
359 label, number: ';'
360 base: ';'
361 shift: ':'
362 ctrl, alt, meta: none
363}
364
365key APOSTROPHE {
366 label, number: '\''
367 base: '\''
368 shift: '"'
369 ctrl, alt, meta: none
370}
371
372key NUMPAD_0 {
373 label, number: '0'
374 base: fallback INSERT
375 numlock: '0'
376 ctrl, alt, meta: none
377}
378
379key NUMPAD_1 {
380 label, number: '1'
381 base: fallback MOVE_END
382 numlock: '1'
383 ctrl, alt, meta: none
384}
385
386key NUMPAD_2 {
387 label, number: '2'
388 base: fallback DPAD_DOWN
389 numlock: '2'
390 ctrl, alt, meta: none
391}
392
393key NUMPAD_3 {
394 label, number: '3'
395 base: fallback PAGE_DOWN
396 numlock: '3'
397 ctrl, alt, meta: none
398}
399
400key NUMPAD_4 {
401 label, number: '4'
402 base: fallback DPAD_LEFT
403 numlock: '4'
404 ctrl, alt, meta: none
405}
406
407key NUMPAD_5 {
408 label, number: '5'
409 base: fallback DPAD_CENTER
410 numlock: '5'
411 ctrl, alt, meta: none
412}
413
414key NUMPAD_6 {
415 label, number: '6'
416 base: fallback DPAD_RIGHT
417 numlock: '6'
418 ctrl, alt, meta: none
419}
420
421key NUMPAD_7 {
422 label, number: '7'
423 base: fallback MOVE_HOME
424 numlock: '7'
425 ctrl, alt, meta: none
426}
427
428key NUMPAD_8 {
429 label, number: '8'
430 base: fallback DPAD_UP
431 numlock: '8'
432 ctrl, alt, meta: none
433}
434
435key NUMPAD_9 {
436 label, number: '9'
437 base: fallback PAGE_UP
438 numlock: '9'
439 ctrl, alt, meta: none
440}
441
442key NUMPAD_LEFT_PAREN {
443 label, number: '('
444 base: '('
445 ctrl, alt, meta: none
446}
447
448key NUMPAD_RIGHT_PAREN {
449 label, number: ')'
450 base: ')'
451 ctrl, alt, meta: none
452}
453
454key NUMPAD_DIVIDE {
455 label, number: '/'
456 base: '/'
457 ctrl, alt, meta: none
458}
459
460key NUMPAD_MULTIPLY {
461 label, number: '*'
462 base: '*'
463 ctrl, alt, meta: none
464}
465
466key NUMPAD_SUBTRACT {
467 label, number: '-'
468 base: '-'
469 ctrl, alt, meta: none
470}
471
472key NUMPAD_ADD {
473 label, number: '+'
474 base: '+'
475 ctrl, alt, meta: none
476}
477
478key NUMPAD_DOT {
479 label, number: '.'
480 base: fallback FORWARD_DEL
481 numlock: '.'
482 ctrl, alt, meta: none
483}
484
485key NUMPAD_COMMA {
486 label, number: ','
487 base: ','
488 ctrl, alt, meta: none
489}
490
491key NUMPAD_EQUALS {
492 label, number: '='
493 base: '='
494 ctrl, alt, meta: none
495}
496
497key NUMPAD_ENTER {
498 label: '\n'
499 base: '\n' fallback ENTER
500 ctrl, alt, meta: none fallback ENTER
501}