1// Estonian keyboard layout, by Ville Hallik <ville@linux.ee>.
2// This layout conforms to both EVS8:1993 and EVS8:2000 standards.
3default partial alphanumeric_keys
4xkb_symbols "basic" {
5
6    include "latin(type4)"
7
8    name[Group1]="Estonian";
9
10    key <TLDE>	{[ dead_caron, dead_tilde,      notsign,      notsign ]};
11    key <AE03>	{[          3, numbersign,     sterling,     sterling ]};
12    key <AE04>	{[          4,   currency,       dollar,       dollar ]};
13    key <AE11>	{[       plus,   question,    backslash, questiondown ]};
14    key <AE12>	{[ dead_acute, dead_grave,        grave,   apostrophe ]};
15
16    key <AD11>	{[ udiaeresis, Udiaeresis, dead_diaeresis, dead_abovering ]};
17    key <AD12>	{[     otilde,     Otilde,      section,  dead_macron ]};
18
19    key <AC02>	{[          s,          S,       scaron,       Scaron ]};
20    key <AC10>	{[ odiaeresis, Odiaeresis,   dead_acute, dead_doubleacute ]};
21    key <AC11>	{[ adiaeresis, Adiaeresis,  asciicircum,   dead_caron ]};
22    key <BKSL>	{[ apostrophe,   asterisk,      onehalf,   dead_breve ]};
23
24    key <AB01>	{[          z,          Z,       zcaron,       Zcaron ]};
25    key <AB08>	{[      comma,  semicolon,         less,     multiply ]};
26    key <AB09>	{[     period,      colon,      greater,     division ]};
27    key <AB10>	{[      minus, underscore,          bar,     abovedot ]};
28
29    include "eurosign(e)"
30
31    include "level3(ralt_switch)"
32};
33
34partial alphanumeric_keys
35xkb_symbols "nodeadkeys" {
36
37    include "ee(basic)"
38
39    name[Group1] = "Estonian (no dead keys)";
40
41    key <TLDE>	{[asciicircum, asciitilde                             ]};
42    key <AE12>	{[ apostrophe,      grave                             ]};
43
44    key <AD11>	{[ udiaeresis, Udiaeresis,    diaeresis,       degree ]};
45    key <AD12>	{[     otilde,     Otilde,      section,       macron ]};
46
47    key <AC10>	{[ odiaeresis, Odiaeresis,        acute,  doubleacute ]};
48    key <AC11>	{[ adiaeresis, Adiaeresis,  asciicircum,        caron ]};
49    key <BKSL>	{[ apostrophe,   asterisk,      onehalf,        breve ]};
50
51    key <AB10>	{[      minus, underscore, dead_belowdot,    abovedot ]};
52};
53
54// The US Dvorak layout with Estonian letters on the third level.
55partial alphanumeric_keys
56xkb_symbols "dvorak" {
57
58    include "us(dvorak)"
59
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
72    key <AB10>	{[         z,          Z,     zcaron,     Zcaron ]};
73
74    include "kpdl(comma)"
75    include "eurosign(5)"
76
77    include "level3(ralt_switch)"
78};
79
80// The basic US layout with Estonian letters on the third level,
81// originally by Elan Ruusamäe <glen@delfi.ee>.
82partial alphanumeric_keys
83xkb_symbols "us" {
84
85    include "us(basic)"
86
87    name[Group1] = "Estonian (US)";
88
89    key <AE03>	{[           3,  numbersign, sterling,   sterling   ]};
90
91    key <AD01>	{[           q,  Q,          otilde,     Otilde     ]};
92    key <AD07>	{[           u,  U,          udiaeresis, Udiaeresis ]};
93    key <AD09>	{[           o,  O,          odiaeresis, Odiaeresis ]};
94    key <AD10>	{[           p,  P,          otilde,     Otilde     ]};
95    key <AD11>	{[ bracketleft,  braceleft,  udiaeresis, Udiaeresis ]};
96    key <AD12>	{[ bracketright, braceright, otilde,     Otilde     ]};
97
98    key <AC01>	{[           a,  A,          adiaeresis, Adiaeresis ]};
99    key <AC02>	{[           s,  S,          scaron,     Scaron     ]};
100    key <AC03>	{[           d,  D,          odiaeresis, Odiaeresis ]};
101    key <AC04>	{[           f,  F,          udiaeresis, Udiaeresis ]};
102    key <AC10>	{[   semicolon,  colon,      odiaeresis, Odiaeresis ]};
103    key <AC11>	{[  apostrophe,  quotedbl,   adiaeresis, Adiaeresis ]};
104
105    key <AB01>	{[           z,  Z,          zcaron,     Zcaron     ]};
106    key <AB02>	{[           x,  X,          otilde,     Otilde     ]};
107    key <AB03>	{[           c,  C,          cent,       cent       ]};
108
109    include "eurosign(5)"
110    include "eurosign(e)"
111
112    include "level3(ralt_switch)"
113};
114
115// EXTRAS:
116
117partial alphanumeric_keys
118	xkb_symbols "sun_type6" {
119	include "sun_vndr/ee(sun_type6)"
120};
121