ambevar-dotfiles/.xkb/symbols/usex

90 lines
7.2 KiB
Plaintext
Raw Normal View History

//------------------------------------------------------------------------------
// XKB Custom us keyboard
// 2013-06-12
//------------------------------------------------------------------------------
// Installation: copy this file to '/usr/{local/,}share/X11/xkb/symbols'. You
// can use it by selecting the "usex" layout from Xorg configuration file, or by
// using the following command:
// $ setxkbmap usex
// This keyboard is based on Xorg's "us intl" with some improvements.
// TODO: direct nbsp, swap control and Caps Lock, ≤ ≥ ↓ ↑ ← →
// ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓
2013-06-13 19:35:49 +02:00
// │ ~ ~ │ ! ¡ │ @ ˝ │ # ¯ │ $ ¤ │ % ¢ │ ^ ^ │ & ½ │ * ˛ │ ( ˘ │ ) ° │ _ ⋅ │ + ÷ ┃ ⌫ Back ┃
// │ ` ` │ 1 ¹ │ 2 ² │ 3 ³ │ 4 £ │ 5 € │ 6 ¼ │ 7 ½ │ 8 ¾ │ 9 │ 0 │ - ¥ │ = × ┃ space ┃
// ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━┫
2013-06-13 19:35:49 +02:00
// ┃ ┃ Q Ä │ W È │ E É │ R ® │ T Þ │ Y Ü │ U Ù │ I Í │ O Ó │ P Ö │ { “ │ } ” ┃ Enter ┃
// ┃Tab ↹ ┃ q ä │ w è │ e é │ r ® │ t þ │ y ü │ u ù │ i í │ o ó │ p ö │ [ « │ ] » ┃ ⏎ ┃
// ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓ ┃
2013-06-13 19:35:49 +02:00
// ┃ ┃ A À │ S § │ D  │ F Ê │ G Î │ H Ô │ J Û │ K Œ │ L Ø │ : ° │ " ¨ │ | ¦ ┃ ┃
// ┃Maj ⇬ ┃ a à │ s ß │ d â │ f ê │ g î │ h ô │ j û │ k œ │ l ø │ ; ¶ │ ' ´ │ \ ¬ ┃ ┃
// ┣━━━━━━━┳┹────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┬┴────┲┷━━━━━┻━━━━━━┫
2013-06-13 19:35:49 +02:00
// ┃ ┃ > ¦ │ Z Æ │ X X │ C ™ │ V V │ B B │ N Ñ │ M µ │ < Ç │ > ± │ ? ¿ ┃ ┃
// ┃Shift ⇧┃ < | │ z æ │ x x │ c © │ v v │ b b │ n ñ │ m µ │ , ç │ . ≠ │ / … ┃Shift ⇧ ┃
// ┣━━━━━━━╋━━━━━┷━┳━━━┷━━━┱─┴─────┴─────┴─────┴─────┴─────┴───┲━┷━━━━━╈━━━━━┻━┳━━━━━━━┳━━━┛
2013-06-13 09:05:43 +02:00
// ┃ ┃ ┃ ┃ ␣ ␣ ┃ ┃ ┃ ┃
// ┃Ctrl ┃Meta ┃Alt ┃ ␣ Space ␣ ┃AltGr ⇮┃Menu ┃Ctrl ┃
// ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹───────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┛
partial alphanumeric_keys
xkb_symbols "basic" {
name[Group1]= "English international with dead keys extended";
// Alphanumeric section
2013-06-13 09:05:43 +02:00
key <TLDE> { [ grave, asciitilde, dead_grave, dead_tilde ] };
key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] };
key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] };
2013-06-13 19:35:49 +02:00
key <AE04> { [ 4, dollar, sterling, currency ] };
key <AE05> { [ 5, percent, EuroSign, cent ] };
2013-06-13 09:05:43 +02:00
key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] };
2013-06-13 19:35:49 +02:00
key <AE07> { [ 7, ampersand, onehalf, onehalf ] };
2013-06-13 09:05:43 +02:00
key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] };
2013-06-13 19:35:49 +02:00
key <AE11> { [ minus, underscore, yen, 0x10022C5 ] };
2013-06-13 09:05:43 +02:00
key <AE12> { [ equal, plus, multiply, division ] };
2013-06-13 09:05:43 +02:00
key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
2013-06-13 19:35:49 +02:00
key <AD02> { [ w, W, egrave, Egrave ] };
2013-06-13 09:05:43 +02:00
key <AD03> { [ e, E, eacute, Eacute ] };
key <AD04> { [ r, R, registered, registered ] };
key <AD05> { [ t, T, thorn, THORN ] };
key <AD06> { [ y, Y, udiaeresis, Udiaeresis ] };
2013-06-13 19:35:49 +02:00
key <AD07> { [ u, U, ugrave, Ugrave ] };
2013-06-13 09:05:43 +02:00
key <AD08> { [ i, I, iacute, Iacute ] };
key <AD09> { [ o, O, oacute, Oacute ] };
key <AD10> { [ p, P, odiaeresis, Odiaeresis ] };
key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] };
key <AD12> { [ bracketright, braceright, guillemotright, rightdoublequotemark ] };
2013-06-13 19:35:49 +02:00
key <AC01> { [ a, A, agrave, Agrave ] };
key <AC02> { [ s, S, ssharp, section ] };
key <AC03> { [ d, D, acircumflex, Acircumflex ] };
key <AC04> { [ f, F, ecircumflex, Ecircumflex ] };
key <AC05> { [ g, G, icircumflex, Icircumflex ] };
key <AC06> { [ h, H, ocircumflex, Ocircumflex ] };
key <AC07> { [ j, J, ucircumflex, Ucircumflex ] };
key <AC08> { [ k, K, oe, OE ] };
key <AC09> { [ l, L, oslash, Ooblique ] };
key <AC10> { [ semicolon, colon, paragraph, degree ] };
key <AC11> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] };
key <AB01> { [ z, Z, ae, AE ] };
key <AB02> { [ x, X, x, X ] };
key <AB03> { [ c, C, copyright, trademark ] };
key <AB04> { [ v, V, v, V ] };
key <AB05> { [ b, B, b, B ] };
key <AB06> { [ n, N, ntilde, Ntilde ] };
key <AB07> { [ m, M, mu, mu ] };
key <AB08> { [ comma, less, ccedilla, Ccedilla ] };
key <AB09> { [ period, greater, notequal, plusminus ] };
key <AB10> { [ slash, question, 0x1002026, questiondown ] };
key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
include "level3(ralt_switch)"
};