Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Kabouik/3da97f9ec278f41b166ca7934313e99e to your computer and use it in GitHub Desktop.
Save Kabouik/3da97f9ec278f41b166ca7934313e99e to your computer and use it in GitHub Desktop.
US-international layouts for F(x)tec Pro¹ QWERTY model
default partial alphanumeric_keys
xkb_symbols "us" {
include "us(basic)"
name[Group1]="Fxtec Pro1 English (US, intl., with AltGr dead keys)";
# Extra symbols on levels 3 (YellowArrow modifier) and 4 (Shift+YellowArrow), no dead keys on levels 1 and 2
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 ] };
key <AE04> { [ 4, dollar, currency, sterling ] };
key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] };
key <AE06> { [ 6, asciicircum, onequarter, dead_circumflex ] };
key <AE07> { [ 7, ampersand, onehalf, dead_horn ] };
key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] };
key <AE11> { [ minus, underscore, yen, dead_belowdot ] };
key <AE12> { [ equal, plus, multiply, division ] };
key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
key <AD02> { [ w, W, aring, Aring ] };
key <AD03> { [ e, E, eacute, Eacute ] };
key <AD04> { [ r, R, registered, registered ] };
key <AD05> { [ t, T, thorn, THORN ] };
key <AD06> { [ y, Y, udiaeresis, Udiaeresis ] };
key <AD07> { [ u, U, uacute, Uacute ] };
key <AD08> { [ i, I, iacute, Iacute ] };
key <AD09> { [ o, O, oacute, Oacute ] };
key <AD10> { [ p, P, slash, odiaeresis ] };
key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] };
key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };
key <AC01> { [ a, A, aacute, Aacute ] };
key <AC02> { [ s, S, ssharp, section ] };
key <AC03> { [ d, D, eth, ETH ] };
key <AC04> { [ f, F, function, femalesymbol ] };
key <AC05> { [ g, G, emopencircle, emfilledcircle ] };
key <AC06> { [ h, H, infinity, implies ] };
key <AC07> { [ j, J, notequal, U25B8 ] };
key <AC08> { [ k, K, oe, OE ] };
key <AC09> { [ l, L, question, oslash ] };
key <AC10> { [ semicolon, colon, ellipsis, degree ] };
key <AC11> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] };
key <AB01> { [ z, Z, ae, AE ] };
key <AB02> { [ x, X, emdash, plusminus ] };
key <AB03> { [ c, C, copyright, cent ] };
key <AB04> { [ v, V, leftarrow, uparrow ] };
key <AB05> { [ b, B, rightarrow, downarrow ] };
key <AB06> { [ n, N, ntilde, Ntilde ] };
key <AB07> { [ m, M, mu, malesymbol ] };
key <AB08> { [ comma, less, ccedilla, Ccedilla ] };
key <AB09> { [ period, greater, dead_abovedot, dead_caron ] };
key <AB10> { [ slash, question, questiondown, dead_hook ] };
key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
include "level3(ralt_switch)"
};
default partial alphanumeric_keys
xkb_symbols "us" {
include "us(basic)"
name[Group1]="Fxtec Pro1 English (US, intl., with dead keys)";
# Extra symbols including dead keys on levels 3 (YellowArrow modifier) and 4 (Shift+YellowArrow)
key <TLDE> { [ dead_grave, dead_tilde, grave, asciitilde ] };
key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
key <AE02> { [ 2, at, twosuperior, dead_doubleacute ] };
key <AE03> { [ 3, numbersign, threesuperior, dead_macron ] };
key <AE04> { [ 4, dollar, currency, sterling ] };
key <AE05> { [ 5, percent, EuroSign, dead_cedilla ] };
key <AE06> { [ 6, dead_circumflex, onequarter, asciicircum ] };
key <AE07> { [ 7, ampersand, onehalf, dead_horn ] };
key <AE08> { [ 8, asterisk, threequarters, dead_ogonek ] };
key <AE09> { [ 9, parenleft, leftsinglequotemark, dead_breve ] };
key <AE10> { [ 0, parenright, rightsinglequotemark, dead_abovering ] };
key <AE11> { [ minus, underscore, yen, dead_belowdot ] };
key <AE12> { [ equal, plus, multiply, division ] };
key <AD01> { [ q, Q, adiaeresis, Adiaeresis ] };
key <AD02> { [ w, W, aring, Aring ] };
key <AD03> { [ e, E, eacute, Eacute ] };
key <AD04> { [ r, R, registered, registered ] };
key <AD05> { [ t, T, thorn, THORN ] };
key <AD06> { [ y, Y, udiaeresis, Udiaeresis ] };
key <AD07> { [ u, U, uacute, Uacute ] };
key <AD08> { [ i, I, iacute, Iacute ] };
key <AD09> { [ o, O, oacute, Oacute ] };
key <AD10> { [ p, P, slash, odiaeresis ] };
key <AD11> { [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ] };
key <AD12> { [bracketright, braceright, guillemotright, rightdoublequotemark ] };
key <AC01> { [ a, A, aacute, Aacute ] };
key <AC02> { [ s, S, ssharp, section ] };
key <AC03> { [ d, D, eth, ETH ] };
key <AC04> { [ f, F, function, femalesymbol ] };
key <AC05> { [ g, G, emopencircle, emfilledcircle ] };
key <AC06> { [ h, H, infinity, implies ] };
key <AC07> { [ j, J, notequal, U25B8 ] };
key <AC08> { [ k, K, oe, OE ] };
key <AC09> { [ l, L, question, oslash ] };
key <AC10> { [ semicolon, colon, ellipsis, degree ] };
key <AC11> { [ dead_acute, dead_diaeresis, apostrophe, quotedbl ] };
key <AB01> { [ z, Z, ae, AE ] };
key <AB02> { [ x, X, emdash, plusminus ] };
key <AB03> { [ c, C, copyright, cent ] };
key <AB04> { [ v, V, leftarrow, uparrow ] };
key <AB05> { [ b, B, rightarrow, downarrow ] };
key <AB06> { [ n, N, ntilde, Ntilde ] };
key <AB07> { [ m, M, mu, malesymbol ] };
key <AB08> { [ comma, less, ccedilla, Ccedilla ] };
key <AB09> { [ period, greater, dead_abovedot, dead_caron ] };
key <AB10> { [ slash, question, questiondown, dead_hook ] };
key <BKSL> { [ backslash, bar, notsign, brokenbar ] };
include "level3(ralt_switch)"
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment