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