| 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 | |
|---|
| 7 | default |
|---|
| 8 | xkb_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 <AC10> { [odiaeresis, Odiaeresis, dead_doubleacute, dead_doubleacute ] }; |
|---|
| 36 | key <AC11> { [adiaeresis, Adiaeresis, dead_circumflex, dead_caron] }; |
|---|
| 37 | key <TLDE> { [dead_circumflex, degree, notsign, notsign ] }; |
|---|
| 38 | |
|---|
| 39 | key <BKSL> { [numbersign, apostrophe, dead_grave, dead_breve ] }; |
|---|
| 40 | key <AB01> { [ y, Y, guillemotleft, less ] }; |
|---|
| 41 | |
|---|
| 42 | include "kpdl(comma)" |
|---|
| 43 | |
|---|
| 44 | include "level3(ralt_switch)" |
|---|
| 45 | }; |
|---|
| 46 | |
|---|
| 47 | partial alphanumeric_keys |
|---|
| 48 | xkb_symbols "nodeadkeys" { |
|---|
| 49 | |
|---|
| 50 | // modify the basic German layout to not have any dead keys |
|---|
| 51 | |
|---|
| 52 | include "de(basic)" |
|---|
| 53 | name[Group1]="Germany - Eliminate dead keys"; |
|---|
| 54 | |
|---|
| 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 ] }; |
|---|
| 63 | }; |
|---|
| 64 | |
|---|
| 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) |
|---|
| 70 | |
|---|
| 71 | include "de(basic)" |
|---|
| 72 | name[Group1]="Germany - Dead grave acute"; |
|---|
| 73 | |
|---|
| 74 | key <TLDE> { [asciicircum, degree, notsign, notsign ] }; |
|---|
| 75 | key <AD12> { [ plus, asterisk, asciitilde, dead_macron ] }; |
|---|
| 76 | key <BKSL> { [numbersign, apostrophe, grave, grave ] }; |
|---|
| 77 | }; |
|---|
| 78 | |
|---|
| 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) |
|---|
| 84 | |
|---|
| 85 | include "de(deadgraveacute)" |
|---|
| 86 | |
|---|
| 87 | name[Group1]="Germany - Dead acute"; |
|---|
| 88 | |
|---|
| 89 | key <AE12> { [dead_acute, grave, dead_cedilla, dead_ogonek ] }; |
|---|
| 90 | key <BKSL> { [numbersign, apostrophe, dead_grave, dead_grave ] }; |
|---|
| 91 | }; |
|---|
| 92 | |
|---|
| 93 | partial alphanumeric_keys |
|---|
| 94 | xkb_symbols "ro" { |
|---|
| 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. |
|---|
| 100 | |
|---|
| 101 | include "de(basic)" |
|---|
| 102 | |
|---|
| 103 | name[Group1]="Germany - Romanian keyboard with German letters"; |
|---|
| 104 | |
|---|
| 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 ] }; |
|---|
| 110 | }; |
|---|
| 111 | |
|---|
| 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 ! |
|---|
| 116 | |
|---|
| 117 | include "de(nodeadkeys)" |
|---|
| 118 | name[Group1]="Germany - Romanian keyboard with German letters, eliminate dead keys"; |
|---|
| 119 | |
|---|
| 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 ] }; |
|---|
| 125 | }; |
|---|
| 126 | |
|---|
| 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" { |
|---|
| 134 | include "us(dvorak)" |
|---|
| 135 | |
|---|
| 136 | name[Group1]="Germany - Dvorak"; |
|---|
| 137 | |
|---|
| 138 | key <TLDE> { [ asciicircum, degree ] }; |
|---|
| 139 | |
|---|
| 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 ] }; |
|---|
| 152 | |
|---|
| 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 ] }; |
|---|
| 161 | |
|---|
| 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 ] }; |
|---|
| 173 | |
|---|
| 174 | key <AB01> { [ odiaeresis, Odiaeresis ] }; |
|---|
| 175 | key <AB02> { [ q, Q, at ] }; |
|---|
| 176 | key <AB07> { [ m, M, mu ] }; |
|---|
| 177 | key <AB10> { [ numbersign, apostrophe ] }; |
|---|
| 178 | |
|---|
| 179 | key <BKSL> { [ minus, underscore, hyphen, diaeresis] }; |
|---|
| 180 | |
|---|
| 181 | key <LSGT> { [ adiaeresis, Adiaeresis, bar ] }; |
|---|
| 182 | |
|---|
| 183 | include "level3(ralt_switch)" |
|---|
| 184 | }; |
|---|
| 185 | |
|---|
| 186 | partial alphanumeric_keys |
|---|
| 187 | xkb_symbols "Sundeadkeys" { |
|---|
| 188 | |
|---|
| 189 | // For naming consistency |
|---|
| 190 | |
|---|
| 191 | include "de(basic)" |
|---|
| 192 | |
|---|
| 193 | }; |
|---|
| 194 | |
|---|
| 195 | partial alphanumeric_keys |
|---|
| 196 | xkb_symbols "sundeadkeys" { |
|---|
| 197 | |
|---|
| 198 | // For naming consistency |
|---|
| 199 | |
|---|
| 200 | include "de(Sundeadkeys)" |
|---|
| 201 | |
|---|
| 202 | name[Group1]="Germany - Sun dead keys"; |
|---|
| 203 | }; |
|---|
| 204 | |
|---|
| 205 | // German NEO-Layout Version 2 |
|---|
| 206 | // adopted 2004 by Hanno Behrens <Hanno.Behrens@gmx.de> |
|---|
| 207 | // inspired by Dvorak/de-ergo http://www.goebel-consult.de/de-ergo/ |
|---|
| 208 | // |
|---|
| 209 | // Authors: |
|---|
| 210 | // <lucky at zankt dot net> |
|---|
| 211 | // Benjamin Kellermann <Benjamin dot Kellermann at gmx dot Germany> |
|---|
| 212 | // Erik Streb <mail at erikstreb dot de> |
|---|
| 213 | // and many other contributers |
|---|
| 214 | // |
|---|
| 215 | // http://www.neo-layout.org |
|---|
| 216 | // |
|---|
| 217 | // $Revision$, $Date$ |
|---|
| 218 | |
|---|
| 219 | |
|---|
| 220 | partial alphanumeric_keys modifier_keys keypad_keys |
|---|
| 221 | xkb_symbols "neo" { |
|---|
| 222 | |
|---|
| 223 | name[Group1]= "Germany - Neo 2"; |
|---|
| 224 | |
|---|
| 225 | // Levels in Neo jargon |
|---|
| 226 | // -------------------------------------------------------------- |
|---|
| 227 | // Ebene 1: normal |
|---|
| 228 | // Ebene 2: Shift |
|---|
| 229 | // Ebene 3: Mod3 |
|---|
| 230 | // Ebene 4: Mod4 (for marking something use Shift+Mod4) |
|---|
| 231 | // Ebene 5: Shift+Mod3 |
|---|
| 232 | // Ebene 6: Mod3+Mod4 (in this order) |
|---|
| 233 | // Compose (not a level): Mod3+Tab |
|---|
| 234 | // Feststelltaste (Capslock): Mod3+Mod3 |
|---|
| 235 | // |
|---|
| 236 | // Levels in Xkbmap jargon to be found here in the definitions. |
|---|
| 237 | // These are the levels used, and Xorg's translations with type="EIGHT_LEVEL": |
|---|
| 238 | // -------------------------------------------------------------- |
|---|
| 239 | // Modifier: None Shift Mod3 Shift+Mod3 Mod4 Shift+Mod4 Mod3+Mod4 |
|---|
| 240 | // Xorg calls it: Level1 Level2 Level3 Level4 Level5 Level6 Level7 |
|---|
| 241 | // Neo calls it: Ebene1 Ebene2 Ebene3 Ebene5 Ebene4 Ebene4+Shift Ebene6 |
|---|
| 242 | |
|---|
| 243 | // Modifier definitions |
|---|
| 244 | // -------------------------------------------------------------- |
|---|
| 245 | // Definition of the so called Neo-Mod3 |
|---|
| 246 | // (FIXME Nur CAPS+BKSL ist Caps_Lock – Nicht andersherum, siehe Ticket #30) |
|---|
| 247 | key.type[Group1]="THREE_LEVEL"; |
|---|
| 248 | key <BKSL> { [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock ] }; |
|---|
| 249 | key <CAPS> { [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock ] }; |
|---|
| 250 | |
|---|
| 251 | // Definition of the so called Neo-Mod4 |
|---|
| 252 | // FIXME ISO_Level5_Shift was causing problems, though it's defined in |
|---|
| 253 | // /usr/include/X11/keysymdef.h on Ubuntu 8.10 (ticket #33), |
|---|
| 254 | // using hexcode 0xfe11 again for now |
|---|
| 255 | key.type[Group1]="ONE_LEVEL"; |
|---|
| 256 | key <LSGT> { [ 0xfe11 ]}; |
|---|
| 257 | key <RALT> { [ 0xfe11 ]}; |
|---|
| 258 | modifier_map Mod3 { <LSGT>, <RALT> }; |
|---|
| 259 | // Attention: ^^^ This is a X server variable, not the Neo-Mod3. |
|---|
| 260 | |
|---|
| 261 | key.type[Group1]="EIGHT_LEVEL_ALPHABETIC" ; |
|---|
| 262 | |
|---|
| 263 | // Tab as Multi_key (Compose) |
|---|
| 264 | // -------------------------------------------------------------- |
|---|
| 265 | key <TAB> { [ Tab, ISO_Left_Tab, Multi_key ] }; |
|---|
| 266 | |
|---|
| 267 | // number row |
|---|
| 268 | // -------------------------------------------------------------- |
|---|
| 269 | key <TLDE> { [ dead_circumflex, dead_tilde, dead_abovering, dead_breve, dead_caron, NoSymbol, dead_macron ] }; |
|---|
| 270 | |
|---|
| 271 | key <AE01> { [ 1, degree, onesuperior, onesubscript, ordfeminine, NoSymbol, notsign ] }; |
|---|
| 272 | key <AE02> { [ 2, section, twosuperior, twosubscript, masculine, NoSymbol, logicalor ] }; |
|---|
| 273 | key <AE03> { [ 3, U2113, threesuperior, threesubscript, numerosign, NoSymbol, logicaland ] }; |
|---|
| 274 | key <AE04> { [ 4, guillemotright, U203A, femalesymbol, Prior, Prior, U22A5 ] }; |
|---|
| 275 | key <AE05> { [ 5, guillemotleft, U2039, malesymbol, periodcentered, NoSymbol, U2221 ] }; |
|---|
| 276 | key <AE06> { [ 6, dollar, cent, U26A5, sterling, NoSymbol, U2225 ] }; |
|---|
| 277 | |
|---|
| 278 | key <AE07> { [ 7, EuroSign, yen, Greek_kappa, currency, NoSymbol, rightarrow ] }; |
|---|
| 279 | key <AE08> { [ 8, doublelowquotemark, singlelowquotemark, U27E8, NoSymbol, NoSymbol, U221E ] }; |
|---|
| 280 | key <AE09> { [ 9, leftdoublequotemark, leftsinglequotemark, U27E9, KP_Divide, NoSymbol, U220B ] }; |
|---|
| 281 | key <AE10> { [ 0, rightdoublequotemark, rightsinglequotemark, zerosubscript, KP_Multiply, NoSymbol, emptyset ] }; |
|---|
| 282 | |
|---|
| 283 | key <AE11> { [ minus, emdash, NoSymbol, U2011, KP_Subtract, NoSymbol, hyphen ] }; |
|---|
| 284 | key <AE12> { [ dead_grave, NoSymbol, dead_diaeresis, dead_dasia, dead_doublegrave, NoSymbol, NoSymbol ] }; |
|---|
| 285 | |
|---|
| 286 | key <BKSP> { [ BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace, BackSpace ] }; |
|---|
| 287 | |
|---|
| 288 | // top row |
|---|
| 289 | // -------------------------------------------------------------- |
|---|
| 290 | // xvlcwkhgfqß |
|---|
| 291 | key <AD01> { [ x, X, ellipsis, Greek_xi, U22EE, NoSymbol, Greek_XI ] }; |
|---|
| 292 | key <AD02> { [ v, V, underscore, NoSymbol, BackSpace, BackSpace, U222E ] }; |
|---|
| 293 | key <AD03> { [ l, L, bracketleft, Greek_lambda, Up, Up, Greek_LAMBDA ] }; |
|---|
| 294 | key <AD04> { [ c, C, bracketright, Greek_chi, Delete, Delete, U2102 ] }; |
|---|
| 295 | key <AD05> { [ w, W, asciicircum, Greek_omega, Insert, Insert, Greek_OMEGA ] }; |
|---|
| 296 | |
|---|
| 297 | key <AD06> { [ k, K, exclam, U03F0, exclamdown, NoSymbol, radical ] }; |
|---|
| 298 | key <AD07> { [ h, H, less, Greek_psi, KP_7, NoSymbol, Greek_PSI ] }; |
|---|
| 299 | key <AD08> { [ g, G, greater, Greek_gamma, KP_8, NoSymbol, Greek_GAMMA ] }; |
|---|
| 300 | key <AD09> { [ f, F, equal, Greek_phi, KP_9, NoSymbol, Greek_PHI ] }; |
|---|
| 301 | key <AD10> { [ q, Q, ampersand, U03D5, KP_Add, NoSymbol, U211A ] }; |
|---|
| 302 | key <AD11> { [ ssharp, U1E9E, U017F, Greek_finalsmallsigma, NoSymbol, NoSymbol, jot ] }; |
|---|
| 303 | |
|---|
| 304 | key <AD12> { [ dead_acute, dead_cedilla, dead_stroke, dead_psili, dead_doubleacute, NoSymbol, dead_abovedot ] }; |
|---|
| 305 | |
|---|
| 306 | // middle row |
|---|
| 307 | // -------------------------------------------------------------- |
|---|
| 308 | // uiaeosnrtdy |
|---|
| 309 | key <AC01> { [ u, U, backslash, NoSymbol, Home, Home, mu ] }; |
|---|
| 310 | key <AC02> { [ i, I, slash, Greek_iota, Left, Left, integral ] }; |
|---|
| 311 | key <AC03> { [ a, A, braceleft, Greek_alpha, Down, Down, U2200 ] }; |
|---|
| 312 | key <AC04> { [ e, E, braceright, Greek_epsilon, Right, Right, U2203 ] }; |
|---|
| 313 | key <AC05> { [ o, O, asterisk, Greek_omicron, End, End, elementof ] }; |
|---|
| 314 | |
|---|
| 315 | key <AC06> { [ s, S, question, Greek_sigma, questiondown, NoSymbol, Greek_SIGMA ] }; |
|---|
| 316 | key <AC07> { [ n, N, parenleft, Greek_nu, KP_4, NoSymbol, U2115 ] }; |
|---|
| 317 | key <AC08> { [ r, R, parenright, U03F1, KP_5, NoSymbol, U211D ] }; |
|---|
| 318 | key <AC09> { [ t, T, minus, Greek_tau, KP_6, NoSymbol, partialderivative ] }; |
|---|
| 319 | key <AC10> { [ d, D, colon, Greek_delta, comma, NoSymbol, Greek_DELTA ] }; |
|---|
| 320 | key <AC11> { [ y, Y, at, Greek_upsilon, KP_Decimal, NoSymbol, nabla ] }; |
|---|
| 321 | |
|---|
| 322 | // bottom row |
|---|
| 323 | // -------------------------------------------------------------- |
|---|
| 324 | // üöäpzbm,.j |
|---|
| 325 | key <AB01> { [ udiaeresis, Udiaeresis, numbersign, NoSymbol, Escape, Escape, U211C ] }; |
|---|
| 326 | key <AB02> { [ odiaeresis, Odiaeresis, dollar, U03F5, Tab, Tab, U2111 ] }; |
|---|
| 327 | key <AB03> { [ adiaeresis, Adiaeresis, bar, Greek_eta, Next, Next, U2135 ] }; |
|---|
| 328 | key <AB04> { [ p, P, asciitilde, Greek_pi, Return, Return, Greek_PI ] }; |
|---|
| 329 | key <AB05> { [ z, Z, grave, Greek_zeta, NoSymbol, NoSymbol, U2124 ] }; |
|---|
| 330 | |
|---|
| 331 | key <AB06> { [ b, B, plus, Greek_beta, colon, NoSymbol, U21D0 ] }; |
|---|
| 332 | key <AB07> { [ m, M, percent, Greek_mu, KP_1, NoSymbol, ifonlyif ] }; |
|---|
| 333 | key <AB08> { [ comma, endash, quotedbl, Greek_rho, KP_2, NoSymbol, U21D2 ] }; |
|---|
| 334 | key <AB09> { [ period, enfilledcircbullet, apostrophe, U03D1, KP_3, NoSymbol, Greek_THETA ] }; |
|---|
| 335 | key <AB10> { [ j, J, semicolon, Greek_theta, semicolon, NoSymbol, variation ] }; |
|---|
| 336 | |
|---|
| 337 | // Space key |
|---|
| 338 | // -------------------------------------------------------------- |
|---|
| 339 | key <SPCE> { [ space, space, space, nobreakspace, KP_0, NoSymbol, U202F ] }; |
|---|
| 340 | |
|---|
| 341 | // Keypad |
|---|
| 342 | // =========== |
|---|
| 343 | |
|---|
| 344 | // Num-Lock is no longer used with Neo: |
|---|
| 345 | //key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD"; |
|---|
| 346 | |
|---|
| 347 | // the former Numlock key: |
|---|
| 348 | key <NMLK> { [ Tab, ISO_Left_Tab, equal, approxeq, notequal, NoSymbol, identical ] }; |
|---|
| 349 | |
|---|
| 350 | // topmost row |
|---|
| 351 | // -------------------------------------------------------------- |
|---|
| 352 | key <KPDV> { [ KP_Divide, KP_Divide, division, U2300, U2215, NoSymbol, U2223 ] }; |
|---|
| 353 | key <KPMU> { [ KP_Multiply, KP_Multiply, U2219, U2299, multiply, NoSymbol, U2297 ] }; |
|---|
| 354 | key <KPSU> { [ KP_Subtract, KP_Subtract, U2212, U2296, U2216, NoSymbol, U2238 ] }; |
|---|
| 355 | |
|---|
| 356 | // top row |
|---|
| 357 | // -------------------------------------------------------------- |
|---|
| 358 | key <KP7> { [ KP_7, U2714, U2195, U226A, KP_Home, KP_Home, upstile ] }; |
|---|
| 359 | key <KP8> { [ KP_8, U2718, uparrow, intersection, KP_Up, KP_Up, U22C2 ] }; |
|---|
| 360 | key <KP9> { [ KP_9, dagger, U20D7, U226B, KP_Prior, KP_Prior, U2309 ] }; |
|---|
| 361 | key <KPAD> { [ KP_Add, KP_Add, plusminus, U2295, U2213, NoSymbol, U2214 ] }; |
|---|
| 362 | |
|---|
| 363 | // middle row |
|---|
| 364 | // -------------------------------------------------------------- |
|---|
| 365 | key <KP4> { [ KP_4, club, leftarrow, includedin, KP_Left, KP_Left, U2286 ] }; |
|---|
| 366 | key <KP5> { [ KP_5, EuroSign, brokenbar, U22B6, KP_Begin, KP_Begin, U22B7 ] }; |
|---|
| 367 | key <KP6> { [ KP_6, U2023, rightarrow, includes, KP_Right, KP_Right, U2287 ] }; |
|---|
| 368 | |
|---|
| 369 | // bottom row |
|---|
| 370 | // -------------------------------------------------------------- |
|---|
| 371 | key <KP1> { [ KP_1, diamond, U2194, lessthanequal,KP_End, KP_End, downstile ] }; |
|---|
| 372 | key <KP2> { [ KP_2, heart, downarrow, union, KP_Down, KP_Down, U22C3 ] }; |
|---|
| 373 | key <KP3> { [ KP_3, U2660, U21CC, greaterthanequal,KP_Next, KP_Next, U230B ] }; |
|---|
| 374 | key <KPEN> { [ KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter, KP_Enter ] }; |
|---|
| 375 | key <KPEQ> { [ KP_Equal ] }; |
|---|
| 376 | |
|---|
| 377 | // bottommost row |
|---|
| 378 | // -------------------------------------------------------------- |
|---|
| 379 | key <KP0> { [ KP_0, U2423, percent, U2030, KP_Insert, KP_Insert, U25A1 ] }; |
|---|
| 380 | key <KPDL> { [ KP_Decimal, comma, period, apostrophe, KP_Delete, KP_Delete, quotedbl ] }; |
|---|
| 381 | |
|---|
| 382 | }; |
|---|
| 383 | |
|---|
| 384 | // Copied from macintosh_vndr/de |
|---|
| 385 | // olh@suse.de very close to MacOS map |
|---|
| 386 | |
|---|
| 387 | partial alphanumeric_keys |
|---|
| 388 | xkb_symbols "mac" { |
|---|
| 389 | |
|---|
| 390 | include "de" |
|---|
| 391 | name[Group1]= "Germany - Macintosh"; |
|---|
| 392 | |
|---|
| 393 | // Alphanumeric section |
|---|
| 394 | key <AE01> { [ 1, exclam, exclamdown, at ] }; |
|---|
| 395 | key <AE05> { [ 5, percent, bracketleft ] }; |
|---|
| 396 | key <AE06> { [ 6, ampersand, bracketright ] }; |
|---|
| 397 | key <AE07> { [ 7, slash, bar, backslash ] }; |
|---|
| 398 | key <AE08> { [ 8, parenleft, braceleft, asciitilde ] }; |
|---|
| 399 | key <AE09> { [ 9, parenright, braceright ] }; |
|---|
| 400 | key <AD01> { [ q, Q, guillemotleft, guillemotright ] }; |
|---|
| 401 | key <AD04> { [ r, R, registered ] }; |
|---|
| 402 | key <AD07> { [ u, U, diaeresis, Aacute ] }; |
|---|
| 403 | key <AD08> { [ i, I, slash, Ucircumflex ] }; |
|---|
| 404 | key <AD11> { [ udiaeresis, Udiaeresis, periodcentered, degree ] }; |
|---|
| 405 | key <AD12> { [ plus, asterisk, asciitilde ] }; |
|---|
| 406 | key <AC01> { [ a, A, aring, Aring ] }; |
|---|
| 407 | key <AC05> { [ g, G, copyright ] }; |
|---|
| 408 | key <AC06> { [ h, H, ordfeminine ] }; |
|---|
| 409 | key <AC09> { [ l, L, at ] }; |
|---|
| 410 | key <AC10> { [ odiaeresis, Odiaeresis, dead_acute ] }; |
|---|
| 411 | key <AB06> { [ n, N, asciitilde ] }; |
|---|
| 412 | |
|---|
| 413 | }; |
|---|
| 414 | |
|---|
| 415 | partial alphanumeric_keys |
|---|
| 416 | xkb_symbols "mac_nodeadkeys" { |
|---|
| 417 | // modify the standard German mac layout to not have any dead keys |
|---|
| 418 | include "de(mac)" |
|---|
| 419 | name[Group1]= "Germany - Macintosh, eliminate dead keys"; |
|---|
| 420 | key <AE04> { [ 4, dollar, onequarter, currency ] }; |
|---|
| 421 | |
|---|
| 422 | key <TLDE> { [ asciicircum, degree, notsign ] }; |
|---|
| 423 | key <AE12> { [ acute, grave, cedilla ] }; |
|---|
| 424 | key <AD11> { [ udiaeresis, Udiaeresis, diaeresis ] }; |
|---|
| 425 | key <AD12> { [ plus, asterisk, asciitilde, macron ] }; |
|---|
| 426 | key <AC10> { [ odiaeresis, Odiaeresis, acute ] }; |
|---|
| 427 | key <AC11> { [ adiaeresis, Adiaeresis, asciicircum ] }; |
|---|
| 428 | |
|---|
| 429 | key <BKSL> { [ numbersign, apostrophe, grave ] }; |
|---|
| 430 | }; |
|---|
| 431 | |
|---|
| 432 | partial alphanumeric_keys |
|---|
| 433 | xkb_symbols "dsb" |
|---|
| 434 | { |
|---|
| 435 | name[Group1] = "Germany - Lower Sorbian"; |
|---|
| 436 | include "latin(basic)" |
|---|
| 437 | include "level3(ralt_switch)" |
|---|
| 438 | include "kpdl(comma)" |
|---|
| 439 | key <AB01> { [ z, Z, zcaron, Zcaron ] }; |
|---|
| 440 | key <AB02> { [ x, X, zacute, Zacute ] }; |
|---|
| 441 | key <AB03> { [ c, C, cacute, Cacute ] }; |
|---|
| 442 | key <AB04> { [ v, V, ccaron, Ccaron ] }; |
|---|
| 443 | key <AB06> { [ n, N, nacute, Nacute ] }; |
|---|
| 444 | key <AC02> { [ s, S, sacute, Sacute ] }; |
|---|
| 445 | key <AC03> { [ d, D, scaron, Scaron ] }; |
|---|
| 446 | key <AC04> { [ f, F ] }; |
|---|
| 447 | key <AD01> { [ q, Q ] }; |
|---|
| 448 | key <AD02> { [ w, W ] }; |
|---|
| 449 | key <AD03> { [ e, E, ecaron, Ecaron ] }; |
|---|
| 450 | key <AD04> { [ r, R, racute, Racute ] }; |
|---|
| 451 | key <AD05> { [ t, T, U20B5, EuroSign ] }; |
|---|
| 452 | key <AD09> { [ o, O, oacute, Oacute ] }; |
|---|
| 453 | }; |
|---|
| 454 | |
|---|
| 455 | partial alphanumeric_keys |
|---|
| 456 | xkb_symbols "dsb_qwertz" |
|---|
| 457 | { |
|---|
| 458 | name[Group1] = "Germany - Lower Sorbian (qwertz)"; |
|---|
| 459 | include "latin(basic)" |
|---|
| 460 | include "level3(ralt_switch)" |
|---|
| 461 | include "kpdl(comma)" |
|---|
| 462 | key <AB01> { [ y, Y ] }; |
|---|
| 463 | key <AB02> { [ x, X ] }; |
|---|
| 464 | key <AB03> { [ c, C, cacute, Cacute ] }; |
|---|
| 465 | key <AB04> { [ v, V, ccaron, Ccaron ] }; |
|---|
| 466 | key <AB06> { [ n, N, nacute, Nacute ] }; |
|---|
| 467 | key <AC02> { [ s, S, sacute, Sacute ] }; |
|---|
| 468 | key <AC03> { [ d, D, scaron, Scaron ] }; |
|---|
| 469 | key <AC04> { [ f, F ] }; |
|---|
| 470 | key <AD01> { [ q, Q ] }; |
|---|
| 471 | key <AD02> { [ w, W ] }; |
|---|
| 472 | key <AD03> { [ e, E, ecaron, Ecaron ] }; |
|---|
| 473 | key <AD04> { [ r, R, racute, Racute ] }; |
|---|
| 474 | key <AD05> { [ t, T, U20B5, EuroSign ] }; |
|---|
| 475 | key <AD06> { [ z, Z, zcaron, Zcaron ] }; |
|---|
| 476 | key <AD07> { [ u, U, zacute, Zacute ] }; |
|---|
| 477 | key <AD09> { [ o, O, oacute, Oacute ] }; |
|---|
| 478 | }; |
|---|
| 479 | |
|---|
| 480 | partial alphanumeric_keys |
|---|
| 481 | xkb_symbols "qwerty" { |
|---|
| 482 | |
|---|
| 483 | // This layout should work exactly as a de with the exception |
|---|
| 484 | // of 'Z' and 'Y' keys, which are in the qwerty style (ie. swapped). |
|---|
| 485 | // 2008 by Matej Košík <kosik@fiit.stuba.sk> |
|---|
| 486 | |
|---|
| 487 | include "de(basic)" |
|---|
| 488 | |
|---|
| 489 | name[Group1] = "Germany - qwerty"; |
|---|
| 490 | |
|---|
| 491 | key <AB01> { [ z, Z, leftarrow, yen ] }; |
|---|
| 492 | key <AD06> { [ y, Y, guillemotleft, less ] }; |
|---|
| 493 | }; |
|---|