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