root/linux/X/de @ 270

Revision 270, 18.2 KB (checked in by lucky, 6 years ago)

Multi_key auf der 3ten und 4ten Ebene von Mod5 eingefügt

Line 
1
2// based on a keyboard map from an 'xkb/symbols/de' file
3//
4// $XKeyboardConfig: xkeyboard-config/symbols/de,v 1.17 2007/09/02 17:42:07 svu Exp $
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    key <AE11>  { [    ssharp,   question,    backslash, questiondown ] };
18    key <AE12>  { [dead_acute, dead_grave, dead_cedilla,  dead_ogonek ] };
19
20    key <AD03>  { [         e,          E,     EuroSign,     EuroSign ] };
21    key <AD06>  { [         z,          Z,    leftarrow,          yen ] };
22    key <AD11>  { [udiaeresis, Udiaeresis, dead_diaeresis, dead_abovering ] };
23    key <AD12>  { [      plus,   asterisk,   dead_tilde,  dead_macron ] };
24
25    key <AC10>  { [odiaeresis, Odiaeresis, dead_doubleacute, dead_doubleacute ] };
26    key <AC11>  { [adiaeresis, Adiaeresis, dead_circumflex, dead_caron] };
27    key <TLDE>  { [dead_circumflex, degree,     notsign,      notsign ] };
28
29    key <BKSL>  { [numbersign, apostrophe,   dead_grave,   dead_breve ] };
30    key <AB01>  { [         y,          Y, guillemotleft,        less ] };
31
32    include "kpdl(comma)"
33
34    include "level3(ralt_switch)"
35};
36
37partial alphanumeric_keys
38xkb_symbols "nodeadkeys" {
39
40    // modify the basic German layout to not have any dead keys
41
42    include "de(basic)"
43    name[Group1]="Germany - Eliminate dead keys";
44
45    key <TLDE>  { [asciicircum,    degree,      notsign,      notsign ] };
46    key <AE12>  { [apostrophe,      grave,      cedilla,      cedilla ] };
47    key <AD11>  { [udiaeresis, Udiaeresis,    diaeresis,    diaeresis ] };
48    key <AD12>  { [      plus,   asterisk,   asciitilde,       macron ] };
49    key <AC10>  { [odiaeresis, Odiaeresis,  doubleacute,  doubleacute ] };
50    key <AC11>  { [adiaeresis, Adiaeresis,  asciicircum,  asciicircum ] };
51    key <BKSL>  { [numbersign, apostrophe,        grave,        grave ] };
52    key <AB10>  { [     minus, underscore, dead_belowdot,    abovedot ] };
53};
54
55partial alphanumeric_keys
56xkb_symbols "deadgraveacute" {
57    // modify the basic German layout to have only acute and grave
58    // as dead keys (tilde and circumflex are needed as spacing characters
59    // in many programming languages)
60
61    include "de(basic)"
62    name[Group1]="Germany - Dead grave acute";
63
64    key <TLDE>  { [asciicircum,    degree,      notsign,      notsign ] };
65    key <AD12>  { [      plus,   asterisk,   asciitilde,  dead_macron ] };
66    key <BKSL>  { [numbersign, apostrophe,        grave,        grave ] };
67};
68
69partial alphanumeric_keys
70xkb_symbols "deadacute" {
71    // modify the basic German layout to have only acute as
72    // dead keys (ASCII grave, tilde and circumflex are needed as
73    // spacing characters in many programming languages and text formatters)
74
75    include "de(deadgraveacute)"
76
77    name[Group1]="Germany - Dead acute";
78
79    key <AE12>  { [dead_acute,      grave, dead_cedilla,  dead_ogonek ] };
80    key <BKSL>  { [numbersign, apostrophe,   dead_grave,   dead_grave ] };
81};
82
83partial alphanumeric_keys
84xkb_symbols "ro" {
85    // add romanian-specific letters to the basic German layout.
86    // Romanian symbols are accessible with combination of <AltGr> and
87    // 'a', 's', 't', 'i', 'ä (&auml)' (+<Shift> for capital letters).
88    // To view romanian-specific symbols, add "export LC_CTYPE=ro_RO"
89    // or "export LC_CTYPE=de_DE.utf8" to your .profile.
90
91    include "de(basic)"
92
93    name[Group1]="Germany - Romanian keyboard with German letters";
94
95    key <AD05> { [         t,    T,           tcedilla,     Tcedilla    ] };
96    key <AD08> { [         i,    I,        icircumflex,  Icircumflex    ] };
97    key <AC01> { [         a,    A,        acircumflex,  Acircumflex    ] };
98    key <AC02> { [         s,    S,           scedilla,     Scedilla    ] };
99    key <AC11> { [ adiaeresis,   Adiaeresis,    abreve,       Abreve    ] };
100};
101
102partial alphanumeric_keys
103xkb_symbols "ro_nodeadkeys" {
104    // add romanian-specific letters to the German nodeadkeys layout.
105    // Read the comment for de_ro !
106
107    include "de(nodeadkeys)"
108    name[Group1]="Germany - Romanian keyboard with German letters, eliminate dead keys";
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
117// German Dvorak keymap by Thorsten Staerk (www.staerk.de/thorsten)
118// Have acute and grave as dead keys, tilde and circumflex alive as they are needed
119// in many programming languages.
120// to use this keymap, use a 105-key-keyboard and the command setxkbmap -model pc105 -layout dvorak -variant de
121// source: http://www-lehre.informatik.uni-osnabrueck.de/~rfreund/dvorak.php
122partial alphanumeric_keys
123xkb_symbols "dvorak" {
124    include "us(dvorak)"
125
126    name[Group1]="Germany - Dvorak";
127
128    key <TLDE> { [ asciicircum, degree ] };
129
130    key <AE01> { [ 1, exclam, onesuperior ] };
131    key <AE02> { [ 2, quotedbl, twosuperior ] };
132    key <AE03> { [ 3, section, threesuperior ] };
133    key <AE04> { [ 4, dollar, bar ] };
134    key <AE05> { [ 5, percent, bar ] };
135    key <AE06> { [ 6, ampersand, brokenbar ] };
136    key <AE07> { [ 7, slash, braceleft ] };
137    key <AE08> { [ 8, parenleft, bracketleft ] };
138    key <AE09> { [ 9, parenright, bracketright ] };
139    key <AE10> { [ 0, equal, braceright ] };
140    key <AE11> { [ plus, asterisk, asciitilde ] };
141    key <AE12> { [ less, greater, dead_grave ] };
142
143    key <AD01> { [ udiaeresis, Udiaeresis, at ] };
144    key <AD02> { [ comma, semicolon, dead_diaeresis ] };
145    key <AD03> { [ period, colon ] };
146    key <AD08> { [ c, C, copyright, Cacute ] };
147    key <AD09> { [ t, T, trademark ] };
148    key <AD10> { [ z, Z, zabovedot, Zabovedot ] };
149    key <AD11> { [ question, ssharp ] };
150    key <AD12> { [ slash, backslash, dead_acute ] };
151
152    key <AC01> { [ a, A, at, aogonek ] };
153    key <AC02> { [ o, O, oacute, Oacute ] };
154    key <AC03> { [ e, E, EuroSign, eogonek ] };
155    key <AC04> { [ i, I ] };
156    key <AC05> { [ u, U ] };
157    key <AC06> { [ h, H ] };
158    key <AC07> { [ d, D ] };
159    key <AC08> { [ r, R, registered ] };
160    key <AC09> { [ n, N, nacute, Nacute ] };
161    key <AC10> { [ s, S, sacute, Sacute] };
162    key <AC11> { [ l, L, lstroke, Lstroke ] };
163
164    key <AB01> { [ odiaeresis, Odiaeresis ] };
165    key <AB02> { [ q, Q, at ] };
166    key <AB07> { [ m, M, mu ] };
167    key <AB10> { [ numbersign, apostrophe ] };
168
169    key <BKSL> { [ minus, underscore, hyphen, diaeresis] };
170
171    key <LSGT> { [ adiaeresis, Adiaeresis, bar ] };
172
173    include "level3(ralt_switch)"
174};
175
176partial alphanumeric_keys
177xkb_symbols "Sundeadkeys" {
178
179    // For naming consistency
180
181    include "de(basic)"
182
183};
184
185partial alphanumeric_keys
186xkb_symbols "sundeadkeys" {
187
188    // For naming consistency
189
190    include "de(Sundeadkeys)"
191
192    name[Group1]="Germany - Sun dead keys";
193};
194
195
196// German NEO Style
197// adopted 2004 by Hanno Behrens <Hanno.Behrens@gmx.de>
198// inspired by Dvorak/de-ergo  http://www.goebel-consult.de/de-ergo/
199// Authors:
200//      lucky (at) zankt (dot) net
201//      Benjamin (dot) Kellermann (at) gmx (dot) de
202// Other Questions:
203//   neo_layout (at) yahoogroups (dot) de
204
205partial alphanumeric_keys
206xkb_symbols "neo" {
207
208    name[Group1]= "German Neostyle";
209
210    key.type[Group1]="EIGHT_LEVEL_ALPHABETIC";
211
212    // 1st row
213
214    key <TLDE> { [ dead_circumflex,                     dead_caron,             dead_breve                                              ] };
215
216    key <AE01> { [ 1,           degree,                 onesuperior,            U2640,              oneeighth                           ] };
217    key <AE02> { [ 2,           paragraph,              twosuperior,            U26A5                                                   ] };
218    key <AE03> { [ 3,           section,                threesuperior,          U2642s,             threeeighth                         ] };
219    key <AE04> { [ 4,           guillemotright,         U203A,                  4,                  Prior,          Prior               ] };
220    key <AE05> { [ 5,           guillemotleft,          U2039,                  5,                  fiveeighths,    implies             ] };
221    key <AE06> { [ 6,           dollar,                 sterling,               currency,           6,              ifonlyif            ] };
222    key <AE07> { [ 7,           EuroSign,               cent,                   yen,                seveneighths,   notsign             ] };
223    key <AE08> { [ 8,           doublelowquotemark,     singlelowquotemark,     8,                  slash,          U2203               ] };
224    key <AE09> { [ 9,           leftdoublequotemark,    leftsinglequotemark,    9,                  asterisk,       U2200               ] };
225    key <AE10> { [ 0,           rightdoublequotemark,   rightsinglequotemark,   0,                  minus,          logicalor           ] };
226    key <AE11> { [ minus,       endash,                 emdash,                 hyphen,             minus,          logicaland          ] };
227    key <AE12> { [ dead_acute,  dead_grave,             dead_cedilla,           dead_ogonek,        dead_abovedot,  dead_abovering      ] };
228
229    // 2nd row
230    key <AD01> { [ x,           X,                      at,                     Greek_xi,           x,              Greek_XI            ] };
231    key <AD02> { [ v,           V,                      underscore,             v,                  BackSpace,      U039B               ] };
232    key <AD03> { [ l,           L,                      bracketleft,            Greek_lambda,       Up,             Up                  ] };
233    key <AD04> { [ c,           C,                      bracketright,           Greek_chi,          Tab,            Tab                 ] };
234    key <AD05> { [ w,           W,                      asciicircum,            w,                  Insert,         Insert              ] };
235    key <AD06> { [ k,           K,                      exclam,                 Greek_kappa,        exclamdown,     copyright           ] };
236    key <AD07> { [ h,           H,                      less,                   Greek_psi,          7,              Greek_PSI           ] };
237    key <AD08> { [ g,           G,                      greater,                Greek_gamma,        8,              Greek_GAMMA         ] };
238    key <AD09> { [ f,           F,                      equal,                  Greek_phi,          9,              Greek_PHI           ] };
239    key <AD10> { [ q,           Q,                      ampersand,              q,                  plus,           partialderivative   ] };
240    key <AD11> { [ ssharp,      U1E9E,                  U133,                   U132,               schwa,          SCHWA               ] };
241    key <AD12> { [ dead_tilde,  dead_macron,            dead_diaeresis,         dead_doubleacute,   dead_belowdot,  dead_belowdot       ] };
242
243    // 3rd row
244    key <AC01> { [ u,           U,                      backslash,              backslash,          Home,           Home                ] };
245    key <AC02> { [ i,           I,                      slash,                  Greek_iota,         Left,           Left                ] };
246    key <AC03> { [ a,           A,                      braceleft,              Greek_alpha,        Down,           Down                ] };
247    key <AC04> { [ e,           E,                      braceright,             Greek_epsilon,      Right,          Right               ] };
248    key <AC05> { [ o,           O,                      asterisk,               Greek_omega,        End,            End                 ] };
249    key <AC06> { [ s,           S,                      question,               Greek_sigma,        questiondown,   Greek_SIGMA         ] };
250    key <AC07> { [ n,           N,                      parenleft,              Greek_nu,           4,              numerosign          ] };
251    key <AC08> { [ r,           R,                      parenright,             U03F1,              5,              registered          ] };
252    key <AC09> { [ t,           T,                      minus,                  Greek_tau,          6,              trademark           ] };
253    key <AC10> { [ d,           D,                      colon,                  Greek_delta,        comma,          Greek_DELTA         ] };
254    key <AC11> { [ y,           Y,                      doublelowquotemark,     Greek_upsilon,      thorn,          THORN               ] };
255
256    // 4th row
257    key <AB01> { [ odiaeresis,  Odiaeresis,             numbersign,             odiaeresis,         Escape                              ] };
258    key <AB02> { [ udiaeresis,  Udiaeresis,             dollar,                 udiaeresis,         Delete,         Delete              ] };
259    key <AB03> { [ adiaeresis,  Adiaeresis,             bar,                    Greek_eta,          Next,           Next                ] };
260    key <AB04> { [ p,           P,                      asciitilde,             Greek_pi,           Return,         Greek_PI            ] };
261    key <AB05> { [ z,           Z,                      grave,                  Greek_zeta,         z,              Greek_OMEGA         ] };
262    key <AB06> { [ b,           B,                      plus,                   Greek_beta,         infinity,       enfilledcircbullet  ] };
263    key <AB07> { [ m,           M,                      percent,                mu,                 1,              integral            ] };
264    key <AB08> { [ comma,       comma,                  apostrophe,             U3D1,               2,              radical             ] };
265    key <AB09> { [ period,      ellipsis,               quotedbl,               Greek_theta,        3,              Greek_THETA         ] };
266    key <AB10> { [ j,           J,                      semicolon,              j,                  period,         nabla               ] };
267
268    key <SPCE> { [ space,       space,                  space,                  nobreakspace,       0,              U202F               ] };
269   
270    // new modkeys   
271
272    key <CAPS> { [ ISO_Level3_Shift, ISO_Level3_Shift,  Caps_Lock,              Caps_Lock,          Caps_Lock,      Caps_Lock           ] };
273    key <BKSL> { [ ISO_Level3_Shift, ISO_Level3_Shift,  Multi_key,              Multi_key,          Multi_key,      Multi_key           ] };
274    key <LSGT> { [ 0xfe11,      0xfe11,                 Multi_key,              Multi_key                                               ] };
275    key <RALT> { [ 0xfe11,      0xfe11,                 Multi_key,              Multi_key,          KP_Decimal,     0xfe11              ] };
276
277    modifier_map mod5 { <LSGT>, <RALT> };
278    // Keypad
279
280         // key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] };
281
282        key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD" ;
283
284        key <KPDV> { [ KP_Divide,   KP_Divide,   division,   U2215 ] };
285        key <KPMU> { [ KP_Multiply, KP_Multiply, multiply,   U22C5 ] };
286        key <KPSU> { [ KP_Subtract, KP_Subtract, U2212             ] };
287       
288        key  <KP7> { [ KP_Home,     KP_7,        KP_7,       U226A ] };
289        key  <KP8> { [ KP_Up,       KP_8,        uparrow,    U2229 ] };
290        key  <KP9> { [ KP_Prior,    KP_9,        KP_9,       U226B ] };
291        key <KPAD> { [ KP_Add,      KP_Add,      plusminus,  U2213 ] };
292       
293        key  <KP4> { [ KP_Left,     KP_4,        leftarrow,  U2282 ] };
294        key  <KP5> { [ EuroSign,    KP_5,        dagger,     U220A ] };
295        key  <KP6> { [ KP_Right,    KP_6,        rightarrow, U2283 ] };
296
297        key  <KP1> { [ KP_End,      KP_1,        U21CB,      U2264 ] };
298        key  <KP2> { [ KP_Down,     KP_2,        downarrow,  U222A ] };
299        key  <KP3> { [ KP_Next,     KP_3,        U21CC,      U2265 ] };
300        key <KPEN> { [ KP_Enter,    KP_Enter,    notequal,   U2248 ] };
301        key <KPEQ> { [ KP_Equal                                    ] };
302
303        key  <KP0> { [ KP_Insert,   KP_0,        percent,    U2030 ] };
304        key <KPDL> { [ KP_Delete,   KP_Decimal,  period,     comma ] };
305
306};
307 
308// Copied from macintosh_vndr/de
309// olh@suse.de   very close to MacOS map
310
311partial alphanumeric_keys
312xkb_symbols "mac" {
313
314    include "de"
315    name[Group1]= "Germany - Macintosh";
316
317    // Alphanumeric section
318    key <AE01>  { [         1,     exclam,   exclamdown,           at ] };
319    key <AE05>  { [         5,    percent,  bracketleft       ] };
320    key <AE06>  { [         6,  ampersand, bracketright       ] };
321    key <AE07>  { [         7,      slash,          bar,    backslash ] };
322    key <AE08>  { [         8,  parenleft,    braceleft,   asciitilde ] };
323    key <AE09>  { [         9, parenright,   braceright       ] };
324    key <AD01>  { [         q,          Q, guillemotleft, guillemotright ]      };
325    key <AD04>  { [         r,          R,   registered       ] };
326    key <AD07>  { [         u,          U,    diaeresis,       Aacute ] };
327    key <AD08>  { [         i,          I,        slash,  Ucircumflex ] };
328    key <AD11>  { [ udiaeresis, Udiaeresis, periodcentered,    degree ] };
329    key <AD12>  { [      plus,   asterisk,   asciitilde       ] };
330    key <AC01>  { [         a,          A,        aring,        Aring ] };
331    key <AC05>  { [         g,          G,    copyright       ] };
332    key <AC06>  { [         h,          H,  ordfeminine       ] };
333    key <AC09>  { [         l,          L,           at       ] };
334    key <AC10>  { [ odiaeresis, Odiaeresis,  dead_acute       ] };
335    key <AB06>  { [         n,          N,   asciitilde       ] };
336
337};
338
339partial alphanumeric_keys
340xkb_symbols "mac_nodeadkeys" {
341    // modify the standard German mac layout to not have any dead keys
342    include "de(mac)"
343    name[Group1]= "Germany - Macintosh, eliminate dead keys";
344    key <AE04>  { [         4,     dollar,   onequarter,     currency ] };
345
346    key <TLDE>  { [ asciicircum,    degree,     notsign       ] };
347    key <AE12>  { [      acute,      grave,     cedilla       ] };
348    key <AD11>  { [ udiaeresis, Udiaeresis,   diaeresis       ] };
349    key <AD12>  { [       plus,   asterisk,  asciitilde,       macron ] };
350    key <AC10>  { [ odiaeresis, Odiaeresis,       acute       ] };
351    key <AC11>  { [ adiaeresis, Adiaeresis, asciicircum       ] };
352
353    key <BKSL>  { [ numbersign, apostrophe,       grave       ] };
354};
Note: See TracBrowser for help on using the browser.