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