Updated lk layout
[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]="United Kingdom";
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]="United Kingdom - 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 "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).
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]="United Kingdom - 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]="United Kingdom - 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]="United Kingdom - 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]="United Kingdom - Dvorak (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]= "United Kingdom - Macintosh";
169
170     key <AE02> {        [               2,              at,         EuroSign    ]       };
171     key <AE03> {        [               3,        sterling,       numbersign    ]       };
172
173     // End alphanumeric section
174     
175     include "level3(ralt_switch)"
176 };
177
178
179 partial alphanumeric_keys 
180 xkb_symbols "mac_intl" { 
181
182     include "latin" 
183
184     name[Group1]="United Kingdom - Macintosh (International)"; 
185
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 ] };
191
192     key <AC11>  { [ dead_acute,    dead_diaeresis,     dead_diaeresis,        bar ] }; //dead_doubleacute
193     key <TLDE>  { [ section,            plusminus,            notsign,    notsign ] }; //dead_grave
194
195     key <BKSL>  { [ backslash,                bar,         numbersign,        bar ] };
196     key <LSGT>  { [ dead_grave,        dead_tilde,          brokenbar,        bar ] };
197
198     include "level3(ralt_switch)"
199 };