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