1 // based on a keyboard map from an 'xkb/symbols/gb' file
3 partial default alphanumeric_keys
6 // Describes the differences between a very simple en_US
7 // keyboard and a very simple U.K. keyboard layout defined by
8 // the SVR4 European Language Supplement and sometimes also
9 // known as the IBM 166 layout.
13 name[Group1]="United Kingdom";
15 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
16 key <AE03> { [ 3, sterling, threesuperior, sterling ] };
17 key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
19 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
20 key <TLDE> { [ grave, notsign, bar, bar ] };
22 key <BKSL> { [numbersign, asciitilde, dead_grave, dead_breve ] };
23 key <LSGT> { [ backslash, bar, bar, brokenbar ] };
25 include "level3(ralt_switch_multikey)"
28 partial alphanumeric_keys
31 // Describes the differences between a very simple en_US
32 // keyboard and a very simple U.K. keyboard layout with
33 // dead keys. By Phil Jones (philjones1@blueyonder.co.uk)
35 // Includes the following keys:
44 name[Group1]="United Kingdom - International (with dead keys)";
46 key <AE02> { [ 2, dead_diaeresis, twosuperior, onehalf ] };
47 key <AE03> { [ 3, sterling, threesuperior, onethird ] };
48 key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
49 key <AE06> { [ 6, dead_circumflex, NoSymbol, onesixth ] };
51 key <AC11> { [ dead_acute, at, apostrophe, bar ] };
52 key <TLDE> { [ dead_grave, notsign, bar, bar ] };
54 key <BKSL> { [ numbersign, dead_tilde, bar, bar ] };
55 key <LSGT> { [ backslash, bar, bar, bar ] };
57 include "level3(ralt_switch)"
60 partial alphanumeric_keys
62 // Clone of the Microsoft "United Kingdom - Extended" layout, which
63 // includes dead keys for: grave; diaeresis; circumflex; tilde; and
64 // accute. It also enables direct access to accute characters using
65 // the Multi_key (Alt Gr).
68 // "Windows Keyboard Layouts"
69 // http://msdn.microsoft.com/en-us/goglobal/bb964651.aspx
71 // -- Jonathan Miles <jon@cybah.co.uk>
75 name[Group1]="United Kingdom - Extended - Winkeys";
77 // Alphanumeric section
78 key <TLDE> { [ dead_grave, notsign, brokenbar, NoSymbol ] };
80 key <AE02> { [ 2, quotedbl, dead_diaeresis, onehalf ] };
81 key <AE03> { [ 3, sterling, threesuperior, onethird ] };
82 key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
83 key <AE06> { [ 6, asciicircum, dead_circumflex, NoSymbol ] };
85 key <AD02> { [ w, W, wacute, Wacute ] };
86 key <AD03> { [ e, E, eacute, Eacute ] };
87 key <AD06> { [ y, Y, yacute, Yacute ] };
88 key <AD07> { [ u, U, uacute, Uacute ] };
89 key <AD08> { [ i, I, iacute, Iacute ] };
90 key <AD09> { [ o, O, oacute, Oacute ] };
92 key <AC01> { [ a, A, aacute, Aacute ] };
93 key <AC11> { [ apostrophe, at, dead_acute, NoSymbol ] };
95 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
97 key <BKSL> { [ numbersign, asciitilde, dead_tilde, NoSymbol ] };
98 key <LSGT> { [ backslash, bar, NoSymbol, NoSymbol ] };
99 // End alphanumeric section
101 include "level3(ralt_switch)"
104 // Describe the differences between the US Colemak layout
105 // and a UK variant. By Andy Buckley (andy@insectnation.org)
107 partial alphanumeric_keys
108 xkb_symbols "colemak" {
109 include "us(colemak)"
111 name[Group1]="United Kingdom - Colemak";
113 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
114 key <AE03> { [ 3, sterling, threesuperior, sterling ] };
115 key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
117 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
118 key <TLDE> { [ grave, notsign, bar, bar ] };
120 key <BKSL> { [numbersign, asciitilde, dead_grave, dead_breve ] };
121 key <LSGT> { [ backslash, bar, bar, brokenbar ] };
123 include "level3(ralt_switch_multikey)"
127 // Dvorak (UK) keymap (by odaen) allowing the usage of
128 // the £ and ? key and swapping the @ and " keys.
130 partial alphanumeric_keys
131 xkb_symbols "dvorak" {
132 include "us(dvorak-alt-intl)"
134 name[Group1]="United Kingdom - Dvorak";
136 key <AD01> { [ apostrophe, at ] };
137 key <AE02> { [ 2, quotedbl, twosuperior, NoSymbol ] };
138 key <AE03> { [ 3, sterling, threesuperior, NoSymbol ] };
139 key <BKSL> { [ numbersign, asciitilde ] };
140 key <LSGT> { [ backslash, bar ] };
141 key <TLDE> { [ grave, notsign, bar, bar ] };
144 // Dvorak letter positions, but punctuation all in the normal UK positions.
145 partial alphanumeric_keys
146 xkb_symbols "dvorakukp" {
149 name[Group1]="United Kingdom - Dvorak (UK Punctuation)";
151 key <AE11> { [ minus, underscore ] };
152 key <AE12> { [ equal, plus ] };
153 key <AD11> { [ bracketleft, braceleft ] };
154 key <AD12> { [ bracketright, braceright ] };
155 key <AD01> { [ slash, question ] };
156 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
159 // Copied from macintosh_vndr/gb
160 partial alphanumeric_keys
163 // Describes the differences between a very simple en_US
164 // keyboard and a very simple U.K. keyboard layout
168 name[Group1]= "United Kingdom - Macintosh";
170 key <AE02> { [ 2, at, EuroSign ] };
171 key <AE03> { [ 3, sterling, numbersign ] };
173 // End alphanumeric section
175 include "level3(ralt_switch)"
179 partial alphanumeric_keys
180 xkb_symbols "mac_intl" {
184 name[Group1]="United Kingdom - Macintosh (International)";
186 key <AE02> { [ 2, at, EuroSign, onehalf ] };
187 key <AE03> { [ 3, sterling, twosuperior, onethird ] };
188 key <AE04> { [ 4, dollar, threesuperior, onequarter ] };
189 key <AE06> { [ 6, dead_circumflex, NoSymbol, onesixth ] };
190 key <AD09> { [ o, O, oe, OE ] };
192 key <AC11> { [ dead_acute, dead_diaeresis, dead_diaeresis, bar ] }; //dead_doubleacute
193 key <TLDE> { [ section, plusminus, notsign, notsign ] }; //dead_grave
195 key <BKSL> { [ backslash, bar, numbersign, bar ] };
196 key <LSGT> { [ dead_grave, dead_tilde, brokenbar, bar ] };
198 include "level3(ralt_switch)"