fixing broken layouts, thanks to my testing scripts
[xorg/xkeyboard-config] / symbols / lv
1 // Latvian keymap version 1.1
2 // Copyright (C) Dmitry Golubev <lastguru@mail.ru>, 2003-2004
3 //
4 // Reworked to get rid of dead_keys (use of which in this case
5 // is a dirty hack). It is now not dependent on locale settings
6 // and GTK_IM_MODULES in Gnome. The map is also providing some of
7 // ISO9995-3 alternate characters. Note that this version works
8 // correctly under Gnome 2.6. This is to be put into symbols/
9 // directory, or somewhere else.
10 //
11 // Permission to use, copy, modify, distribute, and sell this software and its
12 // documentation for any purpose is hereby granted without fee, provided that
13 // the above copyright notice appear in all copies and that both that
14 // copyright notice and this permission notice appear in supporting
15 // documentation, and that the name of the copyright holder(s) not be used in
16 // advertising or publicity pertaining to distribution of the software without
17 // specific, written prior permission.  The copyright holder(s) makes no
18 // representations about the suitability of this software for any purpose.  It
19 // is provided "as is" without express or implied warranty.
20 //
21 // THE COPYRIGHT HOLDER(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
22 // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
23 // EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
24 // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
25 // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
26 // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
27 // PERFORMANCE OF THIS SOFTWARE.
28
29 partial default alphanumeric_keys modifier_keys
30 xkb_symbols "basic" {
31
32     name[Group1]= "Latvian";
33
34         key <TLDE>      {[grave, asciitilde, acute, asciitilde]};
35         key <AE01>      {[1, exclam, onesuperior, exclamdown]};
36         key <AE02>      {[2, at, twosuperior, oneeighth]};
37         key <AE03>      {[3, numbersign, threesuperior, sterling]};
38         key <AE04>      {[4, dollar, EuroSign, cent]};
39         key <AE05>      {[5, percent, onehalf, threeeighths]};
40         key <AE06>      {[6, asciicircum, threequarters, fiveeighths]};
41         key <AE07>      {[7, ampersand, braceleft, seveneighths]};
42         key <AE08>      {[8, asterisk, bracketleft, trademark]};
43         key <AE09>      {[9, parenleft, bracketright, plusminus]};
44         key <AE10>      {[0, parenright, braceright, degree]};
45         key <AE11>      {[minus, underscore, backslash, questiondown]};
46         key <AE12>      {[equal, plus, endash, emdash]};
47                                                 
48         key <AD01>      {[q, Q, q, Q]};
49         key <AD02>      {[w, W, w, W]};
50         key <AD03>      {[e, E, emacron, Emacron]};
51         key <AD04>      {[r, R, rcedilla, Rcedilla]};
52         key <AD05>      {[t, T, t, T]};
53         key <AD06>      {[y, Y, y, Y]};
54         key <AD07>      {[u, U, umacron, Umacron]};
55         key <AD08>      {[i, I, imacron, Imacron]};
56         key <AD09>      {[o, O, omacron, Omacron]};
57         key <AD10>      {[p, P, p, P]};
58         key <AD11>      {[bracketleft, braceleft, guillemotleft, leftdoublequotemark]};
59         key <AD12>      {[bracketright, braceright, guillemotright, rightdoublequotemark]};
60
61         key <AC01>      {[a, A, amacron, Amacron]};
62         key <AC02>      {[s, S, scaron, Scaron]};
63         key <AC03>      {[d, D, d, D]};
64         key <AC04>      {[f, F, f, F]};
65         key <AC05>      {[g, G, gcedilla, Gcedilla]};
66         key <AC06>      {[h, H, h, H]};
67         key <AC07>      {[j, J, j, J]};
68         key <AC08>      {[k, K, kcedilla, Kcedilla]};
69         key <AC09>      {[l, L, lcedilla, Lcedilla]};
70         key <AC10>      {[semicolon, colon, semicolon, colon]};
71         key <AC11>      {[apostrophe, quotedbl, leftdoublequotemark, doublelowquotemark]};
72
73         key <AB01>      {[z, Z, zcaron, Zcaron]};
74         key <AB02>      {[x, X, x, X]};
75         key <AB03>      {[c, C, ccaron, Ccaron]};
76         key <AB04>      {[v, V, v, V]};
77         key <AB05>      {[b, B, b, B]};
78         key <AB06>      {[n, N, ncedilla, Ncedilla]};
79         key <AB07>      {[m, M, m, M]};
80         key <AB08>      {[comma, less, horizconnector, multiply]};
81         key <AB09>      {[period, greater, periodcentered, division]};
82         key <AB10>      {[slash, question, slash, abovedot]};
83         key <BKSL>      {[backslash, bar, grave, breve]};
84         
85         key <SPCE>      {[space, space, space, space]};
86         key <RALT>      {type[Group1]="ONE_LEVEL", [ISO_Level3_Shift]};
87         modifier_map Mod5 { <RALT> };
88
89 };
90
91 partial alphanumeric_keys modifier_keys
92 xkb_symbols "apostrophe" {
93
94     include "lv(basic)"
95
96         key <AC11>      {[ISO_Level3_Latch, quotedbl, apostrophe, quotedbl]};
97         key <SPCE>      {[space, space, apostrophe]};
98         modifier_map Mod5 { <AC11> };
99
100 };
101
102 partial alphanumeric_keys modifier_keys
103 xkb_symbols "tilde" {
104
105     include "lv(basic)"
106
107         key <TLDE>      {[ISO_Level3_Latch, asciitilde, grave, acute]}; 
108         key <SPCE>      {[space, space, asciitilde]};
109         modifier_map Mod5 { <TLDE> };
110
111 };
112
113 partial alphanumeric_keys modifier_keys
114 xkb_symbols "fkey" {
115
116     include "lv(basic)"
117
118         key <AC04>      {[ISO_Level3_Latch, ISO_Level3_Latch, f, F]};
119         key <SPCE>      {[space, space, f, F]};
120         modifier_map Mod5 { <AC04> };
121
122 };