1// Keyboard layouts for Germany.
2
3default
4xkb_symbols "basic" {
5
6    include "latin(type4)"
7
8    name[Group1]="German";
9
10    key <TLDE>	{[dead_circumflex, degree,            U2032,          U2033 ]}; // ′ ″
11    key <AE02>	{[          2,   quotedbl,      twosuperior,      oneeighth ]};
12    key <AE03>	{[          3,    section,    threesuperior,       sterling ]};
13    key <AE04>	{[          4,     dollar,       onequarter,       currency ]};
14    key <AE11>	{[     ssharp,   question,        backslash,   questiondown,    U1E9E ], type[group1]="FOUR_LEVEL_PLUS_LOCK" };
15    key <AE12>	{[ dead_acute, dead_grave,     dead_cedilla,    dead_ogonek ]};
16
17    key <AD03>	{[          e,          E,         EuroSign,       EuroSign ]};
18    key <AD06>	{[          z,          Z,        leftarrow,            yen ]};
19    key <AD11>	{[ udiaeresis, Udiaeresis,   dead_diaeresis, dead_abovering ]};
20    key <AD12>	{[       plus,   asterisk,       asciitilde,         macron ]};
21
22    key <AC02>	{[          s,          S,            U017F,          U1E9E ]}; // ſ ẞ
23    key <AC07>	{[          j,          J,    dead_belowdot,  dead_abovedot ]};
24    key <AC10>	{[ odiaeresis, Odiaeresis, dead_doubleacute,  dead_belowdot ]};
25    key <AC11>	{[ adiaeresis, Adiaeresis,  dead_circumflex,     dead_caron ]};
26    key <BKSL>	{[ numbersign, apostrophe, rightsinglequotemark, dead_breve ]};
27
28    key <LSGT>	{[      less,     greater,            bar, dead_belowmacron ]};
29    key <AB01>	{[          y,          Y,   guillemotright,          U203A ]}; // » ›
30    key <AB02>	{[          x,          X,    guillemotleft,          U2039 ]}; // « ‹
31    key <AB08>	{[      comma,  semicolon,   periodcentered,       multiply ]};
32    key <AB09>	{[     period,      colon,            U2026,       division ]}; // … ÷
33    key <AB10>	{[      minus, underscore,           endash,         emdash ]};
34
35    include "kpdl(comma)"
36
37    include "level3(ralt_switch)"
38};
39
40partial alphanumeric_keys
41xkb_symbols "deadtilde" {
42    // previous standard German layout with tilde as dead key
43
44    include "de(basic)"
45    name[Group1]="German (dead tilde)";
46
47    key <AD12>	{ [      plus,   asterisk,   dead_tilde,  dead_macron ]	};
48};
49
50partial alphanumeric_keys
51xkb_symbols "nodeadkeys" {
52
53    // modify the basic German layout to not have any dead keys
54
55    include "de(basic)"
56    name[Group1]="German (no dead keys)";
57
58    key <TLDE>	{ [asciicircum,     degree,              notsign,     notsign ]	};
59    key <AE12>	{ [      acute,      grave,              cedilla,     cedilla ]	};
60    key <AD11>	{ [ udiaeresis, Udiaeresis,            diaeresis,   diaeresis ]	};
61    key <AD12>	{ [       plus,   asterisk,           asciitilde,      macron ]	};
62    key <AC10>	{ [ odiaeresis, Odiaeresis,          doubleacute, doubleacute ]	};
63    key <AC11>	{ [ adiaeresis, Adiaeresis,          asciicircum, asciicircum ]	};
64    key <BKSL>	{ [ numbersign, apostrophe, rightsinglequotemark,       grave ]	};
65};
66
67partial alphanumeric_keys
68xkb_symbols "deadgraveacute" {
69    // modify the basic German layout to have only acute and grave
70    // as dead keys (tilde and circumflex are needed as spacing characters
71    // in many programming languages)
72
73    include "de(basic)"
74    name[Group1]="German (dead grave acute)";
75
76    key <TLDE>	{ [asciicircum,     degree,              notsign,      notsign ] };
77    key <AD12>	{ [       plus,   asterisk,           asciitilde,  dead_macron ] };
78    key <BKSL>	{ [ numbersign, apostrophe, rightsinglequotemark,        grave ] };
79};
80
81partial alphanumeric_keys
82xkb_symbols "deadacute" {
83    // modify the basic German layout to have only acute as
84    // dead keys (ASCII grave, tilde and circumflex are needed as
85    // spacing characters in many programming languages and text formatters)
86
87    include "de(deadgraveacute)"
88
89    name[Group1]="German (dead acute)";
90
91    key <AE12>	{ [dead_acute,      grave,           dead_cedilla,  dead_ogonek ] };
92    key <BKSL>	{ [numbersign, apostrophe,   rightsinglequotemark,   dead_grave ] };
93};
94
95partial alphanumeric_keys
96xkb_symbols "e1" {
97    // German extended layout E1 based on DIN 2137-1:2020-11
98    // Designed for a 105-key keyboard
99    // https://de.wikipedia.org/wiki/Tastaturbelegung
100
101    name[Group1]="German (E1)";
102
103    // first row
104    key.type[Group1] = "EIGHT_LEVEL";
105    key <TLDE>	{[ dead_circumflex,     degree,             multiply, NoSymbol,             NoSymbol,             NoSymbol ]};
106    key <AE01>	{[               1,     exclam, rightsinglequotemark, NoSymbol,           onequarter,                U25CA ]};
107    key <AE02>	{[               2,   quotedbl,          twosuperior, NoSymbol,              onehalf,            brokenbar ]};
108    key <AE03>	{[               3,    section,        threesuperior, NoSymbol,        threequarters,            paragraph ]};
109    key <AE04>	{[               4,     dollar,               emdash, NoSymbol,             currency,                U2133 ]};
110    key <AE05>	{[               5,    percent,           exclamdown, NoSymbol,                U2030,                U20B0 ]};
111    key <AE06>	{[               6,  ampersand,         questiondown, NoSymbol,                U2044,                U204A ]};
112    key <AE07>	{[               7,      slash,            braceleft, NoSymbol,                U2300,                U2116 ]};
113    key <AE08>	{[               8,  parenleft,          bracketleft, NoSymbol,                U27E8,                U27EA ]};
114    key <AE09>	{[               9, parenright,         bracketright, NoSymbol,                U27E9,                U27EB ]};
115    key <AE10>	{[               0,      equal,           braceright, NoSymbol,             division,                U2205 ]};
116    key <AE11>	{[          ssharp,   question,            backslash, NoSymbol,             notequal,              notsign ]};
117    key <AE12>	{[      dead_acute, dead_grave,        dead_abovedot, NoSymbol,             sterling,                U035C ]};
118
119    // second row
120    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC";
121    key <AD01>	{[               q,          Q,                   at, NoSymbol,            masculine,                U2642 ]};
122    key <AD02>	{[               w,          W,          dead_macron, NoSymbol,          ordfeminine,                U2640 ]};
123    key <AD03>	{[               e,          E,             EuroSign, NoSymbol,                schwa,                SCHWA ]};
124    key <AD04>	{[               r,          R,     dead_doubleacute, NoSymbol,            trademark,           registered ]};
125    key <AD05>	{[               t,          T,           dead_caron, NoSymbol,                thorn,                THORN ]};
126    key <AD06>	{[               z,          Z,       dead_diaeresis, NoSymbol,                U0292,                U01B7 ]};
127    key <AD07>	{[               u,          U,           dead_breve, NoSymbol,           rightarrow,            leftarrow ]};
128    key <AD08>	{[               i,          I,           dead_tilde, NoSymbol,             idotless,                U26A5 ]};
129    key <AD09>	{[               o,          O,       dead_abovering, NoSymbol,               oslash,               Oslash ]};
130    key <AD10>	{[               p,          P,            dead_hook, NoSymbol,            downarrow,              uparrow ]};
131    key <AD11>	{[      udiaeresis, Udiaeresis,            dead_horn, NoSymbol,                U2198,                U2197 ]};
132    key.type[Group1] = "EIGHT_LEVEL";
133    key <AD12>	{[            plus,   asterisk,           asciitilde, NoSymbol,            plusminus,                U2052 ]};
134
135    // third row
136    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC";
137    // Per DIN 2137-1:2018-12, p. 11-12, (Alt)Gr+a can either invoke
138    // a selection possibility for emojis or special characters, or
139    // output the U+263A smiley.
140    key <AC01>	{[               a,          A,            Multi_key, NoSymbol,             NoSymbol,             NoSymbol ]};
141    key <AC02>	{[               s,          S,              seconds, NoSymbol,                U017F,                U2211 ]};
142    key <AC03>	{[               d,          D,              minutes, NoSymbol,                  eth,                  ETH ]};
143    key <AC04>	{[               f,          F,     ISO_Level5_Latch, NoSymbol,             NoSymbol,             NoSymbol ]};
144    key <AC05>	{[               g,          G,                U1E9E, NoSymbol,                U02BF,                U261B ]};
145    key <AC06>	{[               h,          H,     dead_belowmacron, NoSymbol,                U02BE,                U261A ]};
146    key <AC07>	{[               j,          J,         dead_cedilla, NoSymbol,                U02B9,                U02BA ]};
147    key <AC08>	{[               k,          K,      dead_belowcomma, NoSymbol,             NoSymbol,             NoSymbol ]};
148    key <AC09>	{[               l,          L,          dead_ogonek, NoSymbol,              lstroke,              Lstroke ]};
149    key <AC10>	{[      odiaeresis, Odiaeresis,        dead_belowdot, NoSymbol,                   oe,                   OE ]};
150    key <AC11>	{[      adiaeresis, Adiaeresis,          dead_stroke, NoSymbol,                   ae,                   AE ]};
151    key.type[Group1] = "EIGHT_LEVEL";
152    key <BKSL>	{[      numbersign, apostrophe,                U2212, NoSymbol,                U2020,                U2021 ]};
153
154    // fourth row
155    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC";
156    key <AB01>	{[               y,          Y,                U203A, NoSymbol,                U2423,                U23D1 ]};
157    key <AB02>	{[               x,          X,       guillemotright, NoSymbol,   doublelowquotemark,   singlelowquotemark ]};
158    key <AB03>	{[               c,          C,                U202F, NoSymbol,                 cent,            copyright ]};
159    key <AB04>	{[               v,          V,        guillemotleft, NoSymbol,  leftdoublequotemark,  leftsinglequotemark ]};
160    key <AB05>	{[               b,          B,                U2039, NoSymbol, rightdoublequotemark, rightsinglequotemark ]};
161    key <AB06>	{[               n,          N,               endash, NoSymbol,                  eng,                  ENG ]};
162    // Per DIN 2137-1:2018-12, p. 12, U+2217 should be replaced by the
163    // 'middle asterisk' character as soon as it has been added to
164    // Unicode (see Unicode proposal L2/17-152).
165    key <AB07>	{[               m,          M,                   mu, NoSymbol,                U200C,                U2217 ]};
166    key.type[Group1] = "EIGHT_LEVEL";
167    key <AB08>	{[           comma,  semicolon,                U2011, NoSymbol,                U02BB,                U2661 ]};
168    key <AB09>	{[          period,      colon,       periodcentered, NoSymbol,             ellipsis,                U2713 ]};
169    key <AB10>	{[           minus, underscore,               hyphen, NoSymbol,                U2022,                U25E6 ]};
170
171    // fifth row
172    key.type[Group1] = "EIGHT_LEVEL";
173    key <SPCE>	{[           space,      space,         nobreakspace, NoSymbol,                U200A,                U2009 ]};
174    key.type[Group1] = "ONE_LEVEL";
175    key <LFSH>	{[ Shift_L ]};
176    key <RTSH>	{[ Shift_R ]};
177    key <RALT>	{[ ISO_Level3_Shift ]};
178
179    // key <LSGT> exists only on the 105-key keyboard
180    key.type[Group1] = "EIGHT_LEVEL";
181    key <LSGT>	{[            less,    greater,                  bar, NoSymbol,        lessthanequal,     greaterthanequal ]};
182
183    include "kpdl(comma)"
184 };
185
186partial alphanumeric_keys
187xkb_symbols "e2" {
188    // German extended layout E2 based on DIN 2137-1:2020-11
189    // Designed for a 104-key keyboard
190    // https://de.wikipedia.org/wiki/Tastaturbelegung
191
192    include "de(e1)"
193    name[Group1]="German (E2)";
194
195    // one key less: assign bar, less and greater to other keys
196    key.type[Group1] = "EIGHT_LEVEL";
197    key <TLDE>	{[ dead_circumflex,   degree,        bar, NoSymbol,      NoSymbol, NoSymbol ]};
198    key <AE02>	{[               2, quotedbl,       less, NoSymbol,       onehalf,brokenbar ]};
199    key <AE03>	{[               3,  section,    greater, NoSymbol, threequarters,paragraph ]};
200    key <AD12>	{[            plus, asterisk, asciitilde, NoSymbol,      multiply,    U2052 ]};
201
202    // if E2 is used on a 105-key keyboard
203    key.type[Group1] = "ONE_LEVEL";
204    key <LSGT>	{[ ISO_Level3_Shift ]};
205};
206
207partial alphanumeric_keys
208xkb_symbols "T3" {
209    // German extended layout T3 based on DIN 2137-1:2012-06
210    // Now obsolete, use de(e1) or de(e2)
211
212    name[Group1]="German (T3)";
213
214    key.type[Group1] = "EIGHT_LEVEL";
215    key <TLDE>	{[ dead_circumflex,          degree,        multiply,        NoSymbol,           U204A,          hyphen,             bar ]};
216    key <AE01>	{[               1,          exclam, rightsinglequotemark,   NoSymbol,     onesuperior,      exclamdown,           U02B9 ]};
217    key <AE02>	{[               2,        quotedbl,     twosuperior,        NoSymbol,     twosuperior,        currency,           U02BA ]};
218    key <AE03>	{[               3,         section,   threesuperior,        NoSymbol,   threesuperior,        sterling,           U02BF ]};
219    key <AE04>	{[               4,          dollar,          emdash,        NoSymbol,      onequarter,        EuroSign,           U02BE ]};
220    key <AE05>	{[               5,         percent,      exclamdown,        NoSymbol,         onehalf,         uparrow,           U02C1 ]};
221    key <AE06>	{[               6,       ampersand,    questiondown,        NoSymbol,   threequarters,       downarrow,           U02C0 ]};
222    key <AE07>	{[               7,           slash,       braceleft,        NoSymbol,       oneeighth,       leftarrow,       braceleft ]};
223    key <AE08>	{[               8,       parenleft,     bracketleft,        NoSymbol,    threeeighths,      rightarrow,      braceright ]};
224    key <AE09>	{[               9,      parenright,    bracketright,        NoSymbol,     fiveeighths,       plusminus,     bracketleft ]};
225    key <AE10>	{[               0,           equal,      braceright,        NoSymbol,    seveneighths,       trademark,    bracketright ]};
226    key <AE11>	{[          ssharp,        question,       backslash,        NoSymbol,       backslash,    questiondown,           U02BB ]};
227    key <AE12>	{[      dead_acute,      dead_grave,   dead_abovedot,        NoSymbol,    dead_cedilla,     dead_ogonek,         notsign ]};
228
229    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC";
230    key <AD01>	{[               q,               Q,              at,        NoSymbol,           U0242,           U0241,           U030D ]};
231    key <AD02>	{[               w,               W,      dead_caron,        NoSymbol,           U02B7,           U2126,   dead_abovedot ]};
232    key <AD03>	{[               e,               E,        EuroSign,        NoSymbol,              oe,              OE,      dead_breve ]};
233    key <AD04>	{[               r,               R,  dead_diaeresis,        NoSymbol,       paragraph,      registered, dead_circumflex ]};
234    key <AD05>	{[               t,               T,     dead_macron,        NoSymbol,           UA78C,           UA78B,  dead_diaeresis ]};
235    key <AD06>	{[               z,               Z, dead_doubleacute,       NoSymbol,           U027C,             yen, dead_invertedbreve ]};
236    key <AD07>	{[               u,               U,      dead_breve,        NoSymbol,           U0223,           U0222,      dead_caron ]};
237    key <AD08>	{[               i,               I,      dead_tilde,        NoSymbol,        idotless,           U214D, dead_abovecomma ]};
238    key <AD09>	{[               o,               O,  dead_abovering,        NoSymbol,          oslash,          Oslash,       dead_horn ]};
239    key <AD10>	{[               p,               P,       dead_hook,        NoSymbol,           thorn,           THORN,       dead_hook ]};
240    key <AD11>	{[      udiaeresis,      Udiaeresis,       dead_horn,        NoSymbol,           U017F,  dead_abovering,      dead_grave ]};
241    key.type[Group1] = "EIGHT_LEVEL";
242    key <AD12>	{[            plus,        asterisk,      asciitilde,        NoSymbol,      dead_tilde,     dead_macron,              at ]};
243
244    key.type[Group1] = "ONE_LEVEL";
245    key <CAPS>	{[ Caps_Lock ]};
246    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC";
247    key <AC01>	{[               a,               A,   lessthanequal,        NoSymbol,              ae,              AE,           U0329 ]};
248    key <AC02>	{[               s,               S, greaterthanequal,       NoSymbol,          ssharp,         section,   dead_belowdot ]};
249    key <AC03>	{[               d,               D,           U2300,        NoSymbol,             eth,             ETH, dead_belowbreve ]};
250    key <AC04>	{[               f,               F,         minutes,        NoSymbol,           U0294,     ordfeminine, dead_belowcircumflex ]};
251    key <AC05>	{[               g,               G,         seconds,        NoSymbol,             eng,             ENG, dead_belowmacron ]};
252    key <AC06>	{[               h,               H,           U1E9E,        NoSymbol,           U0272,           U019D,           U0332 ]};
253    key <AC07>	{[               j,               J,    dead_cedilla,        NoSymbol,           U0133,           U0132,  dead_belowring ]};
254    key <AC08>	{[               k,               K, dead_belowcomma,        NoSymbol,             kra, dead_belowcomma,     dead_stroke ]};
255    key <AC09>	{[               l,               L,     dead_ogonek,        NoSymbol,         lstroke,         Lstroke,           U0338 ]};
256    key <AC10>	{[      odiaeresis,      Odiaeresis,   dead_belowdot,        NoSymbol,      dead_acute, dead_doubleacute,         degree ]};
257    key <AC11>	{[      adiaeresis,      Adiaeresis,     dead_stroke,        NoSymbol,           U019B,           U1E9E,         minutes ]};
258    key.type[Group1] = "EIGHT_LEVEL";
259    key <BKSL>	{[      numbersign,      apostrophe,      registered,        NoSymbol,           schwa,           SCHWA,         seconds ]};
260
261    key <LSGT>	{[            less,         greater,             bar,        NoSymbol,           U0149,       brokenbar,           U266A ]};
262    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC";
263    key <AB01>	{[               y,               Y,           U203A,        NoSymbol,           U0292,           U01B7,   guillemotleft ]};
264    key <AB02>	{[               x,               X,  guillemotright,        NoSymbol, doublelowquotemark, singlelowquotemark, guillemotright ]};
265    key <AB03>	{[               c,               C,       copyright,        NoSymbol,            cent,       copyright,  Greek_horizbar ]};
266    key <AB04>	{[               v,               V,   guillemotleft,        NoSymbol, leftdoublequotemark, leftsinglequotemark,   U2039 ]};
267    key <AB05>	{[               b,               B,           U2039,        NoSymbol, rightdoublequotemark, rightsinglequotemark, U203A ]};
268    key <AB06>	{[               n,               N,          endash,        NoSymbol,           U019E,           U0220,          endash ]};
269    key <AB07>	{[               m,               M,              mu,        NoSymbol,              mu,       masculine,          emdash ]};
270    key.type[Group1] = "EIGHT_LEVEL";
271    key <AB08>	{[           comma,       semicolon,           U02BB,        NoSymbol,        ellipsis,        multiply,          dollar ]};
272    key <AB09>	{[          period,           colon,           U200C,        NoSymbol,  periodcentered,        division,      numbersign ]};
273    key <AB10>	{[           minus,      underscore,          hyphen,        NoSymbol,           U0140,           U013F,           U2011 ]};
274
275    key <SPCE>	{[           space,           space,    nobreakspace,        NoSymbol,           U202F,           U200C,    nobreakspace ]};
276
277    include "kpdl(comma)"
278
279    key.type[Group1] = "THREE_LEVEL";
280    key <LFSH>	{[ Shift_L, Shift_L, ISO_Level5_Latch ]};
281    key <RTSH>	{[ Shift_R, Shift_R, ISO_Level5_Latch ]};
282    key <RALT>	{[ ISO_Level3_Shift, ISO_Level5_Latch, ISO_Level5_Latch ]};
283 };
284
285partial alphanumeric_keys
286xkb_symbols "ro" {
287    // Adds Romanian-specific letters to the German basic layout.
288    // Romanian symbols are accessible by combining <AltGr> and
289    // 'a', 's', 't', 'i', 'ä (&auml)' (+<Shift> for capital letters).
290
291    include "de(basic)"
292
293    name[Group1]="Romanian (Germany)";
294
295    key <AD05> { [         t,    T,              U021b,        U021a    ] };
296    key <AD08> { [         i,    I,        icircumflex,  Icircumflex    ] };
297    key <AC01> { [         a,    A,        acircumflex,  Acircumflex    ] };
298    key <AC02> { [         s,    S,              U0219,        U0218    ] };
299    key <AC11> { [ adiaeresis,   Adiaeresis,    abreve,       Abreve    ] };
300};
301
302partial alphanumeric_keys
303xkb_symbols "ro_nodeadkeys" {
304    // Adds Romanian-specific letters to the German nodeadkeys layout.
305    // Read the comment for de_ro !
306
307    include "de(nodeadkeys)"
308    name[Group1]="Romanian (Germany, no dead keys)";
309
310    key <AD05> { [         t,    T,              U021b,        U021a    ] };
311    key <AD08> { [         i,    I,        icircumflex,  Icircumflex    ] };
312    key <AC01> { [         a,    A,        acircumflex,  Acircumflex    ] };
313    key <AC02> { [         s,    S,              U0219,        U0218    ] };
314    key <AC11> { [ adiaeresis,   Adiaeresis,    abreve,       Abreve    ] };
315};
316
317// German Dvorak keymap by Thorsten Staerk (www.staerk.de/thorsten)
318// Have acute and grave as dead keys, tilde and circumflex alive as they are needed 
319// in many programming languages.
320// to use this keymap, use a 105-key-keyboard and the command setxkbmap -model pc105 -layout dvorak -variant de
321// source: http://www-lehre.informatik.uni-osnabrueck.de/~rfreund/dvorak.php
322partial alphanumeric_keys
323xkb_symbols "dvorak" {
324    include "us(dvorak)"
325
326    name[Group1]="German (Dvorak)";
327
328    key <TLDE> { [ asciicircum, degree ] };
329
330    key <AE01> { [ 1, exclam, onesuperior ] };
331    key <AE02> { [ 2, quotedbl, twosuperior ] };
332    key <AE03> { [ 3, section, threesuperior ] };
333    key <AE04> { [ 4, dollar, bar ] };
334    key <AE05> { [ 5, percent, bar ] };
335    key <AE06> { [ 6, ampersand, brokenbar ] };
336    key <AE07> { [ 7, slash, braceleft ] };
337    key <AE08> { [ 8, parenleft, bracketleft ] };
338    key <AE09> { [ 9, parenright, bracketright ] };
339    key <AE10> { [ 0, equal, braceright ] };
340    key <AE11> { [ plus, asterisk, asciitilde ] };
341    key <AE12> { [ less, greater, dead_grave ] };
342
343    key <AD01> { [ udiaeresis, Udiaeresis, at ] };
344    key <AD02> { [ comma, semicolon, dead_diaeresis ] };
345    key <AD03> { [ period, colon ] };
346    key <AD08> { [ c, C, copyright, Cacute ] };
347    key <AD09> { [ t, T, trademark ] };
348    key <AD10> { [ z, Z, zabovedot, Zabovedot ] };
349    key <AD11> { [ question, ssharp ] };
350    key <AD12> { [ slash, backslash, dead_acute ] };
351
352    key <AC01> { [ a, A, at, aogonek ] };
353    key <AC02> { [ o, O, oacute, Oacute ] };
354    key <AC03> { [ e, E, EuroSign, eogonek ] };
355    key <AC04> { [ i, I ] };
356    key <AC05> { [ u, U ] };
357    key <AC06> { [ h, H ] };
358    key <AC07> { [ d, D ] };
359    key <AC08> { [ r, R, registered ] };
360    key <AC09> { [ n, N, nacute, Nacute ] };
361    key <AC10> { [ s, S, sacute, Sacute] };
362    key <AC11> { [ l, L, lstroke, Lstroke ] };
363    key <BKSL> { [ minus, underscore, hyphen, diaeresis] };
364
365    key <LSGT> { [ adiaeresis, Adiaeresis, bar ] };
366    key <AB01> { [ odiaeresis, Odiaeresis ] };
367    key <AB02> { [ q, Q, at ] };
368    key <AB07> { [ m, M, mu ] };
369    key <AB10> { [ numbersign, apostrophe ] };
370
371    include "level3(ralt_switch)"
372};
373
374
375// German Neo-Layout Version 2
376// adopted 2004 by Hanno Behrens <Hanno.Behrens@gmx.de>
377// inspired by Dvorak/de-ergo  http://www.goebel-consult.de/de-ergo/
378//
379// Authors:    Stephan Hilb <stephan at ehilb dot de>
380//             <lucky at zankt dot net>
381//             Benjamin Kellermann <Benjamin dot Kellermann at gmx dot Germany>
382//             Erik Streb <mail at erikstreb dot de>
383//             and many other contributors
384//
385// https://www.neo-layout.org
386
387partial alphanumeric_keys modifier_keys keypad_keys
388xkb_symbols "neo_base" {
389
390    // The different layers and how to reach them
391    // --------------------------------------------------------------
392    // Ebene 1: normal
393    // Ebene 2: Shift
394    // Ebene 3: Caps or Bksl ("Mod three")
395    // Ebene 4: Lsgt or RAlt ("Mod four")  (for selecting, use also Shift)
396    // Ebene 5: Shift + Caps/Bksl
397    // Ebene 6: Caps/Bksl + Lsgt/RAlt
398    // Locking uppercase: left Shift + right Shift
399    // Locking Ebene 4: Shift + Caps + Tab, or Lsgt + RAlt
400
401
402    // Captions for the large table below
403    // --------------------------------------------------------------
404    // Xorg:       Level1                   Level2                   Level3                   Level4                   Level5                   Level6                   Level7                   Level8
405    // Neo:        Ebene1                   Ebene2                   Ebene3                   Ebene5                   Ebene4                   Pseudo-Ebene             Ebene6
406    // Access key: none                     Shift                    Caps/Bksl                Shift + Caps/Bksl        Lsgt/RAlt                Shift + Lsgt/RAlt        Caps/Bksl + Lsgt/RAlt
407
408
409    // Alphanumeric-keys
410    // =================
411    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
412
413    // The Tab key has Compose on the third layer (Caps + Tab)
414    // --------------------------------------------------------------
415    key  <TAB> { [ Tab,                     ISO_Left_Tab,            Multi_key,               ISO_Level5_Lock,         NoSymbol,                NoSymbol,                NoSymbol,                ISO_Level5_Lock          ] };
416
417    // Number row
418    // --------------------------------------------------------------
419    key <TLDE> { [ dead_circumflex,         dead_caron,              U21BB,                   U02DE,                   dead_abovedot,           Pointer_EnableKeys,      dead_belowdot,           NoSymbol                 ] };
420
421    key <AE01> { [ 1,                       degree,                  onesuperior,             onesubscript,            ordfeminine,             NoSymbol,                notsign,                 NoSymbol                 ] };
422    key <AE02> { [ 2,                       section,                 twosuperior,             twosubscript,            masculine,               NoSymbol,                logicalor,               NoSymbol                 ] };
423    key <AE03> { [ 3,                       U2113,                   threesuperior,           threesubscript,          numerosign,              NoSymbol,                logicaland,              NoSymbol                 ] };
424    key <AE04> { [ 4,                       guillemotright,          U203A,                   femalesymbol,            NoSymbol,                NoSymbol,                U22A5,                   NoSymbol                 ] };
425    key <AE05> { [ 5,                       guillemotleft,           U2039,                   malesymbol,              periodcentered,          NoSymbol,                U2221,                   NoSymbol                 ] };
426    key <AE06> { [ 6,                       dollar,                  cent,                    U26A5,                   sterling,                NoSymbol,                U2225,                   NoSymbol                 ] };
427
428    key <AE07> { [ 7,                       EuroSign,                yen,                     U03F0,                   currency,                NoSymbol,                rightarrow,              NoSymbol                 ] };
429    key <AE08> { [ 8,                       doublelowquotemark,      singlelowquotemark,      U27E8,                   Tab,                     ISO_Left_Tab,            U221E,                   NoSymbol                 ] };
430    key <AE09> { [ 9,                       leftdoublequotemark,     leftsinglequotemark,     U27E9,                   KP_Divide,               KP_Divide,               variation,               NoSymbol                 ] };
431    key <AE10> { [ 0,                       rightdoublequotemark,    rightsinglequotemark,    zerosubscript,           KP_Multiply,             KP_Multiply,             emptyset,                NoSymbol                 ] };
432
433    key <AE11> { [ minus,                   emdash,                  NoSymbol,                U2011,                   KP_Subtract,             KP_Subtract,             hyphen,                  NoSymbol                 ] };
434    key <AE12> { [ dead_grave,              dead_cedilla,            dead_abovering,          dead_dasia,              dead_diaeresis,          NoSymbol,                dead_macron,             NoSymbol                 ] };
435
436    // Top row
437    // --------------------------------------------------------------
438    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
439    key <AD01> { [ x,                       X,                       ellipsis,                Greek_xi,                Prior,                   Prior,                   Greek_XI,                NoSymbol                 ] };
440    key <AD02> { [ v,                       V,                       underscore,              NoSymbol,                BackSpace,               BackSpace,               radical,                 NoSymbol                 ] };
441    key <AD03> { [ l,                       L,                       bracketleft,             Greek_lambda,            Up,                      Up,                      Greek_LAMBDA,            NoSymbol                 ] };
442    key <AD04> { [ c,                       C,                       bracketright,            Greek_chi,               Delete,                  Delete,                  U2102,                   NoSymbol                 ] };
443    key <AD05> { [ w,                       W,                       asciicircum,             Greek_omega,             Next,                    Next,                    Greek_OMEGA,             NoSymbol                 ] };
444
445    key <AD06> { [ k,                       K,                       exclam,                  Greek_kappa,             exclamdown,              NoSymbol,                multiply,                NoSymbol                 ] };
446    key <AD07> { [ h,                       H,                       less,                    Greek_psi,               KP_7,                    KP_7,                    Greek_PSI,               NoSymbol                 ] };
447    key <AD08> { [ g,                       G,                       greater,                 Greek_gamma,             KP_8,                    KP_8,                    Greek_GAMMA,             NoSymbol                 ] };
448    key <AD09> { [ f,                       F,                       equal,                   Greek_phi,               KP_9,                    KP_9,                    Greek_PHI,               NoSymbol                 ] };
449    key <AD10> { [ q,                       Q,                       ampersand,               U03D5,                   KP_Add,                  KP_Add,                  U211A,                   NoSymbol                 ] };
450
451    key <AD11> { [ ssharp,                  U1E9E,                   U017F,                   Greek_finalsmallsigma,   U2212,                   NoSymbol,                jot,                     NoSymbol                 ] };
452
453    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
454    key <AD12> { [ dead_acute,              dead_tilde,              dead_stroke,             dead_psili,              dead_doubleacute,        NoSymbol,                dead_breve,              NoSymbol                 ] };
455
456    // Middle row
457    // --------------------------------------------------------------
458    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
459    key <AC01> { [ u,                       U,                       backslash,               NoSymbol,                Home,                    Home,                    includedin,              NoSymbol                 ] };
460    key <AC02> { [ i,                       I,                       slash,                   Greek_iota,              Left,                    Left,                    integral,                NoSymbol                 ] };
461    key <AC03> { [ a,                       A,                       braceleft,               Greek_alpha,             Down,                    Down,                    U2200,                   NoSymbol                 ] };
462    key <AC04> { [ e,                       E,                       braceright,              Greek_epsilon,           Right,                   Right,                   U2203,                   NoSymbol                 ] };
463    key <AC05> { [ o,                       O,                       asterisk,                Greek_omicron,           End,                     End,                     elementof,               NoSymbol                 ] };
464
465    key <AC06> { [ s,                       S,                       question,                Greek_sigma,             questiondown,            NoSymbol,                Greek_SIGMA,             NoSymbol                 ] };
466    key <AC07> { [ n,                       N,                       parenleft,               Greek_nu,                KP_4,                    KP_4,                    U2115,                   NoSymbol                 ] };
467    key <AC08> { [ r,                       R,                       parenright,              Greek_rho,               KP_5,                    KP_5,                    U211D,                   NoSymbol                 ] };
468    key <AC09> { [ t,                       T,                       minus,                   Greek_tau,               KP_6,                    KP_6,                    partialderivative,       NoSymbol                 ] };
469    key <AC10> { [ d,                       D,                       colon,                   Greek_delta,             KP_Separator,            comma,                   Greek_DELTA,             NoSymbol                 ] };
470
471    key <AC11> { [ y,                       Y,                       at,                      Greek_upsilon,           period,                  KP_Decimal,              nabla,                   NoSymbol                 ] };
472
473    // Bottom row
474    // --------------------------------------------------------------
475    key <AB01> { [ udiaeresis,              Udiaeresis,              numbersign,              NoSymbol,                Escape,                  Escape,                  union,                   NoSymbol                 ] };
476    key <AB02> { [ odiaeresis,              Odiaeresis,              dollar,                  U03F5,                   Tab,                     Tab,                     intersection,            NoSymbol                 ] };
477    key <AB03> { [ adiaeresis,              Adiaeresis,              bar,                     Greek_eta,               Insert,                  Insert,                  U2135,                   NoSymbol                 ] };
478    key <AB04> { [ p,                       P,                       asciitilde,              Greek_pi,                Return,                  Return,                  Greek_PI,                NoSymbol                 ] };
479    key <AB05> { [ z,                       Z,                       grave,                   Greek_zeta,              Undo,                    Redo,                    U2124,                   NoSymbol                 ] };
480
481    key <AB06> { [ b,                       B,                       plus,                    Greek_beta,              colon,                   NoSymbol,                U21D0,                   NoSymbol                 ] };
482    key <AB07> { [ m,                       M,                       percent,                 Greek_mu,                KP_1,                    KP_1,                    ifonlyif,                NoSymbol                 ] };
483    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
484    key <AB08> { [ comma,                   endash,                  quotedbl,                U03F1,                   KP_2,                    KP_2,                    U21D2,                   NoSymbol                 ] };
485    key <AB09> { [ period,                  enfilledcircbullet,      apostrophe,              U03D1,                   KP_3,                    KP_3,                    U21A6,                   NoSymbol                 ] };
486    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
487    key <AB10> { [ j,                       J,                       semicolon,               Greek_theta,             semicolon,               NoSymbol,                Greek_THETA,             NoSymbol                 ] };
488
489    // Space key
490    // --------------------------------------------------------------
491    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
492    key <SPCE> { [ space,                   space,                   space,                   nobreakspace,            KP_0,                    KP_0,                    U202F,                   NoSymbol                 ] };
493
494
495    // Keypad-keys
496    // ===========
497
498    // The former Numlock key:
499    key <NMLK> { [ Tab,                     ISO_Left_Tab,            equal,                   approxeq,                notequal,                Pointer_EnableKeys,      identical,               NoSymbol                 ] };
500
501    // Topmost row
502    // --------------------------------------------------------------
503    key <KPDV> { [ KP_Divide,               KP_Divide,               division,                U2300,                   U2044,                   NoSymbol,                U2223,                   NoSymbol                 ] };
504    key <KPMU> { [ KP_Multiply,             KP_Multiply,             U22C5,                   U2299,                   multiply,                NoSymbol,                U2297,                   NoSymbol                 ] };
505    key <KPSU> { [ KP_Subtract,             KP_Subtract,             U2212,                   U2296,                   U2216,                   NoSymbol,                U2238,                   NoSymbol                 ] };
506
507    // Top row
508    // --------------------------------------------------------------
509    key  <KP7> { [ KP_7,                    U2714,                   U2195,                   U226A,                   KP_Home,                 KP_Home,                 upstile,                 NoSymbol                 ] };
510    key  <KP8> { [ KP_8,                    U2718,                   uparrow,                 intersection,            KP_Up,                   KP_Up,                   U22C2,                   NoSymbol                 ] };
511    key  <KP9> { [ KP_9,                    dagger,                  U20D7,                   U226B,                   KP_Prior,                KP_Prior,                U2309,                   NoSymbol                 ] };
512    key <KPAD> { [ KP_Add,                  KP_Add,                  plusminus,               U2295,                   U2213,                   NoSymbol,                U2214,                   NoSymbol                 ] };
513
514    // Middle row
515    // --------------------------------------------------------------
516    key  <KP4> { [ KP_4,                    club,                    leftarrow,               includedin,              KP_Left,                 KP_Left,                 U2286,                   NoSymbol                 ] };
517    key  <KP5> { [ KP_5,                    EuroSign,                colon,                   U22B6,                   KP_Begin,                KP_Begin,                U22B7,                   NoSymbol                 ] };
518    key  <KP6> { [ KP_6,                    U2023,                   rightarrow,              includes,                KP_Right,                KP_Right,                U2287,                   NoSymbol                 ] };
519
520    // Bottom row
521    // --------------------------------------------------------------
522    key  <KP1> { [ KP_1,                    diamond,                 U2194,                   lessthanequal,           KP_End,                  KP_End,                  downstile,               NoSymbol                 ] };
523    key  <KP2> { [ KP_2,                    heart,                   downarrow,               union,                   KP_Down,                 KP_Down,                 U22C3,                   NoSymbol                 ] };
524    key  <KP3> { [ KP_3,                    U2660,                   U21CC,                   greaterthanequal,        KP_Next,                 KP_Next,                 U230B,                   NoSymbol                 ] };
525    key <KPEN> { [ KP_Enter,                KP_Enter,                KP_Enter,                KP_Enter,                KP_Enter,                KP_Enter,                KP_Enter,                NoSymbol                 ] };
526    key <KPEQ> { [ KP_Equal,                NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol                 ] };
527
528    // Bottommost row
529    // --------------------------------------------------------------
530    key  <KP0> { [ KP_0,                    U2423,                   percent,                 U2030,                   KP_Insert,               KP_Insert,               U25A1,                   NoSymbol                 ] };
531    key <KPDL> { [ KP_Separator,            period,                  comma,                   minutes,                 KP_Delete,               KP_Delete,               seconds,                 NoSymbol                 ] };
532};
533
534partial alphanumeric_keys modifier_keys keypad_keys
535xkb_symbols "neo" {
536
537    include "de(neo_base)"
538
539    name[Group1]= "German (Neo 2)";
540
541    include "shift(both_capslock)"
542    include "level3(caps_switch)"
543    include "level3(bksl_switch)"
544    include "level5(lsgt_switch_lock)"
545    include "level5(ralt_switch_lock)"
546};
547
548// Copied from macintosh_vndr/de
549// olh@suse.de   very close to MacOS map
550
551partial alphanumeric_keys
552xkb_symbols "mac" {
553
554    include "de"
555    name[Group1]= "German (Macintosh)";
556
557    key <AE01>	{ [         1,     exclam,   exclamdown,           at ]	};
558    key <AE05>	{ [         5,    percent,  bracketleft       ]	};
559    key <AE06>	{ [         6,  ampersand, bracketright       ]	};
560    key <AE07>	{ [         7,      slash,          bar,    backslash ]	};
561    key <AE08>	{ [         8,  parenleft,    braceleft,   asciitilde ]	};
562    key <AE09>	{ [         9, parenright,   braceright       ]	};
563    key <AD01>	{ [         q,          Q, guillemotleft, guillemotright ]	};
564    key <AD04>	{ [         r,          R,   registered       ]	};
565    key <AD07>	{ [         u,          U,    diaeresis,       Aacute ]	};
566    key <AD08>	{ [         i,          I,        slash,  Ucircumflex ]	};
567    key <AD11>	{ [ udiaeresis, Udiaeresis, periodcentered,    degree ]	};
568    key <AD12>	{ [      plus,   asterisk,   asciitilde       ]	};
569    key <AC01>	{ [         a,          A,        aring,        Aring ]	};
570    key <AC05>	{ [         g,          G,    copyright       ]	};
571    key <AC06>	{ [         h,          H,  ordfeminine       ]	};
572    key <AC09>	{ [         l,          L,           at       ]	};
573    key <AC10>	{ [ odiaeresis, Odiaeresis,  dead_acute       ]	};
574    key <AB06>	{ [         n,          N,   asciitilde       ]	};
575};
576
577partial alphanumeric_keys
578xkb_symbols "mac_nodeadkeys" {
579    // modify the standard German mac layout to not have any dead keys
580    include "de(mac)"
581    name[Group1]= "German (Macintosh, no dead keys)";
582
583    key <TLDE>	{ [ asciicircum,    degree,     notsign       ]	};
584    key <AE04>	{ [          4,     dollar,  onequarter,     currency ]	};
585    key <AE12>	{ [      acute,      grave,     cedilla       ]	};
586    key <AD11>	{ [ udiaeresis, Udiaeresis,   diaeresis       ]	};
587    key <AD12>	{ [       plus,   asterisk,  asciitilde,       macron ]	};
588    key <AC10>	{ [ odiaeresis, Odiaeresis,       acute       ]	};
589    key <AC11>	{ [ adiaeresis, Adiaeresis, asciicircum       ]	};
590
591    key <BKSL>	{ [ numbersign, apostrophe, rightsinglequotemark ] };
592};
593
594partial alphanumeric_keys
595xkb_symbols "dsb"
596{
597	include "latin(basic)"
598	name[Group1] = "Lower Sorbian";
599
600	key <AD03> { [    e,    E,    ecaron,    Ecaron ] };
601	key <AD04> { [    r,    R,    racute,    Racute ] };
602	key <AD05> { [    t,    T,     U20B5,  EuroSign ] };
603	key <AD09> { [    o,    O,    oacute,    Oacute ] };
604
605	key <AC02> { [    s,    S,    sacute,    Sacute ] };
606	key <AC03> { [    d,    D,    scaron,    Scaron ] };
607
608	key <AB01> { [    z,    Z,    zcaron,    Zcaron ] };
609	key <AB02> { [    x,    X,    zacute,    Zacute ] };
610	key <AB03> { [    c,    C,    cacute,    Cacute ] };
611	key <AB04> { [    v,    V,    ccaron,    Ccaron ] };
612	key <AB06> { [    n,    N,    nacute,    Nacute ] };
613
614	include "kpdl(comma)"
615	include "level3(ralt_switch)"
616};
617
618partial alphanumeric_keys
619xkb_symbols "dsb_qwertz"
620{
621	include "de(basic)"
622	name[Group1] = "Lower Sorbian (QWERTZ)";
623
624	key <AD03> { [    e,    E,    ecaron,    Ecaron ] };
625	key <AD04> { [    r,    R,    racute,    Racute ] };
626	key <AD05> { [    t,    T,     U20B5,  EuroSign ] };
627	key <AD06> { [    z,    Z,    zcaron,    Zcaron ] };
628	key <AD07> { [    u,    U,    zacute,    Zacute ] };
629	key <AD09> { [    o,    O,    oacute,    Oacute ] };
630
631	key <AC02> { [    s,    S,    sacute,    Sacute ] };
632	key <AC03> { [    d,    D,    scaron,    Scaron ] };
633
634	key <AB03> { [    c,    C,    cacute,    Cacute ] };
635	key <AB04> { [    v,    V,    ccaron,    Ccaron ] };
636	key <AB06> { [    n,    N,    nacute,    Nacute ] };
637
638	include "kpdl(comma)"
639	include "level3(ralt_switch)"
640};
641
642partial alphanumeric_keys
643xkb_symbols "qwerty" {
644
645    // This layout should work exactly as a de with the exception 
646    // of 'Z' and 'Y' keys, which are in the qwerty style (ie. swapped).
647    // 2008 by Matej Košík <kosik@fiit.stuba.sk>
648
649    include "de(basic)"
650
651    name[Group1] = "German (QWERTY)";
652
653    key <AB01>	{ [         z,          Z,     leftarrow,         yen ]	};
654    key <AD06>	{ [         y,          Y, guillemotleft,        less ]	};
655};
656
657// layout for Russian letters on an german keyboard
658// based on US-RU layout by Ivan Popov <pin@konvalo.org> 2005-07-17
659// adopted for german layout by Alexey Fisher <bug-track@fisher-privat.net> 2010-08-19
660
661partial alphanumeric_keys
662xkb_symbols "ru" {
663
664    include "de(basic)"
665
666    name[Group1]= "Russian (Germany, phonetic)";
667
668    key <LatA> { [        Cyrillic_a,        Cyrillic_A ] };
669    key <LatB> { [       Cyrillic_be,       Cyrillic_BE ] };
670    key <LatW> { [       Cyrillic_ve,       Cyrillic_VE ] };
671    key <LatG> { [      Cyrillic_ghe,      Cyrillic_GHE ] };
672    key <LatD> { [       Cyrillic_de,       Cyrillic_DE ] };
673    key <LatE> { [       Cyrillic_ie,       Cyrillic_IE ] };
674    key <TLDE> { [       Cyrillic_io,       Cyrillic_IO, asciitilde ] };
675    key <LatX> { [      Cyrillic_zhe,      Cyrillic_ZHE ] };
676    key <LatZ> { [       Cyrillic_ze,       Cyrillic_ZE ] };
677    key <LatI> { [        Cyrillic_i,        Cyrillic_I ] };
678    key <LatJ> { [   Cyrillic_shorti,   Cyrillic_SHORTI ] };
679    key <LatK> { [       Cyrillic_ka,       Cyrillic_KA ] };
680    key <LatL> { [       Cyrillic_el,       Cyrillic_EL ] };
681    key <LatM> { [       Cyrillic_em,       Cyrillic_EM ] };
682    key <LatN> { [       Cyrillic_en,       Cyrillic_EN ] };
683    key <LatO> { [        Cyrillic_o,        Cyrillic_O ] };
684    key <LatP> { [       Cyrillic_pe,       Cyrillic_PE ] };
685    key <LatR> { [       Cyrillic_er,       Cyrillic_ER ] };
686    key <LatS> { [       Cyrillic_es,       Cyrillic_ES ] };
687    key <LatT> { [       Cyrillic_te,       Cyrillic_TE ] };
688    key <LatU> { [        Cyrillic_u,        Cyrillic_U ] };
689    key <LatF> { [       Cyrillic_ef,       Cyrillic_EF ] };
690    key <LatH> { [       Cyrillic_ha,       Cyrillic_HA ] };
691    key <LatC> { [      Cyrillic_tse,      Cyrillic_TSE ] };
692    key <AC10> { [      Cyrillic_che,      Cyrillic_CHE ] };
693    key <AD11> { [      Cyrillic_sha,      Cyrillic_SHA ] };
694    key <AD12> { [    Cyrillic_shcha,    Cyrillic_SHCHA, plus, asterisk ] };
695    key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
696    key <LatY> { [     Cyrillic_yeru,     Cyrillic_YERU ] };
697    key <LatV> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
698    key <AC11> { [        Cyrillic_e,        Cyrillic_E ] };
699    key <BKSL> { [       Cyrillic_yu,       Cyrillic_YU, numbersign, apostrophe ] };
700    key <LatQ> { [       Cyrillic_ya,       Cyrillic_YA ] };
701
702    include "level3(ralt_switch)"
703};
704
705// layout for Russian (recommended) letters on a german keyboard
706// based on "Russisch für Deutsche, empfohlen" by B. Bendixen und H. Rothe http://russisch.urz.uni-leipzig.de/key2000.htm 2016-02-01
707// adapted for Linux by Niko Krause <nikokrause@gmx.de> 2016-06-09
708
709partial alphanumeric_keys
710xkb_symbols "ru-recom" {
711
712    include "de(basic)"
713
714    name[Group1]= "Russian (Germany, recommended)";
715
716    key <LatA> { [        Cyrillic_a,        Cyrillic_A ] };
717    key <LatB> { [       Cyrillic_be,       Cyrillic_BE ] };
718    key <LatW> { [       Cyrillic_ve,       Cyrillic_VE ] };
719    key <LatG> { [      Cyrillic_ghe,      Cyrillic_GHE, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
720    key <LatD> { [       Cyrillic_de,       Cyrillic_DE ] };
721    key <LatE> { [       Cyrillic_ie,       Cyrillic_IE ] };
722    key <TLDE> { [       Cyrillic_ya,       Cyrillic_YA, asciicircum, degree ] };
723    key <LatX> { [      Cyrillic_ha,      Cyrillic_HA ] };
724    key <LatZ> { [       Cyrillic_tse,       Cyrillic_TSE ] };
725    key <LatI> { [        Cyrillic_i,        Cyrillic_I, Ukrainian_i,  Ukrainian_I ] };
726    key <LatJ> { [   Cyrillic_shorti,   Cyrillic_SHORTI, Ukrainian_yi, Ukrainian_YI ] };
727    key <LatK> { [       Cyrillic_ka,       Cyrillic_KA ] };
728    key <LatL> { [       Cyrillic_el,       Cyrillic_EL ] };
729    key <LatM> { [       Cyrillic_em,       Cyrillic_EM ] };
730    key <LatN> { [       Cyrillic_en,       Cyrillic_EN ] };
731    key <LatO> { [        Cyrillic_o,        Cyrillic_O ] };
732    key <LatP> { [       Cyrillic_pe,       Cyrillic_PE ] };
733    key <LatR> { [       Cyrillic_er,       Cyrillic_ER ] };
734    key <LatS> { [       Cyrillic_es,       Cyrillic_ES, Cyrillic_ze, Cyrillic_ZE ] };
735    key <LatT> { [       Cyrillic_te,       Cyrillic_TE ] };
736    key <LatU> { [        Cyrillic_u,        Cyrillic_U ] };
737    key <LatF> { [       Cyrillic_ef,       Cyrillic_EF ] };
738    key <LatH> { [       Cyrillic_zhe,       Cyrillic_ZHE ] };
739    key <LatC> { [      Cyrillic_che,      Cyrillic_CHE ] };
740    key <AC10> { [      Cyrillic_io,      Cyrillic_IO ] };
741    key <AD11> { [      Cyrillic_yu,      Cyrillic_YU ] };
742    key <AD12> { [    Cyrillic_sha,    Cyrillic_SHA, plus, asterisk ] };
743    key <LSGT> { [ Cyrillic_ze, Cyrillic_ZE ] };
744    key <LatY> { [     Cyrillic_yeru,     Cyrillic_YERU ] };
745    key <LatV> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
746    key <AC11> { [        Cyrillic_e,        Cyrillic_E, Ukrainian_ie, Ukrainian_IE ] };
747    key <BKSL> { [       Cyrillic_hardsign,       Cyrillic_HARDSIGN, numbersign, apostrophe ] };
748    key <LatQ> { [       Cyrillic_shcha,       Cyrillic_SHCHA ] };
749
750    key <AE11> { [ asciitilde, question, backslash, questiondown ] };
751    key <AE12>	{ [     U0301,      U0300,      U0323,      U0307 ]	};
752
753    include "level3(ralt_switch)"
754};
755
756// layout for Russian (transliteration) letters on a german keyboard
757// based on "Russisch für Deutsche, Transliteration" by B. Bendixen und H. Rothe http://russisch.urz.uni-leipzig.de/key2000.htm 2016-02-01
758// adapted for Linux by Niko Krause <nikokrause@gmx.de> 2016-06-09
759
760partial alphanumeric_keys
761xkb_symbols "ru-translit" {
762
763    include "de(basic)"
764
765    name[Group1]= "Russian (Germany, transliteration)";
766
767    key <LatA> { [        Cyrillic_a,        Cyrillic_A ] };
768    key <LatB> { [       Cyrillic_be,       Cyrillic_BE ] };
769    key <LatW> { [       Cyrillic_sha,       Cyrillic_SHA ] };
770    key <LatG> { [      Cyrillic_ghe,      Cyrillic_GHE, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
771    key <LatD> { [       Cyrillic_de,       Cyrillic_DE ] };
772    key <LatE> { [       Cyrillic_ie,       Cyrillic_IE ] };
773    key <TLDE> { [       Cyrillic_ya,       Cyrillic_YA, asciicircum, degree ] };
774    key <LatX> { [      Cyrillic_ha,      Cyrillic_HA ] };
775    key <LatZ> { [       Cyrillic_ze,       Cyrillic_ZE ] };
776    key <LatI> { [        Cyrillic_i,        Cyrillic_I, Ukrainian_i,  Ukrainian_I ] };
777    key <LatJ> { [   Cyrillic_shorti,   Cyrillic_SHORTI, Ukrainian_yi, Ukrainian_YI ] };
778    key <LatK> { [       Cyrillic_ka,       Cyrillic_KA ] };
779    key <LatL> { [       Cyrillic_el,       Cyrillic_EL ] };
780    key <LatM> { [       Cyrillic_em,       Cyrillic_EM ] };
781    key <LatN> { [       Cyrillic_en,       Cyrillic_EN ] };
782    key <LatO> { [        Cyrillic_o,        Cyrillic_O ] };
783    key <LatP> { [       Cyrillic_pe,       Cyrillic_PE ] };
784    key <LatR> { [       Cyrillic_er,       Cyrillic_ER ] };
785    key <LatS> { [       Cyrillic_es,       Cyrillic_ES, Cyrillic_che, Cyrillic_CHE ] };
786    key <LatT> { [       Cyrillic_te,       Cyrillic_TE ] };
787    key <LatU> { [        Cyrillic_u,        Cyrillic_U ] };
788    key <LatF> { [       Cyrillic_ef,       Cyrillic_EF ] };
789    key <LatH> { [       Cyrillic_zhe,       Cyrillic_ZHE ] };
790    key <LatC> { [      Cyrillic_tse,      Cyrillic_TSE ] };
791    key <AC10> { [      Cyrillic_io,      Cyrillic_IO ] };
792    key <AD11> { [      Cyrillic_yu,      Cyrillic_YU ] };
793    key <AD12> { [    Cyrillic_hardsign,    Cyrillic_HARDSIGN, plus, asterisk ] };
794    key <LSGT> { [ Cyrillic_che, Cyrillic_CHE ] };
795    key <LatY> { [     Cyrillic_yeru,     Cyrillic_YERU ] };
796    key <LatV> { [ Cyrillic_ve, Cyrillic_VE ] };
797    key <AC11> { [        Cyrillic_e,        Cyrillic_E, Ukrainian_ie, Ukrainian_IE ] };
798    key <BKSL> { [       Cyrillic_softsign,       Cyrillic_SOFTSIGN, numbersign, apostrophe ] };
799    key <LatQ> { [       Cyrillic_shcha,       Cyrillic_SHCHA ] };
800
801    key <AE11> { [ asciitilde, question, backslash, questiondown ] };
802    key <AE12>	{ [     U0301,      U0300,      U0323,      U0307 ]	};
803
804    include "level3(ralt_switch)"
805};
806
807partial alphanumeric_keys
808xkb_symbols "pl" {
809
810    // Combined layout for entering both German and Polish symbols on a German physical
811    // keyboard. Based on German (no dead keys) and Polish (basic). Polish diacritics
812    // on AltGr+"acelnosxz". EuroSign moved to AE04 (AltGr+dollar key) to avoid conflict
813    // with Polish eogonek.
814    //
815    // https://github.com/kontextify/xkeyboard-config
816
817    include "latin(type4)"
818    include "de(nodeadkeys)"
819
820    name[Group1]= "Polish (Germany, no dead keys)";
821
822    key <AE04>	{ [         4,     dollar,   EuroSign,     currency ]	};
823
824    key <AD01>  { [         q,          Q ] };
825    key <AD02>  { [         w,          W ] };
826    key <AD03>	{ [         e,          E,      eogonek,      Eogonek ]	};
827    key <AD09>	{ [         o,          O,       oacute,       Oacute ]	};
828    key <AC01>	{ [         a,          A,      aogonek,      Aogonek ]	};
829    key <AC02>	{ [         s,          S,       sacute,       Sacute ]	};
830    key <AC04>  { [         f,          F ] };
831    key <AD06>	{ [         z,          Z,    zabovedot,    Zabovedot ]	};
832    key <AB02>	{ [         x,          X,       zacute,       Zacute ]	};
833    key <AB03>	{ [         c,          C,       cacute,       Cacute ]	};
834    key <AB06>	{ [         n,          N,       nacute,       Nacute ]	};
835
836    include "kpdl(comma)"
837
838    include "level3(ralt_switch)"
839};
840
841partial alphanumeric_keys
842xkb_symbols "tr" {
843
844    // add turkish-specific letters to the basic German layout.
845    // Turkish symbols are accessible with combination of <AltGr> and
846    // 'i', 's', 'g', 'c'' (+<Shift> for capital letters).
847
848    include "de(basic)"
849
850    name[Group1]="Turkish (Germany)";
851
852    key <AD08>	{[  i,  I,   idotless, Iabovedot ], type[group1]="FOUR_LEVEL_ALPHABETIC" };
853    key <AC02>	{[  s,  S,   scedilla,  Scedilla ]};
854    key <AC05>	{[  g,  G,     gbreve,    Gbreve ]};
855    key <AB03>	{[  c,  C,   ccedilla,  Ccedilla ]};
856};
857
858partial alphanumeric_keys
859xkb_symbols "us" {
860    include "us"
861
862    name[Group1]="German (US)";
863
864    key <AE03> { [           3, numbersign,    section,     degree ] };
865    key <AE11> { [       minus, underscore,     ssharp,      U1E9E ] };
866
867    key <AD03> { [           e,          E,   EuroSign,       cent ] };
868    key <AD07> { [           u,          U, udiaeresis, Udiaeresis ] };
869    key <AD09> { [           o,          O, odiaeresis, Odiaeresis ] };
870    key <AD11> { [ bracketleft,  braceleft, udiaeresis, Udiaeresis ] };
871
872    key <AC01> { [           a,          A, adiaeresis, Adiaeresis ] };
873    key <AC02> { [           s,          S,     ssharp,      U1E9E ] };
874    key <AC10> { [   semicolon,      colon, odiaeresis, Odiaeresis ] };
875    key <AC11> { [  apostrophe,   quotedbl, adiaeresis, Adiaeresis ] };
876
877    key <AB03> { [           c,          C,  Multi_key,  Multi_key ] };
878    key <AB07> { [           m,          M, dead_greek,       Menu ] };
879
880    include "level3(ralt_switch)"
881};
882
883// EXTRAS:
884
885partial alphanumeric_keys
886xkb_symbols "hu" {
887
888    // modify the basic German layout to not have any dead keys and add Hungarian letters
889
890    include "de(basic)"
891    name[Group1]="German (with Hungarian letters, no dead keys)";
892
893    key <AB01> { [         y,          Y,        guillemotleft,         less ] };
894    key <AC10> { [odiaeresis, Odiaeresis,               eacute,       Eacute ] };
895    key <AC11> { [adiaeresis, Adiaeresis,               aacute,        Aacute] };
896    key <AD03> { [         e,          E,             EuroSign,     EuroSign ] };
897    key <AD06> { [         z,          Z,            leftarrow,          yen ] };
898    key <AD07> { [         u,          U,               uacute,       Uacute ] };
899    key <AD08> { [         i,          I,               iacute,       Iacute ] };
900    key <AD09> { [         o,          O,         odoubleacute, Odoubleacute ] };
901    key <AD11> { [udiaeresis, Udiaeresis,         udoubleacute, Udoubleacute ] };
902    key <AD12> { [      plus,   asterisk,           asciitilde,       macron ] };
903    key <AE12> { [     acute,      grave,               oacute,       Oacute ] };
904    key <BKSL> { [numbersign, apostrophe, rightsinglequotemark,        grave ] };
905    key <TLDE> { [asciicircum,    degree,              notsign,      notsign ] };
906};
907
908partial alphanumeric_keys
909	xkb_symbols "sun_type6" {
910	include "sun_vndr/de(sun_type6)"
911};
912
913partial alphanumeric_keys
914xkb_symbols "adnw_base" {
915    include "de(neo_base)"
916
917    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
918    key <AD04> { [ period,                  enfilledcircbullet,      NoSymbol,                U03D1,                   NoSymbol,                NoSymbol,                U21A6,                   NoSymbol                 ] };
919    key <AB04> { [ comma,                   endash,                  NoSymbol,                U03F1,                   NoSymbol,                NoSymbol,                U21D2,                   NoSymbol                 ] };
920
921    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
922    key <AD01> { [ k,                       K,                       NoSymbol,                Greek_kappa,             NoSymbol,                NoSymbol,                multiply,                NoSymbol                 ] };
923    key <AD02> { [ u,                       U,                       NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                includedin,              NoSymbol                 ] };
924    key <AD03> { [ udiaeresis,              Udiaeresis,              NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                union,                   NoSymbol                 ] };
925    key <AD05> { [ adiaeresis,              Adiaeresis,              NoSymbol,                Greek_eta,               NoSymbol,                NoSymbol,                U2135,                   NoSymbol                 ] };
926    key <AD06> { [ v,                       V,                       NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                radical,                 NoSymbol                 ] };
927    key <AD07> { [ g,                       G,                       NoSymbol,                Greek_gamma,             NoSymbol,                NoSymbol,                Greek_GAMMA,             NoSymbol                 ] };
928    key <AD08> { [ c,                       C,                       NoSymbol,                Greek_chi,               NoSymbol,                NoSymbol,                U2102,                   NoSymbol                 ] };
929    key <AD09> { [ l,                       L,                       NoSymbol,                Greek_lambda,            NoSymbol,                NoSymbol,                Greek_LAMBDA,            NoSymbol                 ] };
930    key <AD10> { [ j,                       J,                       NoSymbol,                Greek_theta,             NoSymbol,                NoSymbol,                Greek_THETA,             NoSymbol                 ] };
931    key <AD11> { [ f,                       F,                       NoSymbol,                Greek_phi,               NoSymbol,                NoSymbol,                Greek_PHI,               NoSymbol                 ] };
932    key <AC01> { [ h,                       H,                       NoSymbol,                Greek_psi,               NoSymbol,                NoSymbol,                Greek_PSI,               NoSymbol                 ] };
933    key <AC02> { [ i,                       I,                       NoSymbol,                Greek_iota,              NoSymbol,                NoSymbol,                integral,                NoSymbol                 ] };
934    key <AC03> { [ e,                       E,                       NoSymbol,                Greek_epsilon,           NoSymbol,                NoSymbol,                U2203,                   NoSymbol                 ] };
935    key <AC04> { [ a,                       A,                       NoSymbol,                Greek_alpha,             NoSymbol,                NoSymbol,                U2200,                   NoSymbol                 ] };
936    key <AC05> { [ o,                       O,                       NoSymbol,                Greek_omicron,           NoSymbol,                NoSymbol,                elementof,               NoSymbol                 ] };
937    key <AC06> { [ d,                       D,                       NoSymbol,                Greek_delta,             NoSymbol,                NoSymbol,                Greek_DELTA,             NoSymbol                 ] };
938    key <AC07> { [ t,                       T,                       NoSymbol,                Greek_tau,               NoSymbol,                NoSymbol,                partialderivative,       NoSymbol                 ] };
939    key <AC08> { [ r,                       R,                       NoSymbol,                Greek_rho,               NoSymbol,                NoSymbol,                U211D,                   NoSymbol                 ] };
940    key <AC09> { [ n,                       N,                       NoSymbol,                Greek_nu,                NoSymbol,                NoSymbol,                U2115,                   NoSymbol                 ] };
941    key <AC10> { [ s,                       S,                       NoSymbol,                Greek_sigma,             NoSymbol,                NoSymbol,                Greek_SIGMA,             NoSymbol                 ] };
942    key <AC11> { [ ssharp,                  U1E9E,                   NoSymbol,                Greek_finalsmallsigma,   NoSymbol,                NoSymbol,                jot,                     NoSymbol                 ] };
943    key <AB01> { [ x,                       X,                       NoSymbol,                Greek_xi,                NoSymbol,                NoSymbol,                Greek_XI,                NoSymbol                 ] };
944    key <AB02> { [ y,                       Y,                       NoSymbol,                Greek_upsilon,           NoSymbol,                NoSymbol,                nabla,                   NoSymbol                 ] };
945    key <AB03> { [ odiaeresis,              Odiaeresis,              NoSymbol,                U03F5,                   NoSymbol,                NoSymbol,                intersection,            NoSymbol                 ] };
946    key <AB05> { [ q,                       Q,                       NoSymbol,                U03D5,                   NoSymbol,                NoSymbol,                U211A,                   NoSymbol                 ] };
947    key <AB06> { [ b,                       B,                       NoSymbol,                Greek_beta,              NoSymbol,                NoSymbol,                U21D0,                   NoSymbol                 ] };
948    key <AB07> { [ p,                       P,                       NoSymbol,                Greek_pi,                NoSymbol,                NoSymbol,                Greek_PI,                NoSymbol                 ] };
949    key <AB08> { [ w,                       W,                       NoSymbol,                Greek_omega,             NoSymbol,                NoSymbol,                Greek_OMEGA,             NoSymbol                 ] };
950    key <AB09> { [ m,                       M,                       NoSymbol,                Greek_mu,                NoSymbol,                NoSymbol,                ifonlyif,                NoSymbol                 ] };
951    key <AB10> { [ z,                       Z,                       NoSymbol,                Greek_zeta,              NoSymbol,                NoSymbol,                U2124,                   NoSymbol                 ] };
952};
953
954partial alphanumeric_keys modifier_keys keypad_keys
955xkb_symbols "adnw" {
956
957    include "de(adnw_base)"
958
959    name[Group1]= "German (Aus der Neo-Welt)";
960
961    include "shift(both_capslock)"
962    include "level3(caps_switch)"
963    include "level3(bksl_switch)"
964    include "level5(lsgt_switch_lock)"
965    include "level5(ralt_switch_lock)"
966};
967
968partial alphanumeric_keys
969xkb_symbols "koy_base" {
970    include "de(neo_base)"
971
972    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
973    key <AD02> { [ period,                  enfilledcircbullet,      NoSymbol,                U03D1,                   NoSymbol,                NoSymbol,                U21A6,                   NoSymbol                 ] };
974    key <AD04> { [ comma,                   endash,                  NoSymbol,                U03F1,                   NoSymbol,                NoSymbol,                U21D2,                   NoSymbol                 ] };
975
976    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
977    key <AD01> { [ k,                       K,                       NoSymbol,                Greek_kappa,             NoSymbol,                NoSymbol,                multiply,                NoSymbol                 ] };
978    key <AD03> { [ o,                       O,                       NoSymbol,                Greek_omicron,           NoSymbol,                NoSymbol,                elementof,               NoSymbol                 ] };
979    key <AD05> { [ y,                       Y,                       NoSymbol,                Greek_upsilon,           NoSymbol,                NoSymbol,                nabla,                   NoSymbol                 ] };
980    key <AD06> { [ v,                       V,                       NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                radical,                 NoSymbol                 ] };
981    key <AD07> { [ g,                       G,                       NoSymbol,                Greek_gamma,             NoSymbol,                NoSymbol,                Greek_GAMMA,             NoSymbol                 ] };
982    key <AD08> { [ c,                       C,                       NoSymbol,                Greek_chi,               NoSymbol,                NoSymbol,                U2102,                   NoSymbol                 ] };
983    key <AD09> { [ l,                       L,                       NoSymbol,                Greek_lambda,            NoSymbol,                NoSymbol,                Greek_LAMBDA,            NoSymbol                 ] };
984    key <AD10> { [ ssharp,                  U1E9E,                   NoSymbol,                Greek_finalsmallsigma,   NoSymbol,                NoSymbol,                jot,                     NoSymbol                 ] };
985    key <AD11> { [ z,                       Z,                       NoSymbol,                Greek_zeta,              NoSymbol,                NoSymbol,                U2124,                   NoSymbol                 ] };
986    key <AC01> { [ h,                       H,                       NoSymbol,                Greek_psi,               NoSymbol,                NoSymbol,                Greek_PSI,               NoSymbol                 ] };
987    key <AC02> { [ a,                       A,                       NoSymbol,                Greek_alpha,             NoSymbol,                NoSymbol,                U2200,                   NoSymbol                 ] };
988    key <AC03> { [ e,                       E,                       NoSymbol,                Greek_epsilon,           NoSymbol,                NoSymbol,                U2203,                   NoSymbol                 ] };
989    key <AC04> { [ i,                       I,                       NoSymbol,                Greek_iota,              NoSymbol,                NoSymbol,                integral,                NoSymbol                 ] };
990    key <AC05> { [ u,                       U,                       NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                includedin,              NoSymbol                 ] };
991    key <AC06> { [ d,                       D,                       NoSymbol,                Greek_delta,             NoSymbol,                NoSymbol,                Greek_DELTA,             NoSymbol                 ] };
992    key <AC07> { [ t,                       T,                       NoSymbol,                Greek_tau,               NoSymbol,                NoSymbol,                partialderivative,       NoSymbol                 ] };
993    key <AC08> { [ r,                       R,                       NoSymbol,                Greek_rho,               NoSymbol,                NoSymbol,                U211D,                   NoSymbol                 ] };
994    key <AC09> { [ n,                       N,                       NoSymbol,                Greek_nu,                NoSymbol,                NoSymbol,                U2115,                   NoSymbol                 ] };
995    key <AC10> { [ s,                       S,                       NoSymbol,                Greek_sigma,             NoSymbol,                NoSymbol,                Greek_SIGMA,             NoSymbol                 ] };
996    key <AC11> { [ f,                       F,                       NoSymbol,                Greek_phi,               NoSymbol,                NoSymbol,                Greek_PHI,               NoSymbol                 ] };
997    key <AB01> { [ x,                       X,                       NoSymbol,                Greek_xi,                NoSymbol,                NoSymbol,                Greek_XI,                NoSymbol                 ] };
998    key <AB02> { [ q,                       Q,                       NoSymbol,                U03D5,                   NoSymbol,                NoSymbol,                U211A,                   NoSymbol                 ] };
999    key <AB03> { [ adiaeresis,              Adiaeresis,              NoSymbol,                Greek_eta,               NoSymbol,                NoSymbol,                U2135,                   NoSymbol                 ] };
1000    key <AB04> { [ udiaeresis,              Udiaeresis,              NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                union,                   NoSymbol                 ] };
1001    key <AB05> { [ odiaeresis,              Odiaeresis,              NoSymbol,                U03F5,                   NoSymbol,                NoSymbol,                intersection,            NoSymbol                 ] };
1002    key <AB06> { [ b,                       B,                       NoSymbol,                Greek_beta,              NoSymbol,                NoSymbol,                U21D0,                   NoSymbol                 ] };
1003    key <AB07> { [ p,                       P,                       NoSymbol,                Greek_pi,                NoSymbol,                NoSymbol,                Greek_PI,                NoSymbol                 ] };
1004    key <AB08> { [ w,                       W,                       NoSymbol,                Greek_omega,             NoSymbol,                NoSymbol,                Greek_OMEGA,             NoSymbol                 ] };
1005    key <AB09> { [ m,                       M,                       NoSymbol,                Greek_mu,                NoSymbol,                NoSymbol,                ifonlyif,                NoSymbol                 ] };
1006    key <AB10> { [ j,                       J,                       NoSymbol,                Greek_theta,             NoSymbol,                NoSymbol,                Greek_THETA,             NoSymbol                 ] };
1007};
1008
1009partial alphanumeric_keys modifier_keys keypad_keys
1010xkb_symbols "koy" {
1011
1012    include "de(koy_base)"
1013
1014    name[Group1]= "German (KOY)";
1015
1016    include "shift(both_capslock)"
1017    include "level3(caps_switch)"
1018    include "level3(bksl_switch)"
1019    include "level5(lsgt_switch_lock)"
1020    include "level5(ralt_switch_lock)"
1021};
1022
1023partial alphanumeric_keys
1024xkb_symbols "bone_base" {
1025    include "de(neo_base)"
1026
1027    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
1028    key <AB08> { [ comma,                   endash,                  NoSymbol,                U03F1,                   NoSymbol,                NoSymbol,                U21D2,                   NoSymbol                 ] };
1029    key <AB09> { [ period,                  enfilledcircbullet,      NoSymbol,                U03D1,                   NoSymbol,                NoSymbol,                U21A6,                   NoSymbol                 ] };
1030
1031    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
1032    key <AD01> { [ j,                       J,                       NoSymbol,                Greek_theta,             NoSymbol,                NoSymbol,                Greek_THETA,             NoSymbol                 ] };
1033    key <AD02> { [ d,                       D,                       NoSymbol,                Greek_delta,             NoSymbol,                NoSymbol,                Greek_DELTA,             NoSymbol                 ] };
1034    key <AD03> { [ u,                       U,                       NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                includedin,              NoSymbol                 ] };
1035    key <AD04> { [ a,                       A,                       NoSymbol,                Greek_alpha,             NoSymbol,                NoSymbol,                U2200,                   NoSymbol                 ] };
1036    key <AD05> { [ x,                       X,                       NoSymbol,                Greek_xi,                NoSymbol,                NoSymbol,                Greek_XI,                NoSymbol                 ] };
1037    key <AD06> { [ p,                       P,                       NoSymbol,                Greek_pi,                NoSymbol,                NoSymbol,                Greek_PI,                NoSymbol                 ] };
1038    key <AD07> { [ h,                       H,                       NoSymbol,                Greek_psi,               NoSymbol,                NoSymbol,                Greek_PSI,               NoSymbol                 ] };
1039    key <AD08> { [ l,                       L,                       NoSymbol,                Greek_lambda,            NoSymbol,                NoSymbol,                Greek_LAMBDA,            NoSymbol                 ] };
1040    key <AD09> { [ m,                       M,                       NoSymbol,                Greek_mu,                NoSymbol,                NoSymbol,                ifonlyif,                NoSymbol                 ] };
1041    key <AD10> { [ w,                       W,                       NoSymbol,                Greek_omega,             NoSymbol,                NoSymbol,                Greek_OMEGA,             NoSymbol                 ] };
1042    key <AD11> { [ ssharp,                  U1E9E,                   NoSymbol,                Greek_finalsmallsigma,   NoSymbol,                NoSymbol,                jot,                     NoSymbol                 ] };
1043    key <AC01> { [ c,                       C,                       NoSymbol,                Greek_chi,               NoSymbol,                NoSymbol,                U2102,                   NoSymbol                 ] };
1044    key <AC02> { [ t,                       T,                       NoSymbol,                Greek_tau,               NoSymbol,                NoSymbol,                partialderivative,       NoSymbol                 ] };
1045    key <AC03> { [ i,                       I,                       NoSymbol,                Greek_iota,              NoSymbol,                NoSymbol,                integral,                NoSymbol                 ] };
1046    key <AC04> { [ e,                       E,                       NoSymbol,                Greek_epsilon,           NoSymbol,                NoSymbol,                U2203,                   NoSymbol                 ] };
1047    key <AC05> { [ o,                       O,                       NoSymbol,                Greek_omicron,           NoSymbol,                NoSymbol,                elementof,               NoSymbol                 ] };
1048    key <AC06> { [ b,                       B,                       NoSymbol,                Greek_beta,              NoSymbol,                NoSymbol,                U21D0,                   NoSymbol                 ] };
1049    key <AC07> { [ n,                       N,                       NoSymbol,                Greek_nu,                NoSymbol,                NoSymbol,                U2115,                   NoSymbol                 ] };
1050    key <AC08> { [ r,                       R,                       NoSymbol,                Greek_rho,               NoSymbol,                NoSymbol,                U211D,                   NoSymbol                 ] };
1051    key <AC09> { [ s,                       S,                       NoSymbol,                Greek_sigma,             NoSymbol,                NoSymbol,                Greek_SIGMA,             NoSymbol                 ] };
1052    key <AC10> { [ g,                       G,                       NoSymbol,                Greek_gamma,             NoSymbol,                NoSymbol,                Greek_GAMMA,             NoSymbol                 ] };
1053    key <AC11> { [ q,                       Q,                       NoSymbol,                U03D5,                   NoSymbol,                NoSymbol,                U211A,                   NoSymbol                 ] };
1054    key <AB01> { [ f,                       F,                       NoSymbol,                Greek_phi,               NoSymbol,                NoSymbol,                Greek_PHI,               NoSymbol                 ] };
1055    key <AB02> { [ v,                       V,                       NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                radical,                 NoSymbol                 ] };
1056    key <AB03> { [ udiaeresis,              Udiaeresis,              NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                union,                   NoSymbol                 ] };
1057    key <AB04> { [ adiaeresis,              Adiaeresis,              NoSymbol,                Greek_eta,               NoSymbol,                NoSymbol,                U2135,                   NoSymbol                 ] };
1058    key <AB05> { [ odiaeresis,              Odiaeresis,              NoSymbol,                U03F5,                   NoSymbol,                NoSymbol,                intersection,            NoSymbol                 ] };
1059    key <AB06> { [ y,                       Y,                       NoSymbol,                Greek_upsilon,           NoSymbol,                NoSymbol,                nabla,                   NoSymbol                 ] };
1060    key <AB07> { [ z,                       Z,                       NoSymbol,                Greek_zeta,              NoSymbol,                NoSymbol,                U2124,                   NoSymbol                 ] };
1061    key <AB10> { [ k,                       K,                       NoSymbol,                Greek_kappa,             NoSymbol,                NoSymbol,                multiply,                NoSymbol                 ] };
1062};
1063
1064partial alphanumeric_keys modifier_keys keypad_keys
1065xkb_symbols "bone" {
1066
1067    include "de(bone_base)"
1068
1069    name[Group1]= "German (Bone)";
1070
1071    include "shift(both_capslock)"
1072    include "level3(caps_switch)"
1073    include "level3(bksl_switch)"
1074    include "level5(lsgt_switch_lock)"
1075    include "level5(ralt_switch_lock)"
1076};
1077
1078partial alphanumeric_keys
1079xkb_symbols "bone_eszett_home_base" {
1080    include "de(bone_base)"
1081
1082    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
1083    key <AD11> { [ q,                       Q,                       NoSymbol,                U03D5,                   NoSymbol,                NoSymbol,                U211A,                   NoSymbol                 ] };
1084    key <AC11> { [ ssharp,                  U1E9E,                   NoSymbol,                Greek_finalsmallsigma,   NoSymbol,                NoSymbol,                jot,                     NoSymbol                 ] };
1085};
1086
1087partial alphanumeric_keys modifier_keys keypad_keys
1088xkb_symbols "bone_eszett_home" {
1089
1090    include "de(bone_eszett_home_base)"
1091
1092    name[Group1]= "German (Bone, eszett in the home row)";
1093
1094    include "shift(both_capslock)"
1095    include "level3(caps_switch)"
1096    include "level3(bksl_switch)"
1097    include "level5(lsgt_switch_lock)"
1098    include "level5(ralt_switch_lock)"
1099};
1100
1101partial alphanumeric_keys
1102xkb_symbols "neo_qwertz_base" {
1103    include "de(neo_base)"
1104
1105    key.type[Group1] = "EIGHT_LEVEL_LEVEL_FIVE_LOCK";
1106    key <AB08> { [ comma,                   endash,                  NoSymbol,                U03F1,                   NoSymbol,                NoSymbol,                U21D2,                   NoSymbol                 ] };
1107    key <AB09> { [ period,                  enfilledcircbullet,      NoSymbol,                U03D1,                   NoSymbol,                NoSymbol,                U21A6,                   NoSymbol                 ] };
1108    key <AB10> { [ minus,                   emdash,                  NoSymbol,                U2011,                   NoSymbol,                NoSymbol,                hyphen,                  NoSymbol                 ] };
1109
1110    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
1111    key <AE11> { [ ssharp,                  U1E9E,                   NoSymbol,                Greek_finalsmallsigma,   NoSymbol,                NoSymbol,                jot,                     NoSymbol                 ] };
1112    key <AD01> { [ q,                       Q,                       NoSymbol,                U03D5,                   NoSymbol,                NoSymbol,                U211A,                   NoSymbol                 ] };
1113    key <AD02> { [ w,                       W,                       NoSymbol,                Greek_omega,             NoSymbol,                NoSymbol,                Greek_OMEGA,             NoSymbol                 ] };
1114    key <AD03> { [ e,                       E,                       NoSymbol,                Greek_epsilon,           NoSymbol,                NoSymbol,                U2203,                   NoSymbol                 ] };
1115    key <AD04> { [ r,                       R,                       NoSymbol,                Greek_rho,               NoSymbol,                NoSymbol,                U211D,                   NoSymbol                 ] };
1116    key <AD05> { [ t,                       T,                       NoSymbol,                Greek_tau,               NoSymbol,                NoSymbol,                partialderivative,       NoSymbol                 ] };
1117    key <AD06> { [ z,                       Z,                       NoSymbol,                Greek_zeta,              NoSymbol,                NoSymbol,                U2124,                   NoSymbol                 ] };
1118    key <AD07> { [ u,                       U,                       NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                includedin,              NoSymbol                 ] };
1119    key <AD08> { [ i,                       I,                       NoSymbol,                Greek_iota,              NoSymbol,                NoSymbol,                integral,                NoSymbol                 ] };
1120    key <AD09> { [ o,                       O,                       NoSymbol,                Greek_omicron,           NoSymbol,                NoSymbol,                elementof,               NoSymbol                 ] };
1121    key <AD10> { [ p,                       P,                       NoSymbol,                Greek_pi,                NoSymbol,                NoSymbol,                Greek_PI,                NoSymbol                 ] };
1122    key <AD11> { [ udiaeresis,              Udiaeresis,              NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                union,                   NoSymbol                 ] };
1123    key <AC01> { [ a,                       A,                       NoSymbol,                Greek_alpha,             NoSymbol,                NoSymbol,                U2200,                   NoSymbol                 ] };
1124    key <AC02> { [ s,                       S,                       NoSymbol,                Greek_sigma,             NoSymbol,                NoSymbol,                Greek_SIGMA,             NoSymbol                 ] };
1125    key <AC03> { [ d,                       D,                       NoSymbol,                Greek_delta,             NoSymbol,                NoSymbol,                Greek_DELTA,             NoSymbol                 ] };
1126    key <AC04> { [ f,                       F,                       NoSymbol,                Greek_phi,               NoSymbol,                NoSymbol,                Greek_PHI,               NoSymbol                 ] };
1127    key <AC05> { [ g,                       G,                       NoSymbol,                Greek_gamma,             NoSymbol,                NoSymbol,                Greek_GAMMA,             NoSymbol                 ] };
1128    key <AC06> { [ h,                       H,                       NoSymbol,                Greek_psi,               NoSymbol,                NoSymbol,                Greek_PSI,               NoSymbol                 ] };
1129    key <AC07> { [ j,                       J,                       NoSymbol,                Greek_theta,             NoSymbol,                NoSymbol,                Greek_THETA,             NoSymbol                 ] };
1130    key <AC08> { [ k,                       K,                       NoSymbol,                Greek_kappa,             NoSymbol,                NoSymbol,                multiply,                NoSymbol                 ] };
1131    key <AC09> { [ l,                       L,                       NoSymbol,                Greek_lambda,            NoSymbol,                NoSymbol,                Greek_LAMBDA,            NoSymbol                 ] };
1132    key <AC10> { [ odiaeresis,              Odiaeresis,              NoSymbol,                U03F5,                   NoSymbol,                NoSymbol,                intersection,            NoSymbol                 ] };
1133    key <AC11> { [ adiaeresis,              Adiaeresis,              NoSymbol,                Greek_eta,               NoSymbol,                NoSymbol,                U2135,                   NoSymbol                 ] };
1134    key <AB01> { [ y,                       Y,                       NoSymbol,                Greek_upsilon,           NoSymbol,                NoSymbol,                nabla,                   NoSymbol                 ] };
1135    key <AB02> { [ x,                       X,                       NoSymbol,                Greek_xi,                NoSymbol,                NoSymbol,                Greek_XI,                NoSymbol                 ] };
1136    key <AB03> { [ c,                       C,                       NoSymbol,                Greek_chi,               NoSymbol,                NoSymbol,                U2102,                   NoSymbol                 ] };
1137    key <AB04> { [ v,                       V,                       NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                radical,                 NoSymbol                 ] };
1138    key <AB05> { [ b,                       B,                       NoSymbol,                Greek_beta,              NoSymbol,                NoSymbol,                U21D0,                   NoSymbol                 ] };
1139    key <AB06> { [ n,                       N,                       NoSymbol,                Greek_nu,                NoSymbol,                NoSymbol,                U2115,                   NoSymbol                 ] };
1140    key <AB07> { [ m,                       M,                       NoSymbol,                Greek_mu,                NoSymbol,                NoSymbol,                ifonlyif,                NoSymbol                 ] };
1141};
1142
1143partial alphanumeric_keys modifier_keys keypad_keys
1144xkb_symbols "neo_qwertz" {
1145
1146    include "de(neo_qwertz_base)"
1147
1148    name[Group1]= "German (Neo, QWERTZ)";
1149
1150    include "shift(both_capslock)"
1151    include "level3(caps_switch)"
1152    include "level3(bksl_switch)"
1153    include "level5(lsgt_switch_lock)"
1154    include "level5(ralt_switch_lock)"
1155};
1156
1157partial alphanumeric_keys
1158xkb_symbols "neo_qwerty_base" {
1159    include "de(neo_qwertz_base)"
1160
1161    key.type[Group1] = "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK";
1162    key <AD06> { [ y,                       Y,                       NoSymbol,                Greek_upsilon,           NoSymbol,                NoSymbol,                nabla,                   NoSymbol                 ] };
1163    key <AB01> { [ z,                       Z,                       NoSymbol,                Greek_zeta,              NoSymbol,                NoSymbol,                U2124,                   NoSymbol                 ] };
1164};
1165
1166partial alphanumeric_keys modifier_keys keypad_keys
1167xkb_symbols "neo_qwerty" {
1168
1169    include "de(neo_qwerty_base)"
1170
1171    name[Group1]= "German (Neo, QWERTY)";
1172
1173    include "shift(both_capslock)"
1174    include "level3(caps_switch)"
1175    include "level3(bksl_switch)"
1176    include "level5(lsgt_switch_lock)"
1177    include "level5(ralt_switch_lock)"
1178};
1179
1180partial alphanumeric_keys
1181xkb_symbols "lld" {
1182    include "de(basic)"
1183    name[Group1] = "German (Ladin)";
1184
1185    key <AD10> { [ p, P, ediaeresis, Ediaeresis ] };
1186};
1187