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