From dfcfe5a095dbb3647ffea29da36ce09036d29b8a Mon Sep 17 00:00:00 2001 From: erik Date: Sat, 3 May 2008 13:58:31 +0000 Subject: xkeyb aktuell git-svn-id: https://svn.neo-layout.org@494 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- linux/X/de | 135 ++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 76 insertions(+), 59 deletions(-) (limited to 'linux/X') diff --git a/linux/X/de b/linux/X/de index c0183e8..b75fb7c 100644 --- a/linux/X/de +++ b/linux/X/de @@ -226,20 +226,21 @@ xkb_symbols "neo" { //////////////////////////////////////////////////// // Modifier definition //////////////////////////////////////////////////// - key.type[Group1]="EIGHT_LEVEL" ; + key.type[Group1]="EIGHT_LEVEL_ALPHABETIC" ; + + // Mod3 (ToDo: Nur CAPS+BKSL ist Caps_Lock – Nicht andersherum) + key { key.type[Group1]="THREE_LEVEL", [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock ] }; + key { key.type[Group1]="THREE_LEVEL", [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock ] }; - // hier (bei Mod3 und Mod4) sollte mal noch richtige Ebene 6 definiert werden - // Mod3 - key { [ ISO_Level3_Shift, ISO_Level3_Shift ] }; - key { [ ISO_Level3_Shift, ISO_Level3_Shift, Caps_Lock ] }; // Mod4 - key { [ 0xfe11, 0xfe11 ] }; - key { [ 0xfe11, 0xfe11 ] }; - modifier_map mod5 { , }; + key { key.type[Group1]="ONE_LEVEL", [ 0xfe11 ]}; + key { key.type[Group1]="ONE_LEVEL", [ 0xfe11 ]}; + + modifier_map Mod4 { , }; + - key.type[Group1]="EIGHT_LEVEL_SEMIALPHABETIC"; //////////////////////////////////////////////////// - // Ebenen + // Ebenen im Neo-Jargon, hier im Treiber anders //////////////////////////////////////////////////// // Ebene 1: normal // Ebene 2: Shift @@ -248,7 +249,18 @@ xkb_symbols "neo" { // Ebene 5: Shift+Mod3 // Ebene 6: Mod3+Mod4 (in dieser Reihenfolge) // Compose (keine eigene Ebene): Mod3+Tab - + // Feststelltaste (Capslock): Shift+Shift + // + //////////////////////////////////////////////////// + // Ebenen im Xkeymap-Jargon, hier in der Treiberdatei + //////////////////////////////////////////////////// + // + // Die von uns genannte Ebene 6 ist auf die Xorg-Ebene 7 + // verschoben, da die X-Ebene 6 mit Shift+Mod4 zu erreichen ist. + // Die Navigationstasten von Ebene 5 (X-Ebene – Mod4) werden, um auch + // mit Shift+Mod4 zu funktionieren, nochmal in der X-Ebene 6 + // wiederholt. Also so: + // Eb1, Eb2, Eb3, Eb5, Eb4, Eb4, Eb6 //////////////////////////////////////////////////// // general Lock @@ -261,77 +273,82 @@ xkb_symbols "neo" { //////////////////////////////////////////////////// // Tab as Multi_key (Compose) //////////////////////////////////////////////////// - key { [ Tab, ISO_Left_Tab, Multi_key ] }; + key { [ Tab, ISO_Left_Tab, Multi_key ] }; //////////////////////////////////////////////////// // The first row (number Row) //////////////////////////////////////////////////// - key { [ dead_circumflex, dead_caron, dead_breve, dead_stroke, dead_belowdot, dead_belowdot ] }; - key { [ 1, degree, onesuperior, femalesymbol, enfilledcircbullet, notsign ] }; - key { [ 2, numerosign, twosuperior, U26A5, U2023, logicalor ] }; - key { [ 3, section, threesuperior, malesymbol, 3, logicaland ] }; - key { [ 4, guillemotright, U203A, U2113, KP_Prior, KP_Prior ] }; - key { [ 5, guillemotleft, U2039, dagger, 5, implies ] }; - key { [ 6, EuroSign, cent, 6, sterling, U2225 ] }; + // This are the Levels Xorg (with type="EIGHT_LEVEL") thinks they are + // Base Shift Mod3 Shift+Mod3 Mod4 Shift+Mod4 Mod3+Mod4 + // Level1 Level2 Level3 Level4 Level5 Level6 Level7 + + key { [ dead_circumflex, dead_caron, dead_breve, dead_stroke, dead_belowdot, NoSymbol, dead_belowdot ] }; + + key { [ 1, degree, onesuperior, femalesymbol, enfilledcircbullet ] }; + key { [ 2, numerosign, twosuperior, U26A5, U2023, NoSymbol, logicalor ] }; + key { [ 3, section, threesuperior, malesymbol, 3, NoSymbol, logicaland ] }; + key { [ 4, guillemotright, U203A, U2113, KP_Prior, NoSymbol, KP_Prior ] }; + key { [ 5, guillemotleft, U2039, dagger, 5, NoSymbol, implies ] }; + key { [ 6, EuroSign, cent, 6, sterling, NoSymbol, U2225 ] }; - key { [ 7, dollar, yen, U03F0, currency, notelementof ] }; - key { [ 8, doublelowquotemark, singlelowquotemark, 8, KP_Divide, U2203 ] }; - key { [ 9, leftdoublequotemark, leftsinglequotemark, 9, KP_Multiply, U2200 ] }; - key { [ 0, rightdoublequotemark, rightsinglequotemark, 0, minus, logicalor ] }; + key { [ 7, dollar, yen, U03F0, currency, NoSymbol, notelementof ] }; + key { [ 8, doublelowquotemark, singlelowquotemark, 8, KP_Divide, NoSymbol, U2203 ] }; + key { [ 9, leftdoublequotemark, leftsinglequotemark, 9, KP_Multiply, NoSymbol, U2200 ] }; + key { [ 0, rightdoublequotemark, rightsinglequotemark, 0, minus, NoSymbol, logicalor ] }; - key { [ minus, endash, emdash, U2011, minus, hyphen ] }; - key { [ dead_acute, dead_grave, dead_cedilla, dead_ogonek, dead_abovedot, dead_abovering ] }; + key { [ minus, endash, emdash, U2011, minus, NoSymbol, hyphen ] }; + key { [ dead_acute, dead_grave, dead_cedilla, dead_ogonek, dead_abovedot, NoSymbol, dead_abovering ] }; //////////////////////////////////////////////////// // The upper row //////////////////////////////////////////////////// - key { [ x, X, x, Greek_xi, x, Greek_XI ] }; - key { [ v, V, underscore, v, BackSpace, BackSpace ] }; - key { [ l, L, bracketleft, Greek_lambda, KP_Up, KP_Up ] }; - key { [ c, C, bracketright, Greek_chi, KP_Delete, KP_Delete ] }; - key { [ w, W, asciicircum, Greek_omega, KP_Insert, Greek_OMEGA ] }; - key { [ k, K, exclam, Greek_kappa, exclamdown, radical ] }; - key { [ h, H, less, Greek_psi, KP_7, Greek_PSI ] }; - key { [ g, G, greater, Greek_gamma, KP_8, Greek_GAMMA ] }; - key { [ f, F, equal, U03D5, KP_9, Greek_PHI ] }; - key { [ q, Q, ampersand, Greek_phi, plus, U211A ] }; - key { [ ssharp, U1E9E, U017F, Greek_finalsmallsigma, ssharp, jot ] }; - key { [ dead_tilde, dead_macron, dead_diaeresis, dead_doubleacute ] }; + key { [ x, X, at, Greek_xi, x, NoSymbol, Greek_XI ] }; + key { [ v, V, underscore, v, BackSpace, NoSymbol, BackSpace ] }; + key { [ l, L, bracketleft, Greek_lambda, KP_Up, NoSymbol, KP_Up ] }; + key { [ c, C, bracketright, Greek_chi, KP_Delete, NoSymbol, KP_Delete ] }; + key { [ w, W, asciicircum, Greek_omega, KP_Insert, NoSymbol, Greek_OMEGA ] }; + key { [ k, K, exclam, Greek_kappa, exclamdown, NoSymbol, radical ] }; + key { [ h, H, less, Greek_psi, KP_7, NoSymbol, Greek_PSI ] }; + key { [ g, G, greater, Greek_gamma, KP_8, NoSymbol, Greek_GAMMA ] }; + key { [ f, F, equal, U03D5, KP_9, NoSymbol, Greek_PHI ] }; + key { [ q, Q, ampersand, Greek_phi, plus, NoSymbol, U211A ] }; + key { [ ssharp, U1E9E, U017F, Greek_finalsmallsigma, ssharp, NoSymbol, jot ] }; + key { [ dead_tilde, dead_macron, dead_diaeresis, dead_doubleacute ] }; //////////////////////////////////////////////////// // The home row (middle row) //////////////////////////////////////////////////// - key { [ u, U, backslash, u, KP_Home, KP_Home ] }; - key { [ i, I, slash, Greek_iota, KP_Left, KP_Left ] }; - key { [ a, A, braceleft, Greek_alpha, KP_Down, KP_Down ] }; - key { [ e, E, braceright, Greek_epsilon, KP_Right, KP_Right ] }; - key { [ o, O, asterisk, Greek_omicron, KP_End, KP_End ] }; - key { [ s, S, question, Greek_sigma, questiondown, Greek_SIGMA ] }; - key { [ n, N, parenleft, Greek_nu, KP_4 ] }; - key { [ r, R, parenright, Greek_rho, KP_5, registered ] }; - key { [ t, T, minus, Greek_tau, KP_6, trademark ] }; - key { [ d, D, colon, Greek_delta, comma, Greek_DELTA ] }; - key { [ y, Y, at, Greek_upsilon, y, nabla ] }; + key { [ u, U, backslash, u, KP_Home, KP_Home ] }; + key { [ i, I, slash, Greek_iota, KP_Left, KP_Left ] }; + key { [ a, A, braceleft, Greek_alpha, KP_Down, KP_Down ] }; + key { [ e, E, braceright, Greek_epsilon, KP_Right, KP_Right ] }; + key { [ o, O, asterisk, Greek_omicron, KP_End, KP_End ] }; + key { [ s, S, question, Greek_sigma, questiondown, NoSymbol, Greek_SIGMA ] }; + key { [ n, N, parenleft, Greek_nu, KP_4 ] }; + key { [ r, R, parenright, Greek_rho, KP_5, NoSymbol, registered ] }; + key { [ t, T, minus, Greek_tau, KP_6, NoSymbol, trademark ] }; + key { [ d, D, colon, Greek_delta, comma, NoSymbol, Greek_DELTA ] }; + key { [ y, Y, at, Greek_upsilon, y, NoSymbol, nabla ] }; //////////////////////////////////////////////////// // The lower row //////////////////////////////////////////////////// - key { [ udiaeresis, Udiaeresis, numbersign, udiaeresis, Escape ] }; - key { [ odiaeresis, Odiaeresis, dollar, odiaeresis, Tab, Tab ] }; - key { [ adiaeresis, Adiaeresis, bar, Greek_eta, KP_Next, KP_Next ] }; - key { [ p, P, asciitilde, Greek_pi, KP_Enter, Greek_PI ] }; - key { [ z, Z, grave, Greek_zeta, z, Greek_OMEGA ] }; - key { [ b, B, plus, Greek_beta, KP_Decimal, KP_Decimal ] }; - key { [ m, M, percent, mu, KP_1, integral ] }; - key { [ comma, comma, quotedbl, U03F1, KP_2, radical ] }; - key { [ period, ellipsis, apostrophe, Greek_theta, KP_3, Greek_THETA ] }; - key { [ j, J, semicolon, U3D1, period, nabla ] }; + key { [ udiaeresis, Udiaeresis, numbersign, udiaeresis, Escape ] }; + key { [ odiaeresis, Odiaeresis, dollar, odiaeresis, Tab, Tab ] }; + key { [ adiaeresis, Adiaeresis, bar, Greek_eta, KP_Next, KP_Next ] }; + key { [ p, P, asciitilde, Greek_pi, KP_Enter, NoSymbol, Greek_PI ] }; + key { [ z, Z, grave, Greek_zeta, z, NoSymbol, Greek_OMEGA ] }; + key { [ b, B, plus, Greek_beta, KP_Decimal, KP_Decimal ] }; + key { [ m, M, percent, mu, KP_1, NoSymbol, integral ] }; + key { [ comma, comma, quotedbl, U03F1, 2, NoSymbol, radical ] }; + key { [ period, ellipsis, apostrophe, Greek_theta, 3, NoSymbol, Greek_THETA ] }; + key { [ j, J, semicolon, U3D1, period, NoSymbol, nabla ] }; //////////////////////////////////////////////////// // Space key //////////////////////////////////////////////////// - key { [ space, space, space, nobreakspace, KP_0, U202F ] }; + key { [ space, space, space, nobreakspace, KP_0, NoSymbol, U202F ] }; //////////////////////////////////////////////////// // Keypad -- cgit v1.2.3