1# 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# Emulator keyboard character map #1.
17#
18# This file is no longer used as the platform's default keyboard character map.
19# Refer to Generic.kcm and Virtual.kcm instead.
20#
21
22type ALPHA
23
24key A {
25    label:                              'A'
26    number:                             '2'
27    base:                               'a'
28    shift, capslock:                    'A'
29    alt:                                '#'
30    shift+alt, capslock+alt:            none
31}
32
33key B {
34    label:                              'B'
35    number:                             '2'
36    base:                               'b'
37    shift, capslock:                    'B'
38    alt:                                '<'
39    shift+alt, capslock+alt:            none
40}
41
42key C {
43    label:                              'C'
44    number:                             '2'
45    base:                               'c'
46    shift, capslock:                    'C'
47    alt:                                '9'
48    shift+alt, capslock+alt:            '\u00e7'
49}
50
51key D {
52    label:                              'D'
53    number:                             '3'
54    base:                               'd'
55    shift, capslock:                    'D'
56    alt:                                '5'
57    shift+alt, capslock+alt:            none
58}
59
60key E {
61    label:                              'E'
62    number:                             '3'
63    base:                               'e'
64    shift, capslock:                    'E'
65    alt:                                '2'
66    shift+alt, capslock+alt:            '\u0301'
67}
68
69key F {
70    label:                              'F'
71    number:                             '3'
72    base:                               'f'
73    shift, capslock:                    'F'
74    alt:                                '6'
75    shift+alt, capslock+alt:            '\u00a5'
76}
77
78key G {
79    label:                              'G'
80    number:                             '4'
81    base:                               'g'
82    shift, capslock:                    'G'
83    alt:                                '-'
84    shift+alt, capslock+alt:            '_'
85}
86
87key H {
88    label:                              'H'
89    number:                             '4'
90    base:                               'h'
91    shift, capslock:                    'H'
92    alt:                                '['
93    shift+alt, capslock+alt:            '{'
94}
95
96key I {
97    label:                              'I'
98    number:                             '4'
99    base:                               'i'
100    shift, capslock:                    'I'
101    alt:                                '$'
102    shift+alt, capslock+alt:            '\u0302'
103}
104
105key J {
106    label:                              'J'
107    number:                             '5'
108    base:                               'j'
109    shift, capslock:                    'J'
110    alt:                                ']'
111    shift+alt, capslock+alt:            '}'
112}
113
114key K {
115    label:                              'K'
116    number:                             '5'
117    base:                               'k'
118    shift, capslock:                    'K'
119    alt:                                '"'
120    shift+alt, capslock+alt:            '~'
121}
122
123key L {
124    label:                              'L'
125    number:                             '5'
126    base:                               'l'
127    shift, capslock:                    'L'
128    alt:                                '\''
129    shift+alt, capslock+alt:            '`'
130}
131
132key M {
133    label:                              'M'
134    number:                             '6'
135    base:                               'm'
136    shift, capslock:                    'M'
137    alt:                                '!'
138    shift+alt, capslock+alt:            none
139}
140
141key N {
142    label:                              'N'
143    number:                             '6'
144    base:                               'n'
145    shift, capslock:                    'N'
146    alt:                                '>'
147    shift+alt, capslock+alt:            '\u0303'
148}
149
150key O {
151    label:                              'O'
152    number:                             '6'
153    base:                               'o'
154    shift, capslock:                    'O'
155    alt:                                '('
156    shift+alt, capslock+alt:            none
157}
158
159key P {
160    label:                              'P'
161    number:                             '7'
162    base:                               'p'
163    shift, capslock:                    'P'
164    alt:                                ')'
165    shift+alt, capslock+alt:            none
166}
167
168key Q {
169    label:                              'Q'
170    number:                             '7'
171    base:                               'q'
172    shift, capslock:                    'Q'
173    alt:                                '*'
174    shift+alt, capslock+alt:            '\u0300'
175}
176
177key R {
178    label:                              'R'
179    number:                             '7'
180    base:                               'r'
181    shift, capslock:                    'R'
182    alt:                                '3'
183    shift+alt, capslock+alt:            '\u20ac'
184}
185
186key S {
187    label:                              'S'
188    number:                             '7'
189    base:                               's'
190    shift, capslock:                    'S'
191    alt:                                '4'
192    shift+alt, capslock+alt:            '\u00df'
193}
194
195key T {
196    label:                              'T'
197    number:                             '8'
198    base:                               't'
199    shift, capslock:                    'T'
200    alt:                                '+'
201    shift+alt, capslock+alt:            '\u00a3'
202}
203
204key U {
205    label:                              'U'
206    number:                             '8'
207    base:                               'u'
208    shift, capslock:                    'U'
209    alt:                                '&'
210    shift+alt, capslock+alt:            '\u0308'
211}
212
213key V {
214    label:                              'V'
215    number:                             '8'
216    base:                               'v'
217    shift, capslock:                    'V'
218    alt:                                '='
219    shift+alt, capslock+alt:            '^'
220}
221
222key W {
223    label:                              'W'
224    number:                             '9'
225    base:                               'w'
226    shift, capslock:                    'W'
227    alt:                                '1'
228    shift+alt, capslock+alt:            none
229}
230
231key X {
232    label:                              'X'
233    number:                             '9'
234    base:                               'x'
235    shift, capslock:                    'X'
236    alt:                                '8'
237    shift+alt, capslock+alt:            '\uef00'
238}
239
240key Y {
241    label:                              'Y'
242    number:                             '9'
243    base:                               'y'
244    shift, capslock:                    'Y'
245    alt:                                '%'
246    shift+alt, capslock+alt:            '\u00a1'
247}
248
249key Z {
250    label:                              'Z'
251    number:                             '9'
252    base:                               'z'
253    shift, capslock:                    'Z'
254    alt:                                '7'
255    shift+alt, capslock+alt:            none
256}
257
258key COMMA {
259    label:                              ','
260    number:                             ','
261    base:                               ','
262    shift:                              ';'
263    alt:                                ';'
264    shift+alt:                          '|'
265}
266
267key PERIOD {
268    label:                              '.'
269    number:                             '.'
270    base:                               '.'
271    shift:                              ':'
272    alt:                                ':'
273    shift+alt:                          '\u2026'
274}
275
276key AT {
277    label:                              '@'
278    number:                             '0'
279    base:                               '@'
280    shift:                              '0'
281    alt:                                '0'
282    shift+alt:                          '\u2022'
283}
284
285key SLASH {
286    label:                              '/'
287    number:                             '/'
288    base:                               '/'
289    shift:                              '?'
290    alt:                                '?'
291    shift+alt:                          '\\'
292}
293
294key SPACE {
295    label:                              ' '
296    number:                             ' '
297    base:                               ' '
298    shift:                              ' '
299    alt:                                '\uef01'
300    shift+alt:                          '\uef01'
301}
302
303key ENTER {
304    label:                              '\n'
305    number:                             '\n'
306    base:                               '\n'
307    shift:                              '\n'
308    alt:                                '\n'
309    shift+alt:                          '\n'
310}
311
312key TAB {
313    label:                              '\t'
314    number:                             '\t'
315    base:                               '\t'
316    shift:                              '\t'
317    alt:                                '\t'
318    shift+alt:                          '\t'
319}
320
321key 0 {
322    label:                              '0'
323    number:                             '0'
324    base:                               '0'
325    shift:                              ')'
326    alt:                                ')'
327    shift+alt:                          ')'
328}
329
330key 1 {
331    label:                              '1'
332    number:                             '1'
333    base:                               '1'
334    shift:                              '!'
335    alt:                                '!'
336    shift+alt:                          '!'
337}
338
339key 2 {
340    label:                              '2'
341    number:                             '2'
342    base:                               '2'
343    shift:                              '@'
344    alt:                                '@'
345    shift+alt:                          '@'
346}
347
348key 3 {
349    label:                              '3'
350    number:                             '3'
351    base:                               '3'
352    shift:                              '#'
353    alt:                                '#'
354    shift+alt:                          '#'
355}
356
357key 4 {
358    label:                              '4'
359    number:                             '4'
360    base:                               '4'
361    shift:                              '$'
362    alt:                                '$'
363    shift+alt:                          '$'
364}
365
366key 5 {
367    label:                              '5'
368    number:                             '5'
369    base:                               '5'
370    shift:                              '%'
371    alt:                                '%'
372    shift+alt:                          '%'
373}
374
375key 6 {
376    label:                              '6'
377    number:                             '6'
378    base:                               '6'
379    shift:                              '^'
380    alt:                                '^'
381    shift+alt:                          '^'
382}
383
384key 7 {
385    label:                              '7'
386    number:                             '7'
387    base:                               '7'
388    shift:                              '&'
389    alt:                                '&'
390    shift+alt:                          '&'
391}
392
393key 8 {
394    label:                              '8'
395    number:                             '8'
396    base:                               '8'
397    shift:                              '*'
398    alt:                                '*'
399    shift+alt:                          '*'
400}
401
402key 9 {
403    label:                              '9'
404    number:                             '9'
405    base:                               '9'
406    shift:                              '('
407    alt:                                '('
408    shift+alt:                          '('
409}
410
411key GRAVE {
412    label:                              '`'
413    number:                             '`'
414    base:                               '`'
415    shift:                              '~'
416    alt:                                '`'
417    shift+alt:                          '~'
418}
419
420key MINUS {
421    label:                              '-'
422    number:                             '-'
423    base:                               '-'
424    shift:                              '_'
425    alt:                                '-'
426    shift+alt:                          '_'
427}
428
429key EQUALS {
430    label:                              '='
431    number:                             '='
432    base:                               '='
433    shift:                              '+'
434    alt:                                '='
435    shift+alt:                          '+'
436}
437
438key LEFT_BRACKET {
439    label:                              '['
440    number:                             '['
441    base:                               '['
442    shift:                              '{'
443    alt:                                '['
444    shift+alt:                          '{'
445}
446
447key RIGHT_BRACKET {
448    label:                              ']'
449    number:                             ']'
450    base:                               ']'
451    shift:                              '}'
452    alt:                                ']'
453    shift+alt:                          '}'
454}
455
456key BACKSLASH {
457    label:                              '\\'
458    number:                             '\\'
459    base:                               '\\'
460    shift:                              '|'
461    alt:                                '\\'
462    shift+alt:                          '|'
463}
464
465key SEMICOLON {
466    label:                              ';'
467    number:                             ';'
468    base:                               ';'
469    shift:                              ':'
470    alt:                                ';'
471    shift+alt:                          ':'
472}
473
474key APOSTROPHE {
475    label:                              '\''
476    number:                             '\''
477    base:                               '\''
478    shift:                              '"'
479    alt:                                '\''
480    shift+alt:                          '"'
481}
482
483key STAR {
484    label:                              '*'
485    number:                             '*'
486    base:                               '*'
487    shift:                              '*'
488    alt:                                '*'
489    shift+alt:                          '*'
490}
491
492key POUND {
493    label:                              '#'
494    number:                             '#'
495    base:                               '#'
496    shift:                              '#'
497    alt:                                '#'
498    shift+alt:                          '#'
499}
500
501key PLUS {
502    label:                              '+'
503    number:                             '+'
504    base:                               '+'
505    shift:                              '+'
506    alt:                                '+'
507    shift+alt:                          '+'
508}
509