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