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