Home | History | Annotate | Download | only in raw
      1 # Copyright (C) 2012 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 # Swiss German keyboard layout.
     17 # Same as Swiss French except in the placement of the umlaut / accented keys.
     18 #
     19 
     20 type OVERLAY
     21 
     22 map key 21 Z
     23 map key 44 Y
     24 map key 86 PLUS
     25 
     26 ### ROW 1
     27 
     28 key GRAVE {
     29     label:                              '\u00a7'
     30     base:                               '\u00a7'
     31     shift:                              '\u00b0'
     32 }
     33 
     34 key 1 {
     35     label:                              '1'
     36     base:                               '1'
     37     shift:                              '+'
     38     ralt:                               '\u00a6'
     39 }
     40 
     41 key 2 {
     42     label:                              '2'
     43     base:                               '2'
     44     shift:                              '"'
     45     ralt:                               '@'
     46 }
     47 
     48 key 3 {
     49     label:                              '3'
     50     base:                               '3'
     51     shift:                              '*'
     52     ralt:                               '#'
     53 }
     54 
     55 key 4 {
     56     label:                              '4'
     57     base:                               '4'
     58     shift:                              '\u00e7'
     59 }
     60 
     61 key 5 {
     62     label:                              '5'
     63     base:                               '5'
     64     shift:                              '%'
     65 }
     66 
     67 key 6 {
     68     label:                              '6'
     69     base:                               '6'
     70     shift:                              '&'
     71     ralt:                               '\u00ac'
     72 }
     73 
     74 key 7 {
     75     label:                              '7'
     76     base:                               '7'
     77     shift:                              '/'
     78     ralt:                               '|'
     79 }
     80 
     81 key 8 {
     82     label:                              '8'
     83     base:                               '8'
     84     shift:                              '('
     85     ralt:                               '\u00a2'
     86 }
     87 
     88 key 9 {
     89     label:                              '9'
     90     base:                               '9'
     91     shift:                              ')'
     92 }
     93 
     94 key 0 {
     95     label:                              '0'
     96     base:                               '0'
     97     shift:                              '='
     98 }
     99 
    100 key MINUS {
    101     label:                              '\''
    102     base:                               '\''
    103     shift:                              '?'
    104     ralt:                               '\u0301'
    105 }
    106 
    107 key EQUALS {
    108     label:                              '\u02c6'
    109     base:                               '\u0302'
    110     shift:                              '\u0300'
    111     ralt:                               '\u0303'
    112 }
    113 
    114 ### ROW 2
    115 
    116 key Q {
    117     label:                              'Q'
    118     base:                               'q'
    119     shift, capslock:                    'Q'
    120 }
    121 
    122 key W {
    123     label:                              'W'
    124     base:                               'w'
    125     shift, capslock:                    'W'
    126 }
    127 
    128 key E {
    129     label:                              'E'
    130     base:                               'e'
    131     shift, capslock:                    'E'
    132     ralt:                               '\u20ac'
    133 }
    134 
    135 key R {
    136     label:                              'R'
    137     base:                               'r'
    138     shift, capslock:                    'R'
    139 }
    140 
    141 key T {
    142     label:                              'T'
    143     base:                               't'
    144     shift, capslock:                    'T'
    145 }
    146 
    147 key Z {
    148     label:                              'Z'
    149     base:                               'z'
    150     shift, capslock:                    'Z'
    151 }
    152 
    153 key U {
    154     label:                              'U'
    155     base:                               'u'
    156     shift, capslock:                    'U'
    157 }
    158 
    159 key I {
    160     label:                              'I'
    161     base:                               'i'
    162     shift, capslock:                    'I'
    163 }
    164 
    165 key O {
    166     label:                              'O'
    167     base:                               'o'
    168     shift, capslock:                    'O'
    169 }
    170 
    171 key P {
    172     label:                              'P'
    173     base:                               'p'
    174     shift, capslock:                    'P'
    175 }
    176 
    177 key LEFT_BRACKET {
    178     label:                              '\u00fc'
    179     base:                               '\u00fc'
    180     shift:                              '\u00e8'
    181     ralt:                               '['
    182 }
    183 
    184 key RIGHT_BRACKET {
    185     label:                              '\u00a8'
    186     base:                               '\u0308'
    187     shift:                              '!'
    188     ralt:                               ']'
    189 }
    190 
    191 ### ROW 3
    192 
    193 key A {
    194     label:                              'A'
    195     base:                               'a'
    196     shift, capslock:                    'A'
    197 }
    198 
    199 key S {
    200     label:                              'S'
    201     base:                               's'
    202     shift, capslock:                    'S'
    203 }
    204 
    205 key D {
    206     label:                              'D'
    207     base:                               'd'
    208     shift, capslock:                    'D'
    209 }
    210 
    211 key F {
    212     label:                              'F'
    213     base:                               'f'
    214     shift, capslock:                    'F'
    215 }
    216 
    217 key G {
    218     label:                              'G'
    219     base:                               'g'
    220     shift, capslock:                    'G'
    221 }
    222 
    223 key H {
    224     label:                              'H'
    225     base:                               'h'
    226     shift, capslock:                    'H'
    227 }
    228 
    229 key J {
    230     label:                              'J'
    231     base:                               'j'
    232     shift, capslock:                    'J'
    233 }
    234 
    235 key K {
    236     label:                              'K'
    237     base:                               'k'
    238     shift, capslock:                    'K'
    239 }
    240 
    241 key L {
    242     label:                              'L'
    243     base:                               'l'
    244     shift, capslock:                    'L'
    245 }
    246 
    247 key SEMICOLON {
    248     label:                              '\u00f6'
    249     base:                               '\u00f6'
    250     shift:                              '\u00e9'
    251 }
    252 
    253 key APOSTROPHE {
    254     label:                              '\u00e4'
    255     base:                               '\u00e4'
    256     shift:                              '\u00e0'
    257     ralt:                               '{'
    258 }
    259 
    260 key BACKSLASH {
    261     label:                              '$'
    262     base:                               '$'
    263     shift:                              '\u00a3'
    264     ralt:                               '}'
    265 }
    266 
    267 ### ROW 4
    268 
    269 key PLUS {
    270     label:                              '<'
    271     base:                               '<'
    272     shift:                              '>'
    273     ralt:                               '\\'
    274 }
    275 
    276 key Y {
    277     label:                              'Y'
    278     base:                               'y'
    279     shift, capslock:                    'Y'
    280 }
    281 
    282 key X {
    283     label:                              'X'
    284     base:                               'x'
    285     shift, capslock:                    'X'
    286 }
    287 
    288 key C {
    289     label:                              'C'
    290     base:                               'c'
    291     shift, capslock:                    'C'
    292 }
    293 
    294 key V {
    295     label:                              'V'
    296     base:                               'v'
    297     shift, capslock:                    'V'
    298 }
    299 
    300 key B {
    301     label:                              'B'
    302     base:                               'b'
    303     shift, capslock:                    'B'
    304 }
    305 
    306 key N {
    307     label:                              'N'
    308     base:                               'n'
    309     shift, capslock:                    'N'
    310 }
    311 
    312 key M {
    313     label:                              'M'
    314     base:                               'm'
    315     shift, capslock:                    'M'
    316 }
    317 
    318 key COMMA {
    319     label:                              ','
    320     base:                               ','
    321     shift:                              ';'
    322 }
    323 
    324 key PERIOD {
    325     label:                              '.'
    326     base:                               '.'
    327     shift:                              ':'
    328 }
    329 
    330 key SLASH {
    331     label:                              '-'
    332     base:                               '-'
    333     shift:                              '_'
    334 }
    335