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