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