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