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