// Xnybre's Scientific Keymap // by Daniel Kalør // // partial default xkb_symbols "basic" { name[Group1]= "XSK"; key.type[group1]="EIGHT_LEVEL"; key { type[Group1]="PC_CONTROL_LEVEL2", symbols[Group1] = [ ISO_Level3_Shift, Multi_key ] }; key { type[Group1]="PC_CONTROL_LEVEL2", symbols[Group1] = [ ISO_Level5_Shift, Menu ] }; modifier_map Mod5 { ISO_Level3_Shift }; modifier_map Mod3 { ISO_Level5_Shift }; // ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬────────────┐ // │ ~ │ │ │ │ │ │ │ │ │ │ │ │ │ │ // │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │ = │ Backspace │ // ├─────┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬─────────┤ // │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ // │ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [ │ ] │ Enter │ // ├────────┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┐ │ // │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ // │ Esc │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ; │ ' │ \ │ │ // ├───────┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴──┬──┴─────┴───────┼─────┐ // │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ // │ Shift │ < │ Z │ X │ C │ V │ B │ N │ M │ , │ . │ / │ Shift │ ↑ │ // ├───────┴┬────┴─┬───┴────┬┴─────┴─────┴─────┴─────┴─────┴─┬───┴────┬┴─────┴─┬────────┬─────┼─────┼─────┐ // │ │ │ │ │ │ │ │ │ │ │ // │ Ctrl │ │ Alt │ Space │ Alt │ Alt²Gr │ Ctrl │ ← │ ↓ │ → │ // └────────┘ └────────┴────────────────────────────────┴────────┴────────┴────────┴─────┴─────┴─────┘ key { [ Escape ] }; key { [ grave, asciitilde, masculine, ordfeminine, notsign, U2295, because, therefore ] }; key { [ 1, exclam, exclamdown, U2297, logicaland, logicalor, onesuperior, onesubscript ] }; key { [ 2, at, onehalf, partdifferential, U2207, U2220, twosuperior, twosubscript ] }; key { [ 3, numbersign, sterling, U221A, U22B2, U2206, threesuperior, threesubscript ] }; key { [ 4, dollar, EuroSign, cent, yen, currency, foursuperior, foursubscript ] }; key { [ 5, percent, copyright, U2030, registered, trademark, fivesuperior, fivesubscript ] }; key { [ 6, asciicircum, U2216, emptyset, union, intersection, sixsuperior, sixsubscript ] }; key { [ 7, ampersand, includedin, U2286, elementof, notelementof, sevensuperior, sevensubscript ] }; key { [ 8, asterisk, includes, U2287, containsas, U220C, eightsuperior, eightsubscript ] }; key { [ 9, parenleft, periodcentered, dead_abovedot, U2288, U2289, ninesuperior, ninesubscript ] }; key { [ 0, parenright, degree, dead_abovering, U2200, U2203, zerosuperior, zerosubscript ] }; key { [ minus, underscore, notequal, plusminus, U2248, U2213, multiply, division ] }; key { [ equal, plus, dead_acute, dead_grave, identical, approximate, NoSymbol, NoSymbol ] }; key { [ q, Q, infinity, variation, Greek_tau, Greek_TAU, U211A, NoSymbol ] }; key { [ w, W, U22A2, U22A7, Greek_psi, Greek_PSI, U1D54E, U23DA ] }; key { [ e, E, eacute, Eacute, Greek_epsilon, Greek_EPSILON, U1D53C, schwa ] }; key { [ r, R, aring, Aring, Greek_rho, Greek_RHO, U211D, U267A ] }; key { [ t, T, U22A5, U22A4, Greek_theta, Greek_THETA, U1D54B, NoSymbol ] }; key { [ y, Y, udiaeresis, Udiaeresis, Greek_omicron, Greek_OMICRON, U207A, U207B ] }; key { [ u, U, uacute, Uacute, Greek_upsilon, Greek_UPSILON, U207D, U207E ] }; key { [ i, I, iacute, Iacute, Greek_eta, Greek_ETA, U1D540, U1D62 ] }; key { [ o, O, oacute, Oacute, Greek_omega, Greek_OMEGA, U1D546, NoSymbol ] }; key { [ p, P, eth, ETH, Greek_pi, Greek_PI, U2119, U03D6 ] }; key { [ bracketleft, braceleft, aring, Aring, aring, Aring, NoSymbol, NoSymbol ] }; key { [ bracketright, braceright, dead_diaeresis, dead_circumflex, dead_stroke, dead_doubleacute, NoSymbol, NoSymbol ] }; key { [ a, A, aacute, Aacute, Greek_alpha, Greek_ALPHA, U1D538, U2135 ] }; key { [ s, S, ssharp, section, Greek_sigma, Greek_SIGMA, U1D54A, NoSymbol ] }; key { [ d, D, ae, AE, Greek_delta, Greek_DELTA, U1D53B, U2138 ] }; key { [ f, F, oslash, Ooblique, Greek_phi, Greek_PHI, U1D53D, U03DD ] }; key { [ g, G, U2218, U2210, Greek_gamma, Greek_GAMMA, U1D53E, U2137 ] }; key { [ h, H, U2308, U2309, U230A, U230B, U210D, U2764 ] }; key { [ j, J, integral, U222E, Greek_iota, Greek_IOTA, U1D541, NoSymbol ] }; key { [ k, K, U22EE, U22F1, Greek_kappa, Greek_KAPPA, U1D542, U03F0 ] }; key { [ l, L, ellipsis, U22EF, Greek_lambda, Greek_LAMBDA, U1D543, NoSymbol ] }; key { [ semicolon, colon, odiaeresis, Odiaeresis, ae, AE, NoSymbol, NoSymbol ] }; key { [ apostrophe, quotedbl, adiaeresis, Adiaeresis, oslash, Ooblique, NoSymbol, NoSymbol ] }; key { [ backslash, bar, dead_tilde, dead_caron, paragraph, NoSymbol, NoSymbol, NoSymbol ] }; key { [ less, greater, guillemotleft, guillemotright, U226A, U226B, U27E8, U27E9 ] }; key { [ z, Z, lessthanequal, greaterthanequal, Greek_zeta, Greek_ZETA, U2124, NoSymbol ] }; key { [ x, X, oe, OE, Greek_xi, Greek_XI, checkmark, ballotcross ] }; key { [ c, C, ccedilla, Ccedilla, Greek_chi, Greek_CHI, U2102, U2201 ] }; key { [ v, V, ntilde, Ntilde, leftdoublequotemark, rightdoublequotemark, doublelowquotemark, singlelowquotemark ] }; key { [ b, B, leftsinglequotemark, rightsinglequotemark, Greek_beta, Greek_BETA, U1D539, U2136 ] }; key { [ n, N, U266A, U266B, Greek_nu, Greek_NU, U2115, U207F ] }; key { [ m, M, U2318, U269C, Greek_mu, Greek_MU, NoSymbol, NoSymbol ] }; key { [ comma, less, thorn, THORN, dead_hook, dead_horn, NoSymbol, NoSymbol ] }; key { [ period, greater, dead_ogonek, dead_breve, dead_cedilla, dead_belowdot, NoSymbol, NoSymbol ] }; key { [ slash, question, questiondown, dead_macron, endash, emdash, U203D, U2E18 ] }; key { [ Up, Up, uparrow, uparrow, U21D5, U21D5, NoSymbol, NoSymbol ] }; key { [ Down, Down, downarrow, downarrow, U21D3, U21D3, NoSymbol, NoSymbol ] }; key { [ Left, Left, leftarrow, leftarrow, ifonlyif, ifonlyif, U27F2, U27F2 ] }; key { [ Right, Right, rightarrow, U21A6, implies, implies, U27F3, U27F3 ] }; key { [ space, space, nobreakspace, nobreakspace, U2060, U2060, NoSymbol, NoSymbol ] }; key { [ Return, Return, U23CE, U23CE, U220E, U220E, NoSymbol, NoSymbol ] }; }; partial xkb_symbols "de" { include "xsk(basic)" key { [ bracketleft, braceleft, udiaeresis, Udiaeresis, aring, Aring, NoSymbol, NoSymbol ] }; }; partial xkb_symbols "lenovo" { include "xsk(basic)" key { type[Group1]="PC_CONTROL_LEVEL2", symbols[Group1] = [ ISO_Level5_Shift, Menu ] }; };