3 // based on a keyboard map from an 'xkb/symbols/gb' file
5 // $XFree86: xc/programs/xkbcomp/symbols/gb,v 1.6 2003/10/04 10:25:14 pascal Exp $
7 partial default alphanumeric_keys
10 // Describes the differences between a very simple en_US
11 // keyboard and a very simple U.K. keyboard layout defined by
12 // the SVR4 European Language Supplement and sometimes also
13 // known as the IBM 166 layout.
17 name[Group1]="United Kingdom";
19 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
20 key <AE03> { [ 3, sterling, threesuperior, sterling ] };
21 key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
23 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
24 key <TLDE> { [ grave, notsign, bar, bar ] };
26 key <BKSL> { [numbersign, asciitilde, dead_grave, dead_breve ] };
27 key <LSGT> { [ backslash, bar, bar, brokenbar ] };
29 include "level3(ralt_switch_multikey)"
32 partial alphanumeric_keys
35 // Describes the differences between a very simple en_US
36 // keyboard and a very simple U.K. keyboard layout with
37 // dead keys. By Phil Jones (philjones1@blueyonder.co.uk)
39 // Includes the following keys:
48 name[Group1]="United Kingdom - International (with dead keys)";
50 key <AE02> { [ 2, dead_diaeresis, twosuperior, onehalf ] };
51 key <AE03> { [ 3, sterling, threesuperior, onethird ] };
52 key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
53 key <AE06> { [ 6, dead_circumflex, NoSymbol, onesixth ] };
55 key <AC11> { [ dead_acute, at, apostrophe, bar ] };
56 key <TLDE> { [ dead_grave, notsign, bar, bar ] };
58 key <BKSL> { [ numbersign, dead_tilde, bar, bar ] };
59 key <LSGT> { [ backslash, bar, bar, bar ] };
61 include "level3(ralt_switch)"
64 // Describe the differences between the US Colemak layout
65 // and a UK variant. By Andy Buckley (andy@insectnation.org)
67 partial alphanumeric_keys
68 xkb_symbols "colemak" {
71 name[Group1]="United Kingdom - Colemak";
73 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
74 key <AE03> { [ 3, sterling, threesuperior, sterling ] };
75 key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
77 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
78 key <TLDE> { [ grave, notsign, bar, bar ] };
80 key <BKSL> { [numbersign, asciitilde, dead_grave, dead_breve ] };
81 key <LSGT> { [ backslash, bar, bar, brokenbar ] };
83 include "level3(ralt_switch_multikey)"
87 // Dvorak (UK) keymap (by odaen) allowing the usage of
88 // the £ and ? key and swapping the @ and " keys.
90 partial alphanumeric_keys
91 xkb_symbols "dvorak" {
92 include "us(dvorak-intl)"
94 name[Group1]="United Kingdom - Dvorak";
96 key <AD01> { [ apostrophe, at ] };
97 key <AE02> { [ 2, quotedbl, twosuperior, NoSymbol ] };
98 key <AE03> { [ 3, sterling, threesuperior, NoSymbol ] };
99 key <BKSL> { [ numbersign, asciitilde ] };
100 key <LSGT> { [ backslash, bar ] };
101 key <TLDE> { [ grave, notsign, bar, bar ] };
104 // Dvorak letter positions, but punctuation all in the normal UK positions.
105 partial alphanumeric_keys
106 xkb_symbols "dvorakukp" {
109 name[Group1]="United Kingdom - Dvorak (UK Punctuation)";
111 key <AE11> { [ minus, underscore ] };
112 key <AE12> { [ equal, plus ] };
113 key <AD11> { [ bracketleft, braceleft ] };
114 key <AD12> { [ bracketright, braceright ] };
115 key <AD01> { [ slash, question ] };
116 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
119 // Copied from macintosh_vndr/gb
120 partial alphanumeric_keys
123 // Describes the differences between a very simple en_US
124 // keyboard and a very simple U.K. keyboard layout
128 name[Group1]= "United Kingdom - Macintosh";
130 key <AE02> { [ 2, at, EuroSign ] };
131 key <AE03> { [ 3, sterling, numbersign ] };
133 // End alphanumeric section
135 include "level3(ralt_switch)"