--- gb.txt 2013-05-11 16:17:34.000000000 +0100 +++ gb2.txt 2013-05-11 16:18:20.000000000 +0100 @@ -1,5 +1,49 @@ // based on a keyboard map from an 'xkb/symbols/gb' file +partial alphanumeric_keys +xkb_symbols "extd" { + // Clone of the Microsoft "English (UK, Extended" layout, which + // includes dead keys for: grave; diaeresis; circumflex; tilde; and + // accute. It also enables direct access to accute characters using + // the Multi_key (Alt Gr). + // + // Taken from... + // "Windows Keyboard Layouts" + // http://msdn.microsoft.com/en-us/goglobal/bb964651.aspx + // + // -- Jonathan Miles + + include "latin" + + name[Group1]="English (UK, extended WinKeys)"; + + // Alphanumeric section + key { [ dead_grave, notsign, brokenbar, NoSymbol ] }; + + key { [ 2, quotedbl, dead_diaeresis, onehalf ] }; + key { [ 3, sterling, threesuperior, onethird ] }; + key { [ 4, dollar, EuroSign, onequarter ] }; + key { [ 6, asciicircum, dead_circumflex, NoSymbol ] }; + + key { [ w, W, wacute, Wacute ] }; + key { [ e, E, eacute, Eacute ] }; + key { [ y, Y, yacute, Yacute ] }; + key { [ u, U, uacute, Uacute ] }; + key { [ i, I, iacute, Iacute ] }; + key { [ o, O, oacute, Oacute ] }; + + key { [ a, A, aacute, Aacute ] }; + key { [ apostrophe, at, dead_acute, NoSymbol ] }; + + key { [ c, C, ccedilla, Ccedilla ] }; + + key { [ numbersign, asciitilde, dead_tilde, NoSymbol ] }; + key { [ backslash, bar, NoSymbol, NoSymbol ] }; + // End alphanumeric section + + include "level3(ralt_switch)" +}; + partial default alphanumeric_keys xkb_symbols "basic" { @@ -56,50 +100,6 @@ include "level3(ralt_switch)" }; - -partial alphanumeric_keys -xkb_symbols "extd" { - // Clone of the Microsoft "English (UK, Extended" layout, which - // includes dead keys for: grave; diaeresis; circumflex; tilde; and - // accute. It also enables direct access to accute characters using - // the Multi_key (Alt Gr). - // - // Taken from... - // "Windows Keyboard Layouts" - // http://msdn.microsoft.com/en-us/goglobal/bb964651.aspx - // - // -- Jonathan Miles - - include "latin" - - name[Group1]="English (UK, extended WinKeys)"; - - // Alphanumeric section - key { [ dead_grave, notsign, brokenbar, NoSymbol ] }; - - key { [ 2, quotedbl, dead_diaeresis, onehalf ] }; - key { [ 3, sterling, threesuperior, onethird ] }; - key { [ 4, dollar, EuroSign, onequarter ] }; - key { [ 6, asciicircum, dead_circumflex, NoSymbol ] }; - - key { [ w, W, wacute, Wacute ] }; - key { [ e, E, eacute, Eacute ] }; - key { [ y, Y, yacute, Yacute ] }; - key { [ u, U, uacute, Uacute ] }; - key { [ i, I, iacute, Iacute ] }; - key { [ o, O, oacute, Oacute ] }; - - key { [ a, A, aacute, Aacute ] }; - key { [ apostrophe, at, dead_acute, NoSymbol ] }; - - key { [ c, C, ccedilla, Ccedilla ] }; - - key { [ numbersign, asciitilde, dead_tilde, NoSymbol ] }; - key { [ backslash, bar, NoSymbol, NoSymbol ] }; - // End alphanumeric section - - include "level3(ralt_switch)" -}; // Describe the differences between the US Colemak layout // and a UK variant. By Andy Buckley (andy@insectnation.org)