Hide ClearGrab/CloseGrabs actions behind an option
[xorg/xkeyboard-config] / symbols / gb
1 // based on a keyboard map from an 'xkb/symbols/gb' file
2
3 partial default alphanumeric_keys
4 xkb_symbols "basic" {
5
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.
10
11     include "latin"
12
13     name[Group1]="English (UK)";
14
15     key <AE02>  { [         2,   quotedbl,  twosuperior,    oneeighth ] };
16     key <AE03>  { [         3,   sterling, threesuperior,    sterling ] };
17     key <AE04>  { [         4,     dollar,     EuroSign,   onequarter ] };
18
19     key <AC11>  { [apostrophe,         at, dead_circumflex, dead_caron] };
20     key <TLDE>  { [     grave,    notsign,          bar,          bar ] };
21
22     key <BKSL>  { [numbersign, asciitilde,   dead_grave,   dead_breve ] };
23     key <LSGT>  { [ backslash,        bar,          bar,    brokenbar ] };
24
25     include "level3(ralt_switch_multikey)"
26 };
27
28 partial alphanumeric_keys 
29 xkb_symbols "intl" { 
30
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) 
34
35     // Includes the following keys: 
36     // dead_grave 
37     // dead_acute 
38     // dead_circumflex 
39     // dead_tilde 
40     // dead_diaeresis 
41
42     include "latin" 
43
44     name[Group1]="English (UK, international with dead keys)"; 
45
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 ] };
50
51     key <AC11>  { [ dead_acute,         at,     apostrophe,         bar ] };
52     key <TLDE>  { [ dead_grave,    notsign,            bar,         bar ] };
53
54     key <BKSL>  { [ numbersign, dead_tilde,            bar,         bar ] };
55     key <LSGT>  { [  backslash,        bar,            bar,         bar ] };
56
57     include "level3(ralt_switch)"
58 };
59
60 partial alphanumeric_keys 
61 xkb_symbols "extd" {
62     // Clone of the Microsoft "English (UK, 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).
66     //
67     // Taken from...
68     //    "Windows Keyboard Layouts"
69     //    http://msdn.microsoft.com/en-us/goglobal/bb964651.aspx
70     //
71     // -- Jonathan Miles <jon@cybah.co.uk>
72
73     include "latin"
74
75     name[Group1]="English (UK, extended WinKeys)";
76     
77     // Alphanumeric section
78     key <TLDE> { [ dead_grave,    notsign,       brokenbar,    NoSymbol ] };
79     
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 ] };
84
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 ] };
91
92     key <AC01> { [   a,                 A,          aacute,      Aacute ] };
93     key <AC11> { [  apostrophe,         at,     dead_acute,    NoSymbol ] };
94
95     key <AB03> { [   c,                 C,        ccedilla,    Ccedilla ] };
96
97     key <BKSL>  { [ numbersign, asciitilde,     dead_tilde,    NoSymbol ] };
98     key <LSGT>  { [  backslash,        bar,       NoSymbol,    NoSymbol ] };
99     // End alphanumeric section
100
101     include "level3(ralt_switch)"
102 };
103
104 // Describe the differences between the US Colemak layout
105 // and a UK variant. By Andy Buckley (andy@insectnation.org)
106
107 partial alphanumeric_keys
108 xkb_symbols "colemak" {
109     include "us(colemak)"
110
111     name[Group1]="English (UK, Colemak)";
112
113     key <AE02>  { [         2,   quotedbl,  twosuperior,    oneeighth ] };
114     key <AE03>  { [         3,   sterling, threesuperior,    sterling ] };
115     key <AE04>  { [         4,     dollar,     EuroSign,   onequarter ] };
116
117     key <AC11>  { [apostrophe,         at, dead_circumflex, dead_caron] };
118     key <TLDE>  { [     grave,    notsign,          bar,          bar ] };
119
120     key <BKSL>  { [numbersign, asciitilde,   dead_grave,   dead_breve ] };
121     key <LSGT>  { [ backslash,        bar,          bar,    brokenbar ] };
122
123     include "level3(ralt_switch_multikey)"
124 };
125
126
127 // Dvorak (UK) keymap (by odaen) allowing the usage of
128 // the £ and ? key and swapping the @ and " keys.
129
130 partial alphanumeric_keys
131 xkb_symbols "dvorak" {
132     include "us(dvorak-alt-intl)"
133
134     name[Group1]="English (UK, Dvorak)";
135
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           ] };
142 };
143
144 // Dvorak letter positions, but punctuation all in the normal UK positions.
145 partial alphanumeric_keys
146 xkb_symbols "dvorakukp" {
147     include "gb(dvorak)"
148
149     name[Group1]="English (UK, Dvorak with UK punctuation)";
150
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] };
157 };
158
159 // Copied from macintosh_vndr/gb
160 partial alphanumeric_keys 
161 xkb_symbols "mac" {
162
163     // Describes the differences between a very simple en_US
164     // keyboard and a very simple U.K. keyboard layout
165
166     include "latin"
167
168     name[Group1]= "English (UK, Macintosh)";
169
170     key <AE02> {        [               2,              at,         EuroSign    ]       };
171     key <AE03> {        [               3,        sterling,       numbersign    ]       };
172     key <LSGT> {        [               grave,  asciitilde ]    };
173
174     // End alphanumeric section
175     
176     include "level3(ralt_switch)"
177     include "level3(enter_switch)"
178 };
179
180
181 partial alphanumeric_keys 
182 xkb_symbols "mac_intl" { 
183
184     include "latin" 
185
186     name[Group1]="English (UK, Macintosh international)"; 
187
188     key <AE02>  { [   2,                       at,           EuroSign,    onehalf ] };
189     key <AE03>  { [   3,                 sterling,        twosuperior,   onethird ] };
190     key <AE04>  { [   4,                   dollar,      threesuperior, onequarter ] };
191     key <AE06>  { [   6,          dead_circumflex,           NoSymbol,   onesixth ] };
192     key <AD09>    { [   o,                        O,                 oe,       OE ] };
193
194     key <AC11>  { [ dead_acute,    dead_diaeresis,     dead_diaeresis,        bar ] }; //dead_doubleacute
195     key <TLDE>  { [ section,            plusminus,            notsign,    notsign ] }; //dead_grave
196
197     key <BKSL>  { [ backslash,                bar,         numbersign,        bar ] };
198     key <LSGT>  { [ dead_grave,        dead_tilde,          brokenbar,        bar ] };
199
200     include "level3(ralt_switch)"
201 };