| 1 | // German Neolayout |
|---|
| 2 | // Fragen? mail an: lucky (bei) zankt (punkt) net oder |
|---|
| 3 | // neo_layout (bei) yahoogroups (punkt) de |
|---|
| 4 | |
|---|
| 5 | partial |
|---|
| 6 | xkb_symbols "basic" { |
|---|
| 7 | |
|---|
| 8 | name[Group1]= "German Neostyle (v.2.0)"; |
|---|
| 9 | |
|---|
| 10 | key.type[group1]="EIGHT_LEVEL_SEMIALPHABETIC"; |
|---|
| 11 | |
|---|
| 12 | // Zahlenreihe |
|---|
| 13 | key <TLDE> { [ dead_circumflex, dead_caron, dead_breve, dead_stroke, paragraph ] }; |
|---|
| 14 | |
|---|
| 15 | key <AE01> { [ 1, degree, notsign, onesuperior ] }; |
|---|
| 16 | key <AE02> { [ 2, 2, 2, twosuperior ] }; |
|---|
| 17 | key <AE03> { [ 3, section, 3, threesuperior ] }; |
|---|
| 18 | key <AE04> { [ 4, dollar, yen, cent, Prior, Prior ] }; |
|---|
| 19 | key <AE05> { [ 5, EuroSign, sterling, currency ] }; |
|---|
| 20 | key <AE06> { [ 6, ordfeminine, ae, AE ] }; |
|---|
| 21 | key <AE07> { [ 7, masculine, oe, OE ] }; |
|---|
| 22 | key <AE08> { [ 8, doublelowquotemark, singlelowquotemark, guillemotright, slash ] }; |
|---|
| 23 | key <AE09> { [ 9, leftdoublequotemark, leftsinglequotemark, guillemotleft, asterisk] }; |
|---|
| 24 | key <AE10> { [ 0, rightdoublequotemark, rightsinglequotemark, U203A, minus ] }; |
|---|
| 25 | key <AE11> { [ minus, U2013, U2014, U2039 ] }; |
|---|
| 26 | key <AE12> { [ dead_acute, dead_grave, dead_cedilla, dead_ogonek, dead_abovedot, dead_abovering ] }; |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | // obere Reihe |
|---|
| 30 | key <AD01> { [ x, X, at, Greek_xi, Escape, Greek_XI ] }; |
|---|
| 31 | key <AD02> { [ v, V, underscore, underscore, BackSpace, U039B ] }; |
|---|
| 32 | key <AD03> { [ l, L, bracketleft, Greek_lambda, Up, Up ] }; |
|---|
| 33 | key <AD04> { [ c, C, bracketright, Greek_chi, ccedilla, copyright ] }; |
|---|
| 34 | key <AD05> { [ w, W, asciicircum, asciicircum, Insert ] }; |
|---|
| 35 | key <AD06> { [ k, K, exclam, Greek_kappa, exclamdown ] }; |
|---|
| 36 | key <AD07> { [ h, H, less, Greek_psi, 7, Greek_PSI ] }; |
|---|
| 37 | key <AD08> { [ g, G, greater, Greek_gamma, 8, Greek_GAMMA ] }; |
|---|
| 38 | key <AD09> { [ f, F, equal, Greek_phi, 9, Greek_PHI ] }; |
|---|
| 39 | key <AD10> { [ q, Q, ampersand, ampersand, plus ] }; |
|---|
| 40 | key <AD11> { [ ssharp, minus, U133, U132, schwa, SCHWA ] }; |
|---|
| 41 | key <AD12> { [ dead_tilde, dead_macron, dead_diaeresis, dead_doubleacute, dead_belowdot, dead_belowdot ] }; |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | // mittlere Reihe |
|---|
| 45 | key <AC01> { [ u, U, backslash, backslash, Home, Home ] }; |
|---|
| 46 | key <AC02> { [ i, I, slash, Greek_iota, Left, Left ] }; |
|---|
| 47 | key <AC03> { [ a, A, braceleft, Greek_alpha, Down, Down ] }; |
|---|
| 48 | key <AC04> { [ e, E, braceright, Greek_epsilon, Right, Right ] }; |
|---|
| 49 | key <AC05> { [ o, O, asterisk, Greek_omega, End, End ] }; |
|---|
| 50 | key <AC06> { [ s, S, question, Greek_sigma, questiondown, Greek_SIGMA ] }; |
|---|
| 51 | key <AC07> { [ n, N, parenleft, Greek_nu, 4, U2116 ] }; |
|---|
| 52 | key <AC08> { [ r, R, parenright, Greek_rho, 5, registered ] }; |
|---|
| 53 | key <AC09> { [ t, T, minus, Greek_tau, 6, trademark ] }; |
|---|
| 54 | key <AC10> { [ d, D, colon, Greek_delta, comma, Greek_DELTA ] }; |
|---|
| 55 | key <AC11> { [ y, Y, y, Greek_upsilon, thorn, THORN ] }; |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | // untere Reihe |
|---|
| 59 | key <AB01> { [ odiaeresis, Odiaeresis, asciitilde, asciitilde, Tab, Tab ] }; |
|---|
| 60 | key <AB02> { [ udiaeresis, Udiaeresis, dollar, Udiaeresis, Delete ] }; |
|---|
| 61 | key <AB03> { [ adiaeresis, Adiaeresis, bar, Greek_eta, Next, Next ] }; |
|---|
| 62 | key <AB04> { [ p, P, numbersign, Greek_pi, p, Greek_PI ] }; |
|---|
| 63 | key <AB05> { [ z, Z, grave, Greek_zeta, z, Greek_ZETA ] }; |
|---|
| 64 | key <AB06> { [ b, B, plus, Greek_beta, plusminus, Greek_Beta ] }; |
|---|
| 65 | key <AB07> { [ m, M, percent, mu, 1 ] }; |
|---|
| 66 | key <AB08> { [ comma, semicolon, semicolon, U3D1, 2 ] }; |
|---|
| 67 | key <AB09> { [ period, colon, quotedbl, Greek_theta, 3, Greek_THETA ] }; |
|---|
| 68 | key <AB10> { [ j, J, apostrophe, apostrophe, period ] }; |
|---|
| 69 | |
|---|
| 70 | |
|---|
| 71 | |
|---|
| 72 | key <SPCE> { [ space, space, space, space, 0, space ] }; |
|---|
| 73 | |
|---|
| 74 | |
|---|
| 75 | |
|---|
| 76 | // Keypad |
|---|
| 77 | |
|---|
| 78 | key <NMLK> { [ Num_Lock, Pointer_EnableKeys ] }; |
|---|
| 79 | key <KPDV> { [ KP_Divide, KP_Divide, division, U2215 ] }; |
|---|
| 80 | key <KPMU> { [ KP_Multiply, KP_Multiply, multiply, U22C5, U2217 ] }; |
|---|
| 81 | key <KPSU> { [ KP_Subtract, KP_Subtract, U2212 ] }; |
|---|
| 82 | |
|---|
| 83 | key <KP7> { [ KP_Home, KP_7, seveneighths, oneeighth ] }; |
|---|
| 84 | key <KP8> { [ KP_Up, KP_8, uparrow, fiveeighths ] }; |
|---|
| 85 | key <KP9> { [ KP_Prior, KP_9, threeeighths, threeeighths ] }; |
|---|
| 86 | key <KPAD> { [ KP_Add, plusminus, plusminus, U2213 ] }; |
|---|
| 87 | |
|---|
| 88 | key <KP4> { [ KP_Left, KP_4, leftarrow, onequarter ] }; |
|---|
| 89 | key <KP5> { [ KP_Begin, KP_5, dagger, onehalf ] }; |
|---|
| 90 | key <KP6> { [ KP_Right, KP_6, rightarrow, threequarters ] }; |
|---|
| 91 | |
|---|
| 92 | key <KP1> { [ KP_End, KP_1, onesuperior, onesuperior ] }; |
|---|
| 93 | key <KP2> { [ KP_Down, KP_2, downarrow, twosuperior ] }; |
|---|
| 94 | key <KP3> { [ KP_Next, KP_3, threesuperior, threesuperior ] }; |
|---|
| 95 | key <KPEN> { [ KP_Enter ] }; |
|---|
| 96 | key <KPEQ> { [ KP_Equal ] }; |
|---|
| 97 | |
|---|
| 98 | key <KP0> { [ KP_Insert, KP_0, percent, U2030 ] }; |
|---|
| 99 | key <KPDL> { [ KP_Delete, KP_Decimal, period, comma ] }; |
|---|
| 100 | |
|---|
| 101 | |
|---|
| 102 | |
|---|
| 103 | // die neuen Mods |
|---|
| 104 | include "neo(raltgr)" |
|---|
| 105 | include "neo(rmodv)" |
|---|
| 106 | include "neo(laltgr)" |
|---|
| 107 | include "neo(lmodv)" |
|---|
| 108 | |
|---|
| 109 | }; |
|---|
| 110 | |
|---|
| 111 | // und die Mod-Definition |
|---|
| 112 | |
|---|
| 113 | partial modifier_keys |
|---|
| 114 | xkb_symbols "rmodv" { |
|---|
| 115 | key <RALT> { |
|---|
| 116 | type[Group1]="ONE_LEVEL", |
|---|
| 117 | symbols[Group1] = [ 0xfe11 ] |
|---|
| 118 | }; |
|---|
| 119 | modifier_map Mod3 { 0xfe11 }; |
|---|
| 120 | }; |
|---|
| 121 | |
|---|
| 122 | partial modifier_keys |
|---|
| 123 | xkb_symbols "raltgr" { |
|---|
| 124 | key <BKSL> { |
|---|
| 125 | type[Group1]="ONE_LEVEL", |
|---|
| 126 | symbols[Group1] = [ ISO_Level3_Shift ] |
|---|
| 127 | }; |
|---|
| 128 | }; |
|---|
| 129 | |
|---|
| 130 | partial modifier_keys |
|---|
| 131 | xkb_symbols "laltgr" { |
|---|
| 132 | key <CAPS> { |
|---|
| 133 | type[Group1]="EIGHT_LEVEL", |
|---|
| 134 | symbols[Group1] = [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock, Caps_Lock, Caps_Lock, Caps_Lock ] |
|---|
| 135 | }; |
|---|
| 136 | }; |
|---|
| 137 | |
|---|
| 138 | partial modifier_keys |
|---|
| 139 | xkb_symbols "lmodv" { |
|---|
| 140 | key <LSGT> { |
|---|
| 141 | type[Group1]="ONE_LEVEL", |
|---|
| 142 | symbols[Group1] = [ 0xfe11 ] |
|---|
| 143 | }; |
|---|
| 144 | modifier_map Mod3 { 0xfe11 }; |
|---|
| 145 | }; |
|---|
| 146 | |
|---|