gb revision 1.1.1.2 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 // Describe the differences between the US Colemak layout
65 // and a UK variant. By Andy Buckley (andy (a] insectnation.org)
66
67 partial alphanumeric_keys
68 xkb_symbols "colemak" {
69 include "us(colemak)"
70
71 name[Group1]="United Kingdom - Colemak";
72
73 key <AE02> { [ 2, quotedbl, twosuperior, oneeighth ] };
74 key <AE03> { [ 3, sterling, threesuperior, sterling ] };
75 key <AE04> { [ 4, dollar, EuroSign, onequarter ] };
76
77 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
78 key <TLDE> { [ grave, notsign, bar, bar ] };
79
80 key <BKSL> { [numbersign, asciitilde, dead_grave, dead_breve ] };
81 key <LSGT> { [ backslash, bar, bar, brokenbar ] };
82
83 include "level3(ralt_switch_multikey)"
84 };
85
86
87 // Dvorak (UK) keymap (by odaen) allowing the usage of
88 // the and ? key and swapping the @ and " keys.
89
90 partial alphanumeric_keys
91 xkb_symbols "dvorak" {
92 include "us(dvorak-intl)"
93
94 name[Group1]="United Kingdom - Dvorak";
95
96 key <BKSL> { [ numbersign, asciitilde ] };
97 key <AE02> { [ 2, quotedbl, twosuperior, NoSymbol ] };
98 key <AE03> { [ 3, sterling, threesuperior, NoSymbol ] };
99 key <LSGT> { [ backslash, bar ] };
100 key <AD01> { [ apostrophe, at ] };
101 };
102
103 // Dvorak letter positions, but punctuation all in the normal UK positions.
104 partial alphanumeric_keys
105 xkb_symbols "dvorakukp" {
106 include "gb(dvorak)"
107
108 name[Group1]="United Kingdom - Dvorak (UK Punctuation)";
109
110 key <AE11> { [ minus, underscore ] };
111 key <AE12> { [ equal, plus ] };
112 key <AD11> { [ bracketleft, braceleft ] };
113 key <AD12> { [ bracketright, braceright ] };
114 key <AD01> { [ slash, question ] };
115 key <AC11> { [apostrophe, at, dead_circumflex, dead_caron] };
116 };
117
118 // Copied from macintosh_vndr/gb
119 partial alphanumeric_keys
120 xkb_symbols "mac" {
121
122 // Describes the differences between a very simple en_US
123 // keyboard and a very simple U.K. keyboard layout
124
125 include "latin"
126
127 name[Group1]= "United Kingdom - Macintosh";
128
129 key <AE02> { [ 2, at, EuroSign ] };
130 key <AE03> { [ 3, sterling, numbersign ] };
131
132 // End alphanumeric section
133
134 include "level3(ralt_switch)"
135 };
136
137
138