gb revision 1.1.1.6 1 // $XKeyboardConfig$
2
3 // based on a keyboard map from an 'xkb/symbols/gb' file
4 //
5 // $XFree86: xc/programs/xkbcomp/symbols/gb,v 1.6 2003/10/04 10:25:14 pascal Exp $
6
7 partial default alphanumeric_keys
8 xkb_symbols "basic" {
9
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.
14
15 include "latin"
16
17 name[Group1]="United Kingdom";
18
19 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
20 key <AE03> { [ 3, sterling, threesuperior, sterling ] };
21 key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
22
23 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
24 key <TLDE> { [ grave, notsign, bar, bar ] };
25
26 key <BKSL> { [numbersign, asciitilde, dead_grave, dead_breve ] };
27 key <LSGT> { [ backslash, bar, bar, brokenbar ] };
28
29 include "level3(ralt_switch_multikey)"
30 };
31
32 partial alphanumeric_keys
33 xkb_symbols "intl" {
34
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 (a] blueyonder.co.uk)
38
39 // Includes the following keys:
40 // dead_grave
41 // dead_acute
42 // dead_circumflex
43 // dead_tilde
44 // dead_diaeresis
45
46 include "latin"
47
48 name[Group1]="United Kingdom - International (with dead keys)";
49
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 ] };
54
55 key <AC11> { [ dead_acute, at, apostrophe, bar ] };
56 key <TLDE> { [ dead_grave, notsign, bar, bar ] };
57
58 key <BKSL> { [ numbersign, dead_tilde, bar, bar ] };
59 key <LSGT> { [ backslash, bar, bar, bar ] };
60
61 include "level3(ralt_switch)"
62 };
63
64 partial alphanumeric_keys
65 xkb_symbols "extd" {
66 // Clone of the Microsoft "United Kingdom - Extended" layout, which
67 // includes dead keys for: grave; diaeresis; circumflex; tilde; and
68 // accute. It also enables direct access to accute characters using
69 // the Multi_key (Alt Gr).
70 //
71 // Taken from...
72 // "Windows Keyboard Layouts"
73 // http://msdn.microsoft.com/en-us/goglobal/bb964651.aspx
74 //
75 // -- Jonathan Miles <jon (a] cybah.co.uk>
76
77 include "latin"
78
79 name[Group1]="United Kingdom - Extended - Winkeys";
80
81 // Alphanumeric section
82 key <TLDE> { [ dead_grave, notsign, brokenbar, NoSymbol ] };
83
84 key <AE02> { [ 2, quotedbl, dead_diaeresis, onehalf ] };
85 key <AE03> { [ 3, sterling, threesuperior, onethird ] };
86 key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
87 key <AE06> { [ 6, asciicircum, dead_circumflex, NoSymbol ] };
88
89 key <AD02> { [ w, W, wacute, Wacute ] };
90 key <AD03> { [ e, E, eacute, Eacute ] };
91 key <AD06> { [ y, Y, yacute, Yacute ] };
92 key <AD07> { [ u, U, uacute, Uacute ] };
93 key <AD08> { [ i, I, iacute, Iacute ] };
94 key <AD09> { [ o, O, oacute, Oacute ] };
95
96 key <AC01> { [ a, A, aacute, Aacute ] };
97 key <AC11> { [ apostrophe, at, dead_acute, NoSymbol ] };
98
99 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
100
101 key <BKSL> { [ numbersign, asciitilde, dead_tilde, NoSymbol ] };
102 key <LSGT> { [ backslash, bar, NoSymbol, NoSymbol ] };
103 // End alphanumeric section
104
105 include "level3(ralt_switch)"
106 };
107
108 // Describe the differences between the US Colemak layout
109 // and a UK variant. By Andy Buckley (andy (a] insectnation.org)
110
111 partial alphanumeric_keys
112 xkb_symbols "colemak" {
113 include "us(colemak)"
114
115 name[Group1]="United Kingdom - Colemak";
116
117 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
118 key <AE03> { [ 3, sterling, threesuperior, sterling ] };
119 key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
120
121 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
122 key <TLDE> { [ grave, notsign, bar, bar ] };
123
124 key <BKSL> { [numbersign, asciitilde, dead_grave, dead_breve ] };
125 key <LSGT> { [ backslash, bar, bar, brokenbar ] };
126
127 include "level3(ralt_switch_multikey)"
128 };
129
130
131 // Dvorak (UK) keymap (by odaen) allowing the usage of
132 // the and ? key and swapping the @ and " keys.
133
134 partial alphanumeric_keys
135 xkb_symbols "dvorak" {
136 include "us(dvorak-alt-intl)"
137
138 name[Group1]="United Kingdom - Dvorak";
139
140 key <AD01> { [ apostrophe, at ] };
141 key <AE02> { [ 2, quotedbl, twosuperior, NoSymbol ] };
142 key <AE03> { [ 3, sterling, threesuperior, NoSymbol ] };
143 key <BKSL> { [ numbersign, asciitilde ] };
144 key <LSGT> { [ backslash, bar ] };
145 key <TLDE> { [ grave, notsign, bar, bar ] };
146 };
147
148 // Dvorak letter positions, but punctuation all in the normal UK positions.
149 partial alphanumeric_keys
150 xkb_symbols "dvorakukp" {
151 include "gb(dvorak)"
152
153 name[Group1]="United Kingdom - Dvorak (UK Punctuation)";
154
155 key <AE11> { [ minus, underscore ] };
156 key <AE12> { [ equal, plus ] };
157 key <AD11> { [ bracketleft, braceleft ] };
158 key <AD12> { [ bracketright, braceright ] };
159 key <AD01> { [ slash, question ] };
160 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
161 };
162
163 // Copied from macintosh_vndr/gb
164 partial alphanumeric_keys
165 xkb_symbols "mac" {
166
167 // Describes the differences between a very simple en_US
168 // keyboard and a very simple U.K. keyboard layout
169
170 include "latin"
171
172 name[Group1]= "United Kingdom - Macintosh";
173
174 key <AE02> { [ 2, at, EuroSign ] };
175 key <AE03> { [ 3, sterling, numbersign ] };
176
177 // End alphanumeric section
178
179 include "level3(ralt_switch)"
180 };
181
182
183 partial alphanumeric_keys
184 xkb_symbols "mac_intl" {
185
186 include "latin"
187
188 name[Group1]="United Kingdom - Macintosh (International)";
189
190 key <AE02> { [ 2, at, EuroSign, onehalf ] };
191 key <AE03> { [ 3, sterling, twosuperior, onethird ] };
192 key <AE04> { [ 4, dollar, threesuperior, onequarter ] };
193 key <AE06> { [ 6, dead_circumflex, NoSymbol, onesixth ] };
194 key <AD09> { [ o, O, oe, OE ] };
195
196 key <AC11> { [ dead_acute, dead_diaeresis, dead_diaeresis, bar ] }; //dead_doubleacute
197 key <TLDE> { [ section, plusminus, notsign, notsign ] }; //dead_grave
198
199 key <BKSL> { [ backslash, bar, numbersign, bar ] };
200 key <LSGT> { [ dead_grave, dead_tilde, brokenbar, bar ] };
201
202 include "level3(ralt_switch)"
203 };
204
205