ee revision bfd7cbc1
1// based on
2// Estonian XKB-keymap by Ville Hallik <ville@linux.ee>
3//
4
5partial default alphanumeric_keys
6xkb_symbols "basic" {
7
8    // Describes the differences between a very simple en_US
9    // keyboard and a very simple Estonian keyboard
10    // This layout conforms to both EVS8:1993 and EVS8:2000 standards
11
12    include "latin(type4)"
13
14    name[Group1]="Estonian";
15
16    key <AE03>	{ [         3, numbersign,     sterling,     sterling ]	};
17    key <AE04>	{ [         4,   currency,       dollar,       dollar ]	};
18    key <AE11>	{ [      plus,   question,    backslash, questiondown ]	};
19    key <AE12>	{ [dead_acute, dead_grave,        grave,   apostrophe ]	};
20
21    key <AD11>	{ [udiaeresis, Udiaeresis, dead_diaeresis, dead_abovering ] };
22    key <AD12>	{ [    otilde,     Otilde,      section,  dead_macron ]	};
23
24    key <AC02>	{ [         s,          S,       scaron,       Scaron ]	};
25    key <AC10>	{ [odiaeresis, Odiaeresis,   dead_acute, dead_doubleacute ] };
26    key <AC11>	{ [adiaeresis, Adiaeresis,  asciicircum,   dead_caron ]	};
27    key <TLDE>	{ [dead_caron, dead_tilde,      notsign,      notsign ]	};
28
29    key <BKSL>	{ [apostrophe,   asterisk,      onehalf,   dead_breve ]	};
30    key <AB01>	{ [         z,          Z,       zcaron,       Zcaron ]	};
31    key <AB08>	{ [     comma,  semicolon,         less,     multiply ]	};
32    key <AB09>	{ [    period,      colon,      greater,     division ]	};
33
34    include "level3(ralt_switch)"
35    include "eurosign(e)"
36};
37
38partial alphanumeric_keys
39xkb_symbols "nodeadkeys" {
40
41    // Modifies the basic Estonian layout to eliminate all dead keys
42
43    include "ee(basic)"
44    name[Group1]="Estonian (eliminate dead keys)";
45
46    key <TLDE>	{ [asciicircum,asciitilde ]	};
47    key <AE12>	{ [apostrophe,      grave ]	};
48    key <AD11>	{ [udiaeresis, Udiaeresis,    diaeresis,       degree ]	};
49    key <AD12>	{ [    otilde,     Otilde,      section,       macron ]	};
50    key <AC10>	{ [odiaeresis, Odiaeresis,        acute,  doubleacute ]	};
51    key <AC11>	{ [adiaeresis, Adiaeresis,  asciicircum,        caron ]	};
52    key <BKSL>	{ [apostrophe,   asterisk,      onehalf,        breve ]	};
53    key <AB10>	{ [     minus, underscore, dead_belowdot,    abovedot ]	};
54};
55
56// Dvorak with Estonian characters
57partial alphanumeric_keys
58xkb_symbols "dvorak" {
59   include "us(dvorak)"
60   name[Group1]= "Estonian (Dvorak)";
61   
62    key <AE03>	{ [         3, numbersign,   sterling ]	};
63    key <AE04>	{ [         4,     dollar,    section,   currency ]	};
64    key <AE08>	{ [         8,   asterisk,    onehalf ]	};
65
66    key <AC01>	{ [         a,          A, adiaeresis, Adiaeresis ]	};
67    key <AC02>	{ [         o,          O,     otilde,     Otilde ]	};
68    key <AC03>	{ [         e,          E, odiaeresis, Odiaeresis ]	};
69    key <AC04>	{ [         u,          U, udiaeresis, Udiaeresis ]	};
70    key <AC10>	{ [         s,          S,     scaron,     Scaron ]	};   
71    key <AB10>	{ [         z,          Z,     zcaron,     Zcaron ]	};
72
73    include "level3(ralt_switch)"
74    include "kpdl(comma)"
75    include "eurosign(5)"
76};
77
78// Estonian few characters on basic US keymap.
79// by Elan Ruusamäe <glen@delfi.ee>
80partial alphanumeric_keys
81xkb_symbols "us" {
82    include "us(euro)"
83    name[Group1] = "Estonian (US keyboard with Estonian letters)";
84
85    // ž, Ž
86    key <AB01>	{ [           z,  Z,          zcaron,     Zcaron     ]	};
87    // ¢
88    key <AB03>	{ [           c,  C,          cent,       cent       ]	};
89    // š, Š
90    key <AC02>	{ [           s,  S,          scaron,     Scaron     ]	};
91    key <AC10>	{ [ semicolon,    colon,      odiaeresis, Odiaeresis ]	};
92    key <AC11>	{ [ quoteright,   quotedbl,   adiaeresis, Adiaeresis ]	};
93    key <AD11>	{ [ bracketleft,  braceleft,  udiaeresis, Udiaeresis ]	};
94    key <AD12>	{ [ bracketright, braceright, otilde,     Otilde     ]	};
95    // £
96    key <AE03>	{ [           3,  numbersign, sterling,   sterling   ]	};
97
98    include "level3(ralt_switch)"
99    include "eurosign(e)"
100};
101