• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// based on
2// Estonian XKB-keymap by Ville Hallik <ville@linux.ee>
3//
4
5default partial 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    key <AB10>	{ [     minus, underscore,          bar,     abovedot ] };
34
35    include "level3(ralt_switch)"
36    include "eurosign(e)"
37};
38
39partial alphanumeric_keys
40xkb_symbols "nodeadkeys" {
41
42    // Modifies the basic Estonian layout to eliminate all dead keys
43
44    include "ee(basic)"
45    name[Group1]="Estonian (no dead keys)";
46
47    key <TLDE>	{ [asciicircum,asciitilde ]	};
48    key <AE12>	{ [apostrophe,      grave ]	};
49    key <AD11>	{ [udiaeresis, Udiaeresis,    diaeresis,       degree ]	};
50    key <AD12>	{ [    otilde,     Otilde,      section,       macron ]	};
51    key <AC10>	{ [odiaeresis, Odiaeresis,        acute,  doubleacute ]	};
52    key <AC11>	{ [adiaeresis, Adiaeresis,  asciicircum,        caron ]	};
53    key <BKSL>	{ [apostrophe,   asterisk,      onehalf,        breve ]	};
54    key <AB10>	{ [     minus, underscore, dead_belowdot,    abovedot ]	};
55};
56
57// Dvorak with Estonian characters
58partial alphanumeric_keys
59xkb_symbols "dvorak" {
60   include "us(dvorak)"
61   name[Group1]= "Estonian (Dvorak)";
62
63    key <AE03>	{ [         3, numbersign,   sterling ]	};
64    key <AE04>	{ [         4,     dollar,    section,   currency ]	};
65    key <AE08>	{ [         8,   asterisk,    onehalf ]	};
66
67    key <AC01>	{ [         a,          A, adiaeresis, Adiaeresis ]	};
68    key <AC02>	{ [         o,          O,     otilde,     Otilde ]	};
69    key <AC03>	{ [         e,          E, odiaeresis, Odiaeresis ]	};
70    key <AC04>	{ [         u,          U, udiaeresis, Udiaeresis ]	};
71    key <AC10>	{ [         s,          S,     scaron,     Scaron ]	};
72    key <AB10>	{ [         z,          Z,     zcaron,     Zcaron ]	};
73
74    include "level3(ralt_switch)"
75    include "kpdl(comma)"
76    include "eurosign(5)"
77};
78
79// Estonian few characters on basic US keymap.
80// by Elan Ruusamäe <glen@delfi.ee>
81partial alphanumeric_keys
82xkb_symbols "us" {
83    include "us(euro)"
84    name[Group1] = "Estonian (US)";
85
86    // ž, Ž
87    key <AB01>	{ [           z,  Z,          zcaron,     Zcaron     ]	};
88    // ¢
89    key <AB03>	{ [           c,  C,          cent,       cent       ]	};
90    // š, Š
91    key <AC02>	{ [           s,  S,          scaron,     Scaron     ]	};
92    key <AC10>	{ [ semicolon,    colon,      odiaeresis, Odiaeresis ]	};
93    key <AC11>	{ [ apostrophe,   quotedbl,   adiaeresis, Adiaeresis ]	};
94    key <AD11>	{ [ bracketleft,  braceleft,  udiaeresis, Udiaeresis ]	};
95    key <AD12>	{ [ bracketright, braceright, otilde,     Otilde     ]	};
96    // £
97    key <AE03>	{ [           3,  numbersign, sterling,   sterling   ]	};
98
99    include "level3(ralt_switch)"
100    include "eurosign(e)"
101};
102
103// EXTRAS:
104
105partial alphanumeric_keys
106	xkb_symbols "sun_type6" {
107	include "sun_vndr/ee(sun_type6)"
108};
109