There should not be dead keys in de(nodeadkeys)
[xorg/xkeyboard-config] / symbols / de
1 // based on a keyboard map from an 'xkb/symbols/de' file
2
3 default
4 xkb_symbols "basic" {
5
6     include "latin(type4)"
7
8     name[Group1]="German";
9
10     key <AE02>  { [         2,   quotedbl,  twosuperior,    oneeighth ] };
11     key <AE03>  { [         3,    section, threesuperior,    sterling ] };
12     key <AE04>  { [         4,     dollar,   onequarter,     currency ] };
13
14     key <AE11> {type[Group1]="FOUR_LEVEL_PLUS_LOCK",  symbols[Group1]=
15                   [ssharp, question, backslash, questiondown, 0x1001E9E ]};
16 // The unicode capital letter sharp s U+1E9E is transformed to "SS"
17 // to match the rules for capitalizing sharp s in german.
18 // If the capital sharp s is needed, delete the line
19 // starting with <U1E9C> from /usr/share/X11/locale/iso8859-15/Compose.
20 // If both doubled S and capital sharp s are needed, use  0x1001E9E
21 // for capital sharp s and some free unicode codepoint like 0x1001E9C
22 // for doubled S. Don`t forget to change this in the Compose file, too.
23
24     key <AE12>  { [dead_acute, dead_grave, dead_cedilla,  dead_ogonek ] };
25
26     key <AD03>  { [         e,          E,     EuroSign,     EuroSign ] };
27     key <AD06>  { [         z,          Z,    leftarrow,          yen ] };
28     key <AD11>  { [udiaeresis, Udiaeresis, dead_diaeresis, dead_abovering ] };
29     key <AD12>  { [      plus,   asterisk,   dead_tilde,  dead_macron ] };
30
31     key <AC02>  { [         s,          S,                U017F,     U1E9E    ] };
32     key <AC07>  { [         j,          J,        dead_belowdot, dead_abovedot   ] };
33     key <AC10>  { [odiaeresis, Odiaeresis, dead_doubleacute, dead_belowdot ] };
34     key <AC11>  { [adiaeresis, Adiaeresis, dead_circumflex, dead_caron ] };
35     key <TLDE>  { [dead_circumflex, degree,     U2032,    U2033 ] };
36
37     key <BKSL>  { [numbersign, apostrophe, rightsinglequotemark,   dead_breve ] };
38     key <AB01>  { [         y,          Y,       guillemotright,    U203A       ] };
39     key <AB02>  { [         x,          X,        guillemotleft,    U2039       ] };
40     key <AB04>  { [         v,          V,   doublelowquotemark, singlelowquotemark ]   };
41     key <AB05>  { [         b,          B,  leftdoublequotemark, leftsinglequotemark ] };
42     key <AB06>  { [         n,          N, rightdoublequotemark, rightsinglequotemark ] };    
43     key <AB08>  { [     comma,  semicolon,       periodcentered,     multiply   ] };
44     key <AB09>  { [    period,      colon,                U2026,     division   ] };
45     key <AB10>  { [     minus, underscore,               endash,     emdash     ] };
46
47     include "kpdl(comma)"
48
49     include "level3(ralt_switch)"
50 };
51
52 partial alphanumeric_keys
53 xkb_symbols "nodeadkeys" {
54
55     // modify the basic German layout to not have any dead keys
56
57     include "de(basic)"
58     name[Group1]="German (eliminate dead keys)";
59
60     key <TLDE>  { [asciicircum,    degree,      notsign,      notsign ] };
61     key <AE12>  { [     acute,      grave,      cedilla,      cedilla ] };
62     key <AD11>  { [udiaeresis, Udiaeresis,    diaeresis,    diaeresis ] };
63     key <AD12>  { [      plus,   asterisk,   asciitilde,       macron ] };
64     key <AC10>  { [odiaeresis, Odiaeresis,  doubleacute,  doubleacute ] };
65     key <AC11>  { [adiaeresis, Adiaeresis,  asciicircum,  asciicircum ] };
66     key <BKSL>  { [numbersign, apostrophe,        grave,        grave ] };
67 };
68
69 partial alphanumeric_keys
70 xkb_symbols "deadgraveacute" {
71     // modify the basic German layout to have only acute and grave
72     // as dead keys (tilde and circumflex are needed as spacing characters
73     // in many programming languages)
74
75     include "de(basic)"
76     name[Group1]="German (dead grave acute)";
77
78     key <TLDE>  { [asciicircum,    degree,      notsign,      notsign ] };
79     key <AD12>  { [      plus,   asterisk,   asciitilde,  dead_macron ] };
80     key <BKSL>  { [numbersign, apostrophe,        grave,        grave ] };
81 };
82
83 partial alphanumeric_keys
84 xkb_symbols "deadacute" {
85     // modify the basic German layout to have only acute as
86     // dead keys (ASCII grave, tilde and circumflex are needed as
87     // spacing characters in many programming languages and text formatters)
88
89     include "de(deadgraveacute)"
90
91     name[Group1]="German (dead acute)";
92
93     key <AE12>  { [dead_acute,      grave, dead_cedilla,  dead_ogonek ] };
94     key <BKSL>  { [numbersign, apostrophe,   dead_grave,   dead_grave ] };
95 };
96
97 partial alphanumeric_keys
98 xkb_symbols "ro" {
99     // add romanian-specific letters to the basic German layout.
100     // Romanian symbols are accessible with combination of <AltGr> and
101     // 'a', 's', 't', 'i', 'รค (&auml)' (+<Shift> for capital letters).
102     // To view romanian-specific symbols, add "export LC_CTYPE=ro_RO"
103     // or "export LC_CTYPE=de_DE.utf8" to your .profile.
104
105     include "de(basic)"
106
107     name[Group1]="Romanian (Germany)";
108
109     key <AD05> { [         t,    T,           tcedilla,     Tcedilla    ] };
110     key <AD08> { [         i,    I,        icircumflex,  Icircumflex    ] };
111     key <AC01> { [         a,    A,        acircumflex,  Acircumflex    ] };
112     key <AC02> { [         s,    S,           scedilla,     Scedilla    ] };
113     key <AC11> { [ adiaeresis,   Adiaeresis,    abreve,       Abreve    ] };
114 };
115
116 partial alphanumeric_keys
117 xkb_symbols "ro_nodeadkeys" {
118     // add romanian-specific letters to the German nodeadkeys layout.
119     // Read the comment for de_ro !
120
121     include "de(nodeadkeys)"
122     name[Group1]="Romanian (Germany, eliminate dead keys)";
123
124     key <AD05> { [         t,    T,           tcedilla,     Tcedilla    ] };
125     key <AD08> { [         i,    I,        icircumflex,  Icircumflex    ] };
126     key <AC01> { [         a,    A,        acircumflex,  Acircumflex    ] };
127     key <AC02> { [         s,    S,           scedilla,     Scedilla    ] };
128     key <AC11> { [ adiaeresis,   Adiaeresis, abreve,       Abreve       ] };
129 };
130
131 // German Dvorak keymap by Thorsten Staerk (www.staerk.de/thorsten)
132 // Have acute and grave as dead keys, tilde and circumflex alive as they are needed 
133 // in many programming languages.
134 // to use this keymap, use a 105-key-keyboard and the command setxkbmap -model pc105 -layout dvorak -variant de
135 // source: http://www-lehre.informatik.uni-osnabrueck.de/~rfreund/dvorak.php
136 partial alphanumeric_keys 
137 xkb_symbols "dvorak" {
138     include "us(dvorak)"
139
140     name[Group1]="German (Dvorak)";
141
142     key <TLDE> { [ asciicircum, degree ] };
143
144     key <AE01> { [ 1, exclam, onesuperior ] };
145     key <AE02> { [ 2, quotedbl, twosuperior ] };
146     key <AE03> { [ 3, section, threesuperior ] };
147     key <AE04> { [ 4, dollar, bar ] };
148     key <AE05> { [ 5, percent, bar ] };
149     key <AE06> { [ 6, ampersand, brokenbar ] };
150     key <AE07> { [ 7, slash, braceleft ] };
151     key <AE08> { [ 8, parenleft, bracketleft ] };
152     key <AE09> { [ 9, parenright, bracketright ] };
153     key <AE10> { [ 0, equal, braceright ] };
154     key <AE11> { [ plus, asterisk, asciitilde ] };
155     key <AE12> { [ less, greater, dead_grave ] };
156
157     key <AD01> { [ udiaeresis, Udiaeresis, at ] };
158     key <AD02> { [ comma, semicolon, dead_diaeresis ] };
159     key <AD03> { [ period, colon ] };
160     key <AD08> { [ c, C, copyright, Cacute ] };
161     key <AD09> { [ t, T, trademark ] };
162     key <AD10> { [ z, Z, zabovedot, Zabovedot ] };
163     key <AD11> { [ question, ssharp ] };
164     key <AD12> { [ slash, backslash, dead_acute ] };
165
166     key <AC01> { [ a, A, at, aogonek ] };
167     key <AC02> { [ o, O, oacute, Oacute ] };
168     key <AC03> { [ e, E, EuroSign, eogonek ] };
169     key <AC04> { [ i, I ] };
170     key <AC05> { [ u, U ] };
171     key <AC06> { [ h, H ] };
172     key <AC07> { [ d, D ] };
173     key <AC08> { [ r, R, registered ] };
174     key <AC09> { [ n, N, nacute, Nacute ] };
175     key <AC10> { [ s, S, sacute, Sacute] };
176     key <AC11> { [ l, L, lstroke, Lstroke ] };
177
178     key <AB01> { [ odiaeresis, Odiaeresis ] };
179     key <AB02> { [ q, Q, at ] };
180     key <AB07> { [ m, M, mu ] };
181     key <AB10> { [ numbersign, apostrophe ] };
182
183     key <BKSL> { [ minus, underscore, hyphen, diaeresis] };
184
185     key <LSGT> { [ adiaeresis, Adiaeresis, bar ] };
186
187     include "level3(ralt_switch)"
188 };
189
190 partial alphanumeric_keys
191 xkb_symbols "Sundeadkeys" {
192
193     // For naming consistency
194
195     include "de(basic)"
196
197 };
198
199 partial alphanumeric_keys
200 xkb_symbols "sundeadkeys" {
201
202     // For naming consistency
203
204     include "de(Sundeadkeys)"
205
206     name[Group1]="German (Sun dead keys)";
207 };
208
209
210 // German Neo-Layout Version 2
211 // adopted 2004 by Hanno Behrens <Hanno.Behrens@gmx.de>
212 // inspired by Dvorak/de-ergo  http://www.goebel-consult.de/de-ergo/
213 //
214 // Authors: 
215 //      Stephan Hilb <stephan at ehilb dot de>
216 //      <lucky at zankt dot net>
217 //      Benjamin Kellermann <Benjamin dot Kellermann at gmx dot Germany>
218 //      Erik Streb <mail at erikstreb dot de>
219 //        and many other contributors
220 //
221 //      http://www.neo-layout.org
222 //
223 // $Revision$, $Date$
224
225 partial alphanumeric_keys modifier_keys keypad_keys
226 xkb_symbols "neo_base" {
227
228     // Levels in Neo jargon
229     // --------------------------------------------------------------
230     // Ebene 1: normal
231     // Ebene 2: Shift
232     // Ebene 3: Mod3
233     // Ebene 4: Mod4 (for marking something use Shift + Mod4)
234     // Ebene 5: Shift + Mod3
235     // Ebene 6: Mod3 + Mod4
236     // Compose (not a level): Mod3 + Tab
237     // Feststelltaste (Capslock): Shift + Shift
238     // Mod4-Lock: Mod4 + Mod4
239     // Mod4-Lock: Shift + Mod3 + Tab
240
241     // Legend
242     // ===============
243     // Levels in Xkbmap jargon to be found here in the definitions. 
244     // These are the levels used, and Xorg's translations:
245     // --------------------------------------------------------------
246     // Xorg:       Level1                   Level2                   Level3                   Level4                   Level5                   Level6                   Level7                   Level8                   
247     // Neo:        Ebene1                   Ebene2                   Ebene3                   Ebene5                   Ebene4                   Pseudo-Ebene             Ebene6                   ???                      
248     // Keys (Neo): None                     Shift                    Mod3                     Mod3 + Shift             Mod4                     Mod4 + Shift             Mod3 + Mod4              Mod3 + Mod4 + Shift      
249
250
251     // Alphanumeric-keys
252     // ===============
253     key.type[Group1] = "EIGHT_LEVEL";
254
255     // Tab as Multi_key (Compose)
256     // --------------------------------------------------------------
257     key  <TAB> { [ Tab,                     ISO_Left_Tab,            Multi_key,               ISO_Level5_Lock,         NoSymbol,                NoSymbol,                NoSymbol,                ISO_Level5_Lock          ] };
258
259
260     // Number row
261     // --------------------------------------------------------------
262     key <TLDE> { [ dead_circumflex,         dead_caron,              U21BB,                   U02DE,                   dead_abovedot,           Pointer_EnableKeys,      dead_belowdot,           NoSymbol                 ] };
263
264     key <AE01> { [ 1,                       degree,                  onesuperior,             onesubscript,            ordfeminine,             NoSymbol,                notsign,                 NoSymbol                 ] };
265     key <AE02> { [ 2,                       section,                 twosuperior,             twosubscript,            masculine,               NoSymbol,                logicalor,               NoSymbol                 ] };
266     key <AE03> { [ 3,                       U2113,                   threesuperior,           threesubscript,          numerosign,              NoSymbol,                logicaland,              NoSymbol                 ] };
267     key <AE04> { [ 4,                       guillemotright,          U203A,                   femalesymbol,            NoSymbol,                NoSymbol,                U22A5,                   NoSymbol                 ] };
268     key <AE05> { [ 5,                       guillemotleft,           U2039,                   malesymbol,              periodcentered,          NoSymbol,                U2221,                   NoSymbol                 ] };
269     key <AE06> { [ 6,                       dollar,                  cent,                    U26A5,                   sterling,                NoSymbol,                U2225,                   NoSymbol                 ] };
270
271     key <AE07> { [ 7,                       EuroSign,                yen,                     U03F0,                   currency,                NoSymbol,                rightarrow,              NoSymbol                 ] };
272     key <AE08> { [ 8,                       doublelowquotemark,      singlelowquotemark,      U27E8,                   Tab,                     ISO_Left_Tab,            U221E,                   NoSymbol                 ] };
273     key <AE09> { [ 9,                       leftdoublequotemark,     leftsinglequotemark,     U27E9,                   KP_Divide,               KP_Divide,               variation,               NoSymbol                 ] };
274     key <AE10> { [ 0,                       rightdoublequotemark,    rightsinglequotemark,    zerosubscript,           KP_Multiply,             KP_Multiply,             emptyset,                NoSymbol                 ] };
275
276     key <AE11> { [ minus,                   emdash,                  NoSymbol,                U2011,                   KP_Subtract,             KP_Subtract,             hyphen,                  NoSymbol                 ] };
277     key <AE12> { [ dead_grave,              dead_cedilla,            dead_abovering,          dead_dasia,              dead_diaeresis,          NoSymbol,                dead_macron,             NoSymbol                 ] };
278
279     // Top row
280     // --------------------------------------------------------------
281     key.type[Group1] = "EIGHT_LEVEL_SEMIALPHABETIC";
282     key <AD01> { [ x,                       X,                       ellipsis,                Greek_xi,                Prior,                   Prior,                   Greek_XI,                NoSymbol                 ] };
283     key <AD02> { [ v,                       V,                       underscore,              NoSymbol,                BackSpace,               BackSpace,               radical,                 NoSymbol                 ] };
284     key <AD03> { [ l,                       L,                       bracketleft,             Greek_lambda,            Up,                      Up,                      Greek_LAMBDA,            NoSymbol                 ] };
285     key <AD04> { [ c,                       C,                       bracketright,            Greek_chi,               Delete,                  Delete,                  U2102,                   NoSymbol                 ] };
286     key <AD05> { [ w,                       W,                       asciicircum,             Greek_omega,             Next,                    Next,                    Greek_OMEGA,             NoSymbol                 ] };
287
288     key <AD06> { [ k,                       K,                       exclam,                  Greek_kappa,             exclamdown,              NoSymbol,                multiply,                NoSymbol                 ] };
289     key <AD07> { [ h,                       H,                       less,                    Greek_psi,               KP_7,                    KP_7,                    Greek_PSI,               NoSymbol                 ] };
290     key <AD08> { [ g,                       G,                       greater,                 Greek_gamma,             KP_8,                    KP_8,                    Greek_GAMMA,             NoSymbol                 ] };
291     key <AD09> { [ f,                       F,                       equal,                   Greek_phi,               KP_9,                    KP_9,                    Greek_PHI,               NoSymbol                 ] };
292     key <AD10> { [ q,                       Q,                       ampersand,               U03D5,                   KP_Add,                  KP_Add,                  U211A,                   NoSymbol                 ] };
293
294     key <AD11> { [ ssharp,                  U1E9E,                   U017F,                   Greek_finalsmallsigma,   U2212,                   NoSymbol,                jot,                     NoSymbol                 ] };
295
296     key.type[Group1] = "EIGHT_LEVEL";
297     key <AD12> { [ dead_acute,              dead_tilde,              dead_stroke,             dead_psili,              dead_doubleacute,        NoSymbol,                dead_breve,              NoSymbol                 ] };
298
299     // Middle row
300     // --------------------------------------------------------------
301     key.type[Group1] = "EIGHT_LEVEL_SEMIALPHABETIC";
302     key <AC01> { [ u,                       U,                       backslash,               NoSymbol,                Home,                    Home,                    includedin,              NoSymbol                 ] };
303     key <AC02> { [ i,                       I,                       slash,                   Greek_iota,              Left,                    Left,                    integral,                NoSymbol                 ] };
304     key <AC03> { [ a,                       A,                       braceleft,               Greek_alpha,             Down,                    Down,                    U2200,                   NoSymbol                 ] };
305     key <AC04> { [ e,                       E,                       braceright,              Greek_epsilon,           Right,                   Right,                   U2203,                   NoSymbol                 ] };
306     key <AC05> { [ o,                       O,                       asterisk,                Greek_omicron,           End,                     End,                     elementof,               NoSymbol                 ] };
307
308     key <AC06> { [ s,                       S,                       question,                Greek_sigma,             questiondown,            NoSymbol,                Greek_SIGMA,             NoSymbol                 ] };
309     key <AC07> { [ n,                       N,                       parenleft,               Greek_nu,                KP_4,                    KP_4,                    U2115,                   NoSymbol                 ] };
310     key <AC08> { [ r,                       R,                       parenright,              Greek_rho,               KP_5,                    KP_5,                    U211D,                   NoSymbol                 ] };
311     key <AC09> { [ t,                       T,                       minus,                   Greek_tau,               KP_6,                    KP_6,                    partialderivative,       NoSymbol                 ] };
312     key <AC10> { [ d,                       D,                       colon,                   Greek_delta,             KP_Separator,            comma,                   Greek_DELTA,             NoSymbol                 ] };
313
314     key <AC11> { [ y,                       Y,                       at,                      Greek_upsilon,           period,                  KP_Decimal,              nabla,                   NoSymbol                 ] };
315
316     // Bottom row
317     // --------------------------------------------------------------
318     key <AB01> { [ udiaeresis,              Udiaeresis,              numbersign,              NoSymbol,                Escape,                  Escape,                  union,                   NoSymbol                 ] };
319     key <AB02> { [ odiaeresis,              Odiaeresis,              dollar,                  U03F5,                   Tab,                     Tab,                     intersection,            NoSymbol                 ] };
320     key <AB03> { [ adiaeresis,              Adiaeresis,              bar,                     Greek_eta,               Insert,                  Insert,                  U2135,                   NoSymbol                 ] };
321     key <AB04> { [ p,                       P,                       asciitilde,              Greek_pi,                Return,                  Return,                  Greek_PI,                NoSymbol                 ] };
322     key <AB05> { [ z,                       Z,                       grave,                   Greek_zeta,              Undo,                    Undo,                    U2124,                   NoSymbol                 ] };
323
324     key <AB06> { [ b,                       B,                       plus,                    Greek_beta,              colon,                   NoSymbol,                U21D0,                   NoSymbol                 ] };
325     key <AB07> { [ m,                       M,                       percent,                 Greek_mu,                KP_1,                    KP_1,                    ifonlyif,                NoSymbol                 ] };
326     key.type[Group1] = "EIGHT_LEVEL";
327     key <AB08> { [ comma,                   endash,                  quotedbl,                U03F1,                   KP_2,                    KP_2,                    U21D2,                   NoSymbol                 ] };
328     key <AB09> { [ period,                  enfilledcircbullet,      apostrophe,              U03D1,                   KP_3,                    KP_3,                    U21A6,                   NoSymbol                 ] };
329     key.type[Group1] = "EIGHT_LEVEL_SEMIALPHABETIC";
330     key <AB10> { [ j,                       J,                       semicolon,               Greek_theta,             semicolon,               NoSymbol,                Greek_THETA,             NoSymbol                 ] };
331     key.type[Group1] = "EIGHT_LEVEL";
332
333     // Space key
334     // --------------------------------------------------------------
335     key <SPCE> { [ space,                   space,                   space,                   nobreakspace,            KP_0,                    KP_0,                    U202F,                   NoSymbol                 ] };
336
337
338     // Keypad-keys
339     // ===============
340
341     // The former Numlock key:
342     key <NMLK> { [ Tab,                     ISO_Left_Tab,            equal,                   approxeq,                notequal,                Pointer_EnableKeys,      identical,               NoSymbol                 ] };
343
344     // Topmost row
345     // --------------------------------------------------------------
346     key <KPDV> { [ KP_Divide,               KP_Divide,               division,                U2300,                   U2215,                   NoSymbol,                U2223,                   NoSymbol                 ] };
347     key <KPMU> { [ KP_Multiply,             KP_Multiply,             U2219,                   U2299,                   multiply,                NoSymbol,                U2297,                   NoSymbol                 ] };
348     key <KPSU> { [ KP_Subtract,             KP_Subtract,             U2212,                   U2296,                   U2216,                   NoSymbol,                U2238,                   NoSymbol                 ] };
349
350     // Top row
351     // --------------------------------------------------------------
352     key  <KP7> { [ KP_7,                    U2714,                   U2195,                   U226A,                   KP_Home,                 KP_Home,                 upstile,                 NoSymbol                 ] };
353     key  <KP8> { [ KP_8,                    U2718,                   uparrow,                 intersection,            KP_Up,                   KP_Up,                   U22C2,                   NoSymbol                 ] };
354     key  <KP9> { [ KP_9,                    dagger,                  U20D7,                   U226B,                   KP_Prior,                KP_Prior,                U2309,                   NoSymbol                 ] };
355     key <KPAD> { [ KP_Add,                  KP_Add,                  plusminus,               U2295,                   U2213,                   NoSymbol,                U2214,                   NoSymbol                 ] };
356
357     // Middle row
358     // --------------------------------------------------------------
359     key  <KP4> { [ KP_4,                    club,                    leftarrow,               includedin,              KP_Left,                 KP_Left,                 U2286,                   NoSymbol                 ] };
360     key  <KP5> { [ KP_5,                    EuroSign,                colon,                   U22B6,                   KP_Begin,                KP_Begin,                U22B7,                   NoSymbol                 ] };
361     key  <KP6> { [ KP_6,                    U2023,                   rightarrow,              includes,                KP_Right,                KP_Right,                U2287,                   NoSymbol                 ] };
362
363     // Bottom row
364     // --------------------------------------------------------------
365     key  <KP1> { [ KP_1,                    diamond,                 U2194,                   lessthanequal,           KP_End,                  KP_End,                  downstile,               NoSymbol                 ] };
366     key  <KP2> { [ KP_2,                    heart,                   downarrow,               union,                   KP_Down,                 KP_Down,                 U22C3,                   NoSymbol                 ] };
367     key  <KP3> { [ KP_3,                    U2660,                   U21CC,                   greaterthanequal,        KP_Next,                 KP_Next,                 U230B,                   NoSymbol                 ] };
368     key <KPEN> { [ KP_Enter,                KP_Enter,                KP_Enter,                KP_Enter,                KP_Enter,                KP_Enter,                KP_Enter,                NoSymbol                 ] };
369     key <KPEQ> { [ KP_Equal,                NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol,                NoSymbol                 ] };
370
371     // Bottommost row
372     // --------------------------------------------------------------
373     key  <KP0> { [ KP_0,                    U2423,                   percent,                 U2030,                   KP_Insert,               KP_Insert,               U25A1,                   NoSymbol                 ] };
374     key <KPDL> { [ KP_Separator,            period,                  comma,                   minutes,                 KP_Delete,               KP_Delete,               seconds,                 NoSymbol                 ] };
375 };
376
377 partial alphanumeric_keys modifier_keys keypad_keys
378 xkb_symbols "neo" {
379
380     include "de(neo_base)"
381
382     name[Group1]= "German (Neo 2)";
383
384     include "shift(both_capslock)"
385     include "level3(caps_switch)"
386     include "level3(bksl_switch)"
387     include "level5(lsgt_switch)"
388     include "level5(ralt_switch)"
389 };
390
391 // Copied from macintosh_vndr/de
392 // olh@suse.de   very close to MacOS map
393
394 partial alphanumeric_keys 
395 xkb_symbols "mac" {
396
397     include "de"
398     name[Group1]= "German (Macintosh)";
399
400     // Alphanumeric section
401     key <AE01>  { [         1,     exclam,   exclamdown,           at ] };
402     key <AE05>  { [         5,    percent,  bracketleft       ] };
403     key <AE06>  { [         6,  ampersand, bracketright       ] };
404     key <AE07>  { [         7,      slash,          bar,    backslash ] };
405     key <AE08>  { [         8,  parenleft,    braceleft,   asciitilde ] };
406     key <AE09>  { [         9, parenright,   braceright       ] };
407     key <AD01>  { [         q,          Q, guillemotleft, guillemotright ]      };
408     key <AD04>  { [         r,          R,   registered       ] };
409     key <AD07>  { [         u,          U,    diaeresis,       Aacute ] };
410     key <AD08>  { [         i,          I,        slash,  Ucircumflex ] };
411     key <AD11>  { [ udiaeresis, Udiaeresis, periodcentered,    degree ] };
412     key <AD12>  { [      plus,   asterisk,   asciitilde       ] }; 
413     key <AC01>  { [         a,          A,        aring,        Aring ] };
414     key <AC05>  { [         g,          G,    copyright       ] };
415     key <AC06>  { [         h,          H,  ordfeminine       ] };
416     key <AC09>  { [         l,          L,           at       ] };
417     key <AC10>  { [ odiaeresis, Odiaeresis,  dead_acute       ] };
418     key <AB06>  { [         n,          N,   asciitilde       ] };
419
420 };
421
422 partial alphanumeric_keys 
423 xkb_symbols "mac_nodeadkeys" {
424     // modify the standard German mac layout to not have any dead keys
425     include "de(mac)"
426     name[Group1]= "German (Macintosh, eliminate dead keys)";
427     key <AE04>  { [         4,     dollar,   onequarter,     currency ] };
428
429     key <TLDE>  { [ asciicircum,    degree,     notsign       ] };
430     key <AE12>  { [      acute,      grave,     cedilla       ] };
431     key <AD11>  { [ udiaeresis, Udiaeresis,   diaeresis       ] };
432     key <AD12>  { [       plus,   asterisk,  asciitilde,       macron ] };
433     key <AC10>  { [ odiaeresis, Odiaeresis,       acute       ] };
434     key <AC11>  { [ adiaeresis, Adiaeresis, asciicircum       ] };
435
436     key <BKSL>  { [ numbersign, apostrophe,       grave       ] };
437 };
438
439 partial alphanumeric_keys
440 xkb_symbols "dsb"
441 {
442         name[Group1] = "Lower Sorbian";
443         include "latin(basic)"
444         include "level3(ralt_switch)"
445         include "kpdl(comma)"
446         key <AB01> { [              z,              Z,         zcaron,         Zcaron ] };
447         key <AB02> { [              x,              X,         zacute,         Zacute ] };
448         key <AB03> { [              c,              C,         cacute,         Cacute ] };
449         key <AB04> { [              v,              V,         ccaron,         Ccaron ] };
450         key <AB06> { [              n,              N,         nacute,         Nacute ] };
451         key <AC02> { [              s,              S,         sacute,         Sacute ] };
452         key <AC03> { [              d,              D,         scaron,         Scaron ] };
453         key <AC04> { [              f,              F                                 ] };
454         key <AD01> { [              q,              Q                                 ] };
455         key <AD02> { [              w,              W                                 ] };
456         key <AD03> { [              e,              E,         ecaron,         Ecaron ] };
457         key <AD04> { [              r,              R,         racute,         Racute ] };
458         key <AD05> { [              t,              T,          U20B5,       EuroSign ] };
459         key <AD09> { [              o,              O,         oacute,         Oacute ] };
460 };
461
462 partial alphanumeric_keys
463 xkb_symbols "dsb_qwertz"
464 {
465         name[Group1] = "Lower Sorbian (qwertz)";
466         include "latin(basic)"
467         include "level3(ralt_switch)"
468         include "kpdl(comma)"
469         key <AB01> { [              y,              Y                                 ] };
470         key <AB02> { [              x,              X                                 ] };
471         key <AB03> { [              c,              C,         cacute,         Cacute ] };
472         key <AB04> { [              v,              V,         ccaron,         Ccaron ] };
473         key <AB06> { [              n,              N,         nacute,         Nacute ] };
474         key <AC02> { [              s,              S,         sacute,         Sacute ] };
475         key <AC03> { [              d,              D,         scaron,         Scaron ] };
476         key <AC04> { [              f,              F                                 ] };
477         key <AD01> { [              q,              Q                                 ] };
478         key <AD02> { [              w,              W                                 ] };
479         key <AD03> { [              e,              E,         ecaron,         Ecaron ] };
480         key <AD04> { [              r,              R,         racute,         Racute ] };
481         key <AD05> { [              t,              T,          U20B5,       EuroSign ] };
482         key <AD06> { [              z,              Z,         zcaron,         Zcaron ] };
483         key <AD07> { [              u,              U,         zacute,         Zacute ] };
484         key <AD09> { [              o,              O,         oacute,         Oacute ] };
485 };
486
487 // layout for Russian letters on an german keyboard
488 // based on US-RU layout by Ivan Popov <pin@konvalo.org> 2005-07-17
489 // adopted for german layout by Alexey Fisher <bug-track@fisher-privat.net> 2010-08-19
490
491 partial alphanumeric_keys
492 xkb_symbols "ru" {
493
494     include "de(basic)"
495  
496     name[Group1]= "Russian (Germany, phonetic)";
497
498 key.type[group1]="FOUR_LEVEL_ALPHABETIC";
499
500     key <LatA> { [        Cyrillic_a,        Cyrillic_A ] };
501     key <LatB> { [       Cyrillic_be,       Cyrillic_BE ] };
502     key <LatW> { [       Cyrillic_ve,       Cyrillic_VE ] };
503     key <LatG> { [      Cyrillic_ghe,      Cyrillic_GHE ] };
504     key <LatD> { [       Cyrillic_de,       Cyrillic_DE ] };
505     key <LatE> { [       Cyrillic_ie,       Cyrillic_IE ] };
506     key <TLDE> { [       Cyrillic_io,       Cyrillic_IO, asciitilde ] };
507     key <LatX> { [      Cyrillic_zhe,      Cyrillic_ZHE ] };
508     key <LatZ> { [       Cyrillic_ze,       Cyrillic_ZE ] };
509     key <LatI> { [        Cyrillic_i,        Cyrillic_I ] };
510     key <LatJ> { [   Cyrillic_shorti,   Cyrillic_SHORTI ] };
511     key <LatK> { [       Cyrillic_ka,       Cyrillic_KA ] };
512     key <LatL> { [       Cyrillic_el,       Cyrillic_EL ] };
513     key <LatM> { [       Cyrillic_em,       Cyrillic_EM ] };
514     key <LatN> { [       Cyrillic_en,       Cyrillic_EN ] };
515     key <LatO> { [        Cyrillic_o,        Cyrillic_O ] };
516     key <LatP> { [       Cyrillic_pe,       Cyrillic_PE ] };
517     key <LatR> { [       Cyrillic_er,       Cyrillic_ER ] };
518     key <LatS> { [       Cyrillic_es,       Cyrillic_ES ] };
519     key <LatT> { [       Cyrillic_te,       Cyrillic_TE ] };
520     key <LatU> { [        Cyrillic_u,        Cyrillic_U ] };
521     key <LatF> { [       Cyrillic_ef,       Cyrillic_EF ] };
522     key <LatH> { [       Cyrillic_ha,       Cyrillic_HA ] };
523     key <LatC> { [      Cyrillic_tse,      Cyrillic_TSE ] };
524     key <AC10> { [      Cyrillic_che,      Cyrillic_CHE ] };
525     key <AD11> { [      Cyrillic_sha,      Cyrillic_SHA ] };
526     key <AD12> { [    Cyrillic_shcha,    Cyrillic_SHCHA, plus, asterisk ] };
527     key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
528     key <LatY> { [     Cyrillic_yeru,     Cyrillic_YERU ] };
529     key <LatV> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
530     key <AC11> { [        Cyrillic_e,        Cyrillic_E ] };
531     key <BKSL> { [       Cyrillic_yu,       Cyrillic_YU, numbersign, apostrophe ] };
532     key <LatQ> { [       Cyrillic_ya,       Cyrillic_YA ] };
533
534     include "level3(ralt_switch)"
535 };
536
537 partial alphanumeric_keys
538 xkb_symbols "htcdream" {
539         include "inet(htcdream)"
540
541         name[Group1]= "German";
542
543         //second row
544         key <AD01> { [ q, Q, Tab, Tab ] };
545         key <AD02> { [ w, W, grave, grave ] };
546         key <AD03> { [ e, E, EuroSign, EuroSign ] };
547         key <AD04> { [ r, R, underscore, underscore ] };
548         key <AD05> { [ t, T, sterling, sterling] };
549         key <AD06> { [ z, Z, division, division ] };
550         key <AD07> { [ u, U, udiaeresis, udiaeresis ] };
551         key <AD08> { [ i, I, minus, minus ] };
552         key <AD09> { [ o, O, odiaeresis, odiaeresis ] };
553         key <AD10> { [ p, P, equal, equal ] };
554
555         //third row
556         key <AC01> { [ a, A, adiaeresis, adiaeresis ] };
557         key <AC02> { [ s, S, ssharp, ssharp] };
558         key <AC03> { [ d ,D, backslash, backslash ] };
559         key <AC04> { [ f, F, braceleft, braceleft ] };
560         key <AC05> { [ g, G, braceright, braceright ] };
561         key <AC06> { [ h, H, multiply, multiply ] };
562         key <AC07> { [ j, J, colon, colon ] };
563         key <AC08> { [ k, K, plus, plus ] };
564         key <AC09> { [ l, L, apostrophe, apostrophe ] };
565
566         //forth row
567         key <AB01> { [ y, Y, bar, bar ] };
568         key <AB02> { [ x, X, bracketleft, bracketleft ] };
569         key <AB03> { [ c, C, bracketright, bracketright ] };
570         key <AB04> { [ v, V, less, less ] };
571         key <AB05> { [ b, B, greater, greater ] };
572         key <AB06> { [ n, N, semicolon, semicolon ] };
573         key <AB07> { [ m, M, quotedbl, quotedbl ] };
574         key <AB08> { [ comma, comma, question, question ] };
575
576         //fifth row
577         key <FK15> { [ at, at, asciitilde, asciitilde ] };
578
579         include "level3(alt_switch)"
580 };
581
582 // EXTRAS:
583
584 partial alphanumeric_keys
585 xkb_symbols "us" {
586     include "us"
587
588     name[Group1]="German (US keyboard with German letters)";
589
590     key <AC01> { [           a,          A, adiaeresis, Adiaeresis ] };
591     key <AC02> { [           s,          S,     ssharp,     ssharp ] };
592     key <AC10> { [   semicolon,      colon, odiaeresis, Odiaeresis ] };
593     key <AC11> { [  apostrophe,   quotedbl, adiaeresis, Adiaeresis ] };
594     key <AD03> { [           e,          E,   EuroSign,   EuroSign ] };
595     key <AD07> { [           u,          U, udiaeresis, Udiaeresis ] };
596     key <AD09> { [           o,          O, odiaeresis, Odiaeresis ] };
597     key <AD11> { [ bracketleft,  braceleft, udiaeresis, Udiaeresis ] };
598     key <AE03> { [           3, numbersign,    section,    section ] };
599     key <AE11> { [       minus, underscore,     ssharp,   question ] };
600
601     include "level3(ralt_switch)"
602 };
603
604 partial alphanumeric_keys
605 xkb_symbols "hu" {
606
607     // modify the basic German layout to not have any dead keys and add Hungarian letters
608
609     include "de(basic)"
610     name[Group1]="German (with Hungarian letters and no dead keys)";
611
612     key <AB01> { [         y,          Y, guillemotleft,        less ] };
613     key <AC10> { [odiaeresis, Odiaeresis,        eacute,      Eacute ] };
614     key <AC11> { [adiaeresis, Adiaeresis,        aacute,       Aacute] };
615     key <AD03> { [         e,          E,      EuroSign,    EuroSign ] };
616     key <AD06> { [         z,          Z,     leftarrow,         yen ] };
617     key <AD07> { [         u,          U,        uacute,      Uacute ] };
618     key <AD08> { [         i,          I,        iacute,      Iacute ] };
619     key <AD09> { [         o,          O,  odoubleacute,Odoubleacute ] };
620     key <AD11> { [udiaeresis, Udiaeresis,  udoubleacute,Udoubleacute ] };
621     key <AD12> { [      plus,   asterisk,    asciitilde,      macron ] };
622     key <AE12> { [     acute,      grave,        oacute,      Oacute ] };
623     key <BKSL> { [numbersign, apostrophe,         grave,       grave ] };
624     key <TLDE> { [asciicircum,    degree,       notsign,     notsign ] };
625     
626     
627 };