2 // based on a keyboard map from an 'xkb/symbols/de' file
5 // $XFree86: xc/programs/xkbcomp/symbols/de,v 1.6 2003/09/08 13:12:51 pascal Exp $
10 include "latin(type4)"
12 name[Group1]="Germany";
14 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
15 key <AE03> { [ 3, section, threesuperior, sterling ] };
16 key <AE04> { [ 4, dollar, onequarter, currency ] };
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.
28 key <AE12> { [dead_acute, dead_grave, dead_cedilla, dead_ogonek ] };
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 ] };
35 key <AC10> { [odiaeresis, Odiaeresis, dead_doubleacute, dead_doubleacute ] };
36 key <AC11> { [adiaeresis, Adiaeresis, dead_circumflex, dead_caron] };
37 key <TLDE> { [dead_circumflex, degree, notsign, notsign ] };
39 key <BKSL> { [numbersign, apostrophe, dead_grave, dead_breve ] };
40 key <AB01> { [ y, Y, guillemotleft, less ] };
44 include "level3(ralt_switch)"
47 partial alphanumeric_keys
48 xkb_symbols "nodeadkeys" {
50 // modify the basic German layout to not have any dead keys
53 name[Group1]="Germany - Eliminate dead keys";
55 key <TLDE> { [asciicircum, degree, notsign, notsign ] };
56 key <AE12> { [apostrophe, grave, cedilla, cedilla ] };
57 key <AD11> { [udiaeresis, Udiaeresis, diaeresis, diaeresis ] };
58 key <AD12> { [ plus, asterisk, asciitilde, macron ] };
59 key <AC10> { [odiaeresis, Odiaeresis, doubleacute, doubleacute ] };
60 key <AC11> { [adiaeresis, Adiaeresis, asciicircum, asciicircum ] };
61 key <BKSL> { [numbersign, apostrophe, grave, grave ] };
62 key <AB10> { [ minus, underscore, dead_belowdot, abovedot ] };
65 partial alphanumeric_keys
66 xkb_symbols "deadgraveacute" {
67 // modify the basic German layout to have only acute and grave
68 // as dead keys (tilde and circumflex are needed as spacing characters
69 // in many programming languages)
72 name[Group1]="Germany - Dead grave acute";
74 key <TLDE> { [asciicircum, degree, notsign, notsign ] };
75 key <AD12> { [ plus, asterisk, asciitilde, dead_macron ] };
76 key <BKSL> { [numbersign, apostrophe, grave, grave ] };
79 partial alphanumeric_keys
80 xkb_symbols "deadacute" {
81 // modify the basic German layout to have only acute as
82 // dead keys (ASCII grave, tilde and circumflex are needed as
83 // spacing characters in many programming languages and text formatters)
85 include "de(deadgraveacute)"
87 name[Group1]="Germany - Dead acute";
89 key <AE12> { [dead_acute, grave, dead_cedilla, dead_ogonek ] };
90 key <BKSL> { [numbersign, apostrophe, dead_grave, dead_grave ] };
93 partial alphanumeric_keys
95 // add romanian-specific letters to the basic German layout.
96 // Romanian symbols are accessible with combination of <AltGr> and
97 // 'a', 's', 't', 'i', 'รค (ä)' (+<Shift> for capital letters).
98 // To view romanian-specific symbols, add "export LC_CTYPE=ro_RO"
99 // or "export LC_CTYPE=de_DE.utf8" to your .profile.
103 name[Group1]="Germany - Romanian keyboard with German letters";
105 key <AD05> { [ t, T, tcedilla, Tcedilla ] };
106 key <AD08> { [ i, I, icircumflex, Icircumflex ] };
107 key <AC01> { [ a, A, acircumflex, Acircumflex ] };
108 key <AC02> { [ s, S, scedilla, Scedilla ] };
109 key <AC11> { [ adiaeresis, Adiaeresis, abreve, Abreve ] };
112 partial alphanumeric_keys
113 xkb_symbols "ro_nodeadkeys" {
114 // add romanian-specific letters to the German nodeadkeys layout.
115 // Read the comment for de_ro !
117 include "de(nodeadkeys)"
118 name[Group1]="Germany - Romanian keyboard with German letters, eliminate dead keys";
120 key <AD05> { [ t, T, tcedilla, Tcedilla ] };
121 key <AD08> { [ i, I, icircumflex, Icircumflex ] };
122 key <AC01> { [ a, A, acircumflex, Acircumflex ] };
123 key <AC02> { [ s, S, scedilla, Scedilla ] };
124 key <AC11> { [ adiaeresis, Adiaeresis, abreve, Abreve ] };
127 // German Dvorak keymap by Thorsten Staerk (www.staerk.de/thorsten)
128 // Have acute and grave as dead keys, tilde and circumflex alive as they are needed
129 // in many programming languages.
130 // to use this keymap, use a 105-key-keyboard and the command setxkbmap -model pc105 -layout dvorak -variant de
131 // source: http://www-lehre.informatik.uni-osnabrueck.de/~rfreund/dvorak.php
132 partial alphanumeric_keys
133 xkb_symbols "dvorak" {
136 name[Group1]="Germany - Dvorak";
138 key <TLDE> { [ asciicircum, degree ] };
140 key <AE01> { [ 1, exclam, onesuperior ] };
141 key <AE02> { [ 2, quotedbl, twosuperior ] };
142 key <AE03> { [ 3, section, threesuperior ] };
143 key <AE04> { [ 4, dollar, bar ] };
144 key <AE05> { [ 5, percent, bar ] };
145 key <AE06> { [ 6, ampersand, brokenbar ] };
146 key <AE07> { [ 7, slash, braceleft ] };
147 key <AE08> { [ 8, parenleft, bracketleft ] };
148 key <AE09> { [ 9, parenright, bracketright ] };
149 key <AE10> { [ 0, equal, braceright ] };
150 key <AE11> { [ plus, asterisk, asciitilde ] };
151 key <AE12> { [ less, greater, dead_grave ] };
153 key <AD01> { [ udiaeresis, Udiaeresis, at ] };
154 key <AD02> { [ comma, semicolon, dead_diaeresis ] };
155 key <AD03> { [ period, colon ] };
156 key <AD08> { [ c, C, copyright, Cacute ] };
157 key <AD09> { [ t, T, trademark ] };
158 key <AD10> { [ z, Z, zabovedot, Zabovedot ] };
159 key <AD11> { [ question, ssharp ] };
160 key <AD12> { [ slash, backslash, dead_acute ] };
162 key <AC01> { [ a, A, at, aogonek ] };
163 key <AC02> { [ o, O, oacute, Oacute ] };
164 key <AC03> { [ e, E, EuroSign, eogonek ] };
165 key <AC04> { [ i, I ] };
166 key <AC05> { [ u, U ] };
167 key <AC06> { [ h, H ] };
168 key <AC07> { [ d, D ] };
169 key <AC08> { [ r, R, registered ] };
170 key <AC09> { [ n, N, nacute, Nacute ] };
171 key <AC10> { [ s, S, sacute, Sacute] };
172 key <AC11> { [ l, L, lstroke, Lstroke ] };
174 key <AB01> { [ odiaeresis, Odiaeresis ] };
175 key <AB02> { [ q, Q, at ] };
176 key <AB07> { [ m, M, mu ] };
177 key <AB10> { [ numbersign, apostrophe ] };
179 key <BKSL> { [ minus, underscore, hyphen, diaeresis] };
181 key <LSGT> { [ adiaeresis, Adiaeresis, bar ] };
183 include "level3(ralt_switch)"
186 partial alphanumeric_keys
187 xkb_symbols "Sundeadkeys" {
189 // For naming consistency
195 partial alphanumeric_keys
196 xkb_symbols "sundeadkeys" {
198 // For naming consistency
200 include "de(Sundeadkeys)"
202 name[Group1]="Germany - Sun dead keys";
206 // German NEO Eurokeys-Style
207 // adopted 2004 by Hanno Behrens <Hanno.Behrens@gmx.de>
208 // inspired by Dvorak/de-ergo http://www.goebel-consult.de/de-ergo/
210 partial alphanumeric_keys
215 name[Group1]= "Germany - Neostyle";
217 key <TLDE> { [ dead_circumflex, degree, notsign, paragraph ] };
219 key <AE01> { [ 1, exclam, exclamdown, onesuperior ] };
220 key <AE02> { [ 2, quotedbl, dead_diaeresis, twosuperior ] };
221 key <AE03> { [ 3, paragraph, sterling, threesuperior ] };
222 key <AE04> { [ 4, dollar, currency, onequarter ] };
223 key <AE05> { [ 5, percent, bar, onehalf ] };
224 key <AE06> { [ 6, ampersand, brokenbar, threequarters ] };
225 key <AE07> { [ 7, slash, braceleft, division ] };
226 key <AE08> { [ 8, parenleft, bracketleft, guillemotleft ] };
227 key <AE09> { [ 9, parenright, bracketright, guillemotright ] };
228 key <AE10> { [ 0, equal, braceright ] };
229 key <AE11> { [ minus, underscore, hyphen, diaeresis ] };
230 key <AE12> { [ dead_acute,dead_grave, dead_cedilla, dead_ogonek ] };
232 key <AD01> { [ q, Q, at ] };
233 key <AD02> { [ v, V, masculine, ordfeminine ] };
234 key <AD03> { [ l, L, lstroke, Lstroke ] };
235 key <AD04> { [ c, C, ccedilla,copyright ] };
236 key <AD05> { [ w, W, Greek_omega, Greek_OMEGA ] };
237 key <AD06> { [ k, K, Greek_kappa, Greek_KAPPA ] };
238 key <AD07> { [ h, H, Greek_epsilon, Greek_EPSILON ] };
239 key <AD08> { [ g, G, Greek_gamma, Greek_GAMMA ] };
240 key <AD09> { [ f, F, ordfeminine ] };
241 key <AD10> { [ j, J, Greek_iota, Greek_IOTA ] };
242 key <AD11> { [ ssharp, question, backslash, questiondown ] };
243 key <AD12> { [ plus, asterisk, dead_tilde, plusminus ] };
245 key <AC01> { [ u, U, Greek_delta, Greek_DELTA ] };
246 key <AC02> { [ i, I, idotless, Iabovedot ] };
247 key <AC03> { [ a, A, at, Greek_alpha ] };
248 key <AC04> { [ e, E, EuroSign, cent ] };
249 key <AC05> { [ o, O, oslash, Ooblique ] };
250 key <AC06> { [ s, S, Greek_sigma, Greek_SIGMA ] };
251 key <AC07> { [ n, N, Greek_nu, Greek_NU ] };
252 key <AC08> { [ r, R, registered,trademark ] };
253 key <AC09> { [ t, T, thorn, THORN ] }; //Greek_theta, Greek_THETA/tcedilla, Tcedilla
254 key <AC10> { [ d, D, eth, ETH ] };
255 key <AC11> { [ y, Y, yen ] };
256 key <BKSL> { [ numbersign, apostrophe, grave ] };
259 key <LSGT> { [ less, greater, guillemotleft, guillemotright ] };
260 key <AB01> { [ odiaeresis, Odiaeresis, oe, OE ] };
261 key <AB02> { [ udiaeresis,Udiaeresis, apostrophe, asciitilde ] };
262 key <AB03> { [ adiaeresis, Adiaeresis, ae, AE ] };
263 key <AB04> { [ p, P, thorn, THORN ] };
264 key <AB05> { [ z, Z, Greek_zeta, Greek_ZETA ] };
265 key <AB06> { [ b, B, Greek_beta, Greek_BETA ] };
266 key <AB07> { [ m, M, mu, Greek_MU ] };
267 key <AB08> { [ comma, semicolon, dead_cedilla, cedilla ] };
268 key <AB09> { [ period, colon, periodcentered ] };
269 key <AB10> { [ x, X, multiply ] };
271 key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
274 // End "Editing" section, begin "Keypad"
275 // key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] };
277 // Ungrab cancels server/keyboard/pointer grabs
278 // key <KPDV> { [KP_Divide, KP_Divide, division] };
280 // ClsGrb kills whichever client has a grab in effect
281 // key <KPMU> { [KP_Multiply, KP_Multiply, periodcentered] };
283 // -VMode switches to the previous video mode
284 // key <KPSU> { [ KP_Subtract, KP_Subtract, notsign] };
286 key <KP7> { [ KP_Home, KP_7, seveneighths, oneeighth ] };
287 key <KP8> { [ KP_Up, KP_8, uparrow, fiveeighths ] };
288 key <KP9> { [ KP_Prior, KP_9, threeeighths, threeeighths ] };
290 // +VMode switches to the next video mode
291 // key <KPAD> { [ KP_Add, KP_Add, plusminus ] };
293 key <KP4> { [ KP_Left, KP_4, leftarrow, onequarter ] };
294 key <KP5> { [ KP_Begin, KP_5, dagger, onehalf ] };
295 key <KP6> { [ KP_Right, KP_6, rightarrow, threequarters ] };
297 key <KP1> { [ KP_End, KP_1, onesuperior, onesuperior ] };
298 key <KP2> { [ KP_Down, KP_2, downarrow, twosuperior ] };
299 key <KP3> { [ KP_Next, KP_3, threesuperior, threesuperior ] };
300 key <KPEN> { [ KP_Enter ] };
301 key <KPEQ> { [ KP_Equal ] };
303 key <KP0> { [ KP_Insert, KP_0, percent, degree ] };
304 key <KPDL> { [ KP_Delete, KP_Decimal, periodcentered, comma ] };
305 // End "Keypad" section
307 include "level3(ralt_switch)"
310 // Copied from macintosh_vndr/de
311 // olh@suse.de very close to MacOS map
313 partial alphanumeric_keys
317 name[Group1]= "Germany - Macintosh";
319 // Alphanumeric section
320 key <AE01> { [ 1, exclam, exclamdown, at ] };
321 key <AE05> { [ 5, percent, bracketleft ] };
322 key <AE06> { [ 6, ampersand, bracketright ] };
323 key <AE07> { [ 7, slash, bar, backslash ] };
324 key <AE08> { [ 8, parenleft, braceleft, asciitilde ] };
325 key <AE09> { [ 9, parenright, braceright ] };
326 key <AD01> { [ q, Q, guillemotleft, guillemotright ] };
327 key <AD04> { [ r, R, registered ] };
328 key <AD07> { [ u, U, diaeresis, Aacute ] };
329 key <AD08> { [ i, I, slash, Ucircumflex ] };
330 key <AD11> { [ udiaeresis, Udiaeresis, periodcentered, degree ] };
331 key <AD12> { [ plus, asterisk, asciitilde ] };
332 key <AC01> { [ a, A, aring, Aring ] };
333 key <AC05> { [ g, G, copyright ] };
334 key <AC06> { [ h, H, ordfeminine ] };
335 key <AC09> { [ l, L, at ] };
336 key <AC10> { [ odiaeresis, Odiaeresis, dead_acute ] };
337 key <AB06> { [ n, N, asciitilde ] };
341 partial alphanumeric_keys
342 xkb_symbols "mac_nodeadkeys" {
343 // modify the standard German mac layout to not have any dead keys
345 name[Group1]= "Germany - Macintosh, eliminate dead keys";
346 key <AE04> { [ 4, dollar, onequarter, currency ] };
348 key <TLDE> { [ asciicircum, degree, notsign ] };
349 key <AE12> { [ acute, grave, cedilla ] };
350 key <AD11> { [ udiaeresis, Udiaeresis, diaeresis ] };
351 key <AD12> { [ plus, asterisk, asciitilde, macron ] };
352 key <AC10> { [ odiaeresis, Odiaeresis, acute ] };
353 key <AC11> { [ adiaeresis, Adiaeresis, asciicircum ] };
355 key <BKSL> { [ numbersign, apostrophe, grave ] };