adding mac variants to base layouts, closing b.fd.o#8465
[xorg/xkeyboard-config] / symbols / gb
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@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 // Dvorak (UK) keymap (by odaen) allowing the usage of
65 // the £ and ? key and swapping the @ and " keys.
66
67 partial alphanumeric_keys
68 xkb_symbols "dvorak" {
69     include "us(dvorak)"
70
71     name[Group1]="United Kingdom - Dvorak";
72
73     key <BKSL> { [ numbersign,  asciitilde      ] };
74     key <AE02> { [          2,  quotedbl,  twosuperior,   NoSymbol      ] };
75     key <AE03> { [          3,  sterling,  threesuperior, NoSymbol      ] };
76     key <AE04> { [          4,  dollar,    EuroSign,      NoSymbol      ] };
77     key <LSGT> { [  backslash,  bar             ] };
78     key <AD01> { [ apostrophe,  at              ] };
79 };
80
81 // Copied from macintosh_vndr/gb
82 partial alphanumeric_keys 
83 xkb_symbols "mac" {
84
85     // Describes the differences between a very simple en_US
86     // keyboard and a very simple U.K. keyboard layout
87
88     include "latin"
89
90     name[Group1]= "United Kingdom - Mac";
91
92     key <AE03> {        [               3,        sterling,       numbersign    ]       };
93
94     // End alphanumeric section
95     
96     include "level3(ralt_switch)"
97 };
98
99