lv revision 1.1.1.14 1 // Latvian keymap version 1.3
2 // Copyright (C) Dmitry Golubev <lastguru (a] 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 // Modified by Aldis Berjoza <aldis (a] bsdroot.lv>, 12 april 2011
30 // Changes:
31 // * Added Latvian Ergonomic, Latvian Adapted and Latvian Modern variants
32 // Author of this work is Valdis Vtoli
33 // http://odo.lv/LatvianKeyboard
34 // http://odo.lv/Recipes/LatvianKeyboard#HErgonomiskC481stastatC5ABrasuzlikC5A1anauzLinuxdatora%22
35 // * Added guillemotleft, leftdoublequotemark, guillemotright,
36 // rightdoublequotemark to Latvian modern layout for AD11 and AD12
37 // * Added US-Dvorac compatible Latvian layouts
38 // * Added programmer US-Dvorac compatible Latvian layouts
39 // * Added US-Colemak compatible Latvian layouts
40 // * Reformatted layouts
41
42
43 //============================================================================
44 // Latvian QWERTY layout
45 // http://en.wikipedia.org/wiki/QWERTY
46 //
47 default partial alphanumeric_keys modifier_keys
48 xkb_symbols "basic" {
49
50 name[Group1]= "Latvian";
51
52 key <TLDE> {[ grave, asciitilde, acute, asciitilde ]};
53 key <AE01> {[ 1, exclam, onesuperior, exclamdown ]};
54 key <AE02> {[ 2, at, twosuperior, oneeighth ]};
55 key <AE03> {[ 3, numbersign, threesuperior, sterling ]};
56 key <AE04> {[ 4, dollar, EuroSign, cent ]};
57 key <AE05> {[ 5, percent, onehalf, threeeighths ]};
58 key <AE06> {[ 6, asciicircum, threequarters, fiveeighths ]};
59 key <AE07> {[ 7, ampersand, braceleft, seveneighths ]};
60 key <AE08> {[ 8, asterisk, bracketleft, trademark ]};
61 key <AE09> {[ 9, parenleft, bracketright, plusminus ]};
62 key <AE10> {[ 0, parenright, braceright, degree ]};
63 key <AE11> {[ minus, underscore, backslash, questiondown ]};
64 key <AE12> {[ equal, plus, endash, emdash ]};
65
66 key <AD01> {[ q, Q, q, Q ]};
67 key <AD02> {[ w, W, w, W ]};
68 key <AD03> {[ e, E, emacron, Emacron ]};
69 key <AD04> {[ r, R, rcedilla, Rcedilla ]};
70 key <AD05> {[ t, T, t, T ]};
71 key <AD06> {[ y, Y, y, Y ]};
72 key <AD07> {[ u, U, umacron, Umacron ]};
73 key <AD08> {[ i, I, imacron, Imacron ]};
74 key <AD09> {[ o, O, omacron, Omacron ]};
75 key <AD10> {[ p, P, p, P ]};
76 key <AD11> {[ bracketleft, braceleft, guillemotleft, leftdoublequotemark ]};
77 key <AD12> {[ bracketright, braceright, guillemotright, rightdoublequotemark ]};
78
79 key <AC01> {[ a, A, amacron, Amacron ]};
80 key <AC02> {[ s, S, scaron, Scaron ]};
81 key <AC03> {[ d, D, d, D ]};
82 key <AC04> {[ f, F, f, F ]};
83 key <AC05> {[ g, G, gcedilla, Gcedilla ]};
84 key <AC06> {[ h, H, h, H ]};
85 key <AC07> {[ j, J, j, J ]};
86 key <AC08> {[ k, K, kcedilla, Kcedilla ]};
87 key <AC09> {[ l, L, lcedilla, Lcedilla ]};
88 key <AC10> {[ semicolon, colon, semicolon, colon ]};
89 key <AC11> {[ apostrophe, quotedbl, leftdoublequotemark, doublelowquotemark ]};
90
91 key <AB01> {[ z, Z, zcaron, Zcaron ]};
92 key <AB02> {[ x, X, x, X ]};
93 key <AB03> {[ c, C, ccaron, Ccaron ]};
94 key <AB04> {[ v, V, v, V ]};
95 key <AB05> {[ b, B, b, B ]};
96 key <AB06> {[ n, N, ncedilla, Ncedilla ]};
97 key <AB07> {[ m, M, m, M ]};
98 key <AB08> {[ comma, less, U2022, multiply ]}; // bullet
99 key <AB09> {[ period, greater, periodcentered, division ]};
100 key <AB10> {[ slash, question, slash, abovedot ]};
101 key <BKSL> {[ backslash, bar, grave, breve ]};
102
103 key <SPCE> {[ space, space, space, space ]};
104
105 include "level3(ralt_switch)"
106 };
107
108 partial alphanumeric_keys modifier_keys
109 xkb_symbols "apostrophe" {
110
111 include "lv(basic)"
112
113 name[Group1]= "Latvian (apostrophe)";
114
115 key <AC11> {[ISO_Level3_Latch, quotedbl, apostrophe, quotedbl]};
116 key <SPCE> {[space, space, apostrophe]};
117 modifier_map Mod5 { <AC11> };
118 };
119
120 partial alphanumeric_keys modifier_keys
121 xkb_symbols "apostrophe-deadquotes" {
122
123 include "lv(basic)"
124
125 name[Group1]= "Latvian (apostrophe, dead quotes)";
126
127 key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, apostrophe, quotedbl]};
128 key <SPCE> {[space, space, apostrophe, quotedbl]};
129 modifier_map Mod5 { <AC11> };
130 };
131
132 partial alphanumeric_keys modifier_keys
133 xkb_symbols "tilde" {
134
135 include "lv(basic)"
136
137 name[Group1]= "Latvian (tilde)";
138
139 key <TLDE> {[ISO_Level3_Latch, asciitilde, grave, acute]};
140 key <SPCE> {[space, space, asciitilde]};
141 modifier_map Mod5 { <TLDE> };
142 };
143
144 partial alphanumeric_keys modifier_keys
145 xkb_symbols "fkey" {
146
147 include "lv(basic)"
148
149 name[Group1]= "Latvian (F)";
150
151 key <AC04> {[ISO_Level3_Latch, ISO_Level3_Latch, f, F]};
152 key <SPCE> {[space, space, f, F]};
153 modifier_map Mod5 { <AC04> };
154 };
155
156 //============================================================================
157 // Latvian Adapted keyboard layout
158 // http://odo.lv/xwiki/bin/download/Main/LatvianKeyboard/Adapted.png
159 //
160 // http://odo.lv/LatvianKeyboard
161 // http://odo.lv/LatvianKeyboard5
162 //
163 partial alphanumeric_keys modifier_keys
164 xkb_symbols "adapted" {
165
166 include "lv(basic)"
167
168 name[Group1]= "Latvian (adapted)";
169
170 key <AE02> {[ 2, Ccaron, at, twosuperior ]};
171 key <AE03> {[ 3, ccaron, numbersign, threesuperior ]};
172 key <AE04> {[ 4, Zcaron, dollar, EuroSign ]};
173 key <AE05> {[ 5, zcaron, percent, onehalf ]};
174
175 key <AD01> {[ scaron, Scaron, q, Q ]};
176 key <AD02> {[ emacron, Emacron, w, W ]};
177 key <AD03> {[ e, E, e, E ]};
178
179 key <AD06> {[ amacron, Amacron, y, Y ]};
180 key <AD07> {[ u, U, u, U ]};
181 key <AD08> {[ i, I, i, I ]};
182 key <AD11> {[ umacron, Umacron, bracketleft, braceleft ]};
183 key <AD12> {[ ncedilla, Ncedilla, bracketright, braceright ]};
184
185 key <AC01> {[ a, A, a, A ]};
186 key <AC02> {[ s, S, s, S ]};
187 key <AC05> {[ g, G, g, G ]};
188
189 key <AC08> {[ k, K, k, K ]};
190 key <AC09> {[ l, L, l, L ]};
191 key <AC10> {[ imacron, Imacron, semicolon, colon ]};
192
193 key <AB01> {[ z, Z, z, Z ]};
194 key <AB02> {[ kcedilla, Kcedilla, x, X ]};
195 key <AB03> {[ c, C, c, C ]};
196
197 key <AB06> {[ n, N, n, N ]};
198
199 key <AB08> {[ comma, gcedilla, less, multiply ]};
200 key <AB09> {[ period, Gcedilla, greater, division ]};
201 key <AB10> {[ lcedilla, Lcedilla, slash, question ]};
202 };
203
204 //============================================================================
205 // Latvian Ergonomic (GJRMV) keyboard layout by Valdis Vtoli
206 // http://odo.lv/xwiki/bin/download/Main/LatvianKeyboard/Ergonomic.png
207 //
208 // http://odo.lv/LatvianKeyboard
209 // http://odo.lv/LatvianKeyboard5
210 //
211 partial alphanumeric_keys modifier_keys
212 xkb_symbols "ergonomic" {
213
214 include "lv(apostrophe)"
215
216 name[Group1]= "Latvian (ergonomic, GJRMV)";
217
218 key <AE02> {[ 2, at, gcedilla, Gcedilla ]};
219
220 key <AE11> {[ minus, underscore, endash, emdash ]};
221 key <AE12> {[ f, F, equal, plus ]};
222
223 key <AD01> {[ umacron, Umacron, q, Q ]};
224 key <AD02> {[ g, G, g, G ]};
225 key <AD03> {[ j, J, j, J ]};
226 key <AD04> {[ r, R, rcedilla, Rcedilla ]};
227 key <AD05> {[ m, M, m, M ]};
228 key <AD06> {[ v, V, w, W ]};
229 key <AD07> {[ n, N, y, Y ]};
230 key <AD08> {[ z, Z, z, Z ]};
231 key <AD09> {[ emacron, Emacron, emacron, Emacron ]};
232 key <AD10> {[ ccaron, Ccaron, ccaron, Ccaron ]};
233 key <AD11> {[ zcaron, Zcaron, bracketleft, braceleft ]};
234 key <AD12> {[ h, H, bracketright, braceright ]};
235
236 key <AC01> {[ scaron, Scaron, scaron, Scaron ]};
237 key <AC02> {[ u, U, u, U ]};
238 key <AC03> {[ s, S, s, S ]};
239 key <AC04> {[ i, I, i, I ]};
240 key <AC05> {[ l, L, l, L ]};
241 key <AC06> {[ d, D, d, D ]};
242 key <AC07> {[ a, A, a, A ]};
243 key <AC08> {[ t, T, t, T ]};
244 key <AC09> {[ e, E, e, E ]};
245 key <AC10> {[ c, C, c, C ]};
246 key <AC11> {[ ISO_Level3_Latch, quotedbl, apostrophe, quotedbl ]};
247 key <AC12> {[ kcedilla, Kcedilla, slash, backslash ]};
248
249 key <LSGT> {[ gcedilla, Gcedilla, gcedilla, Gcedilla ]};
250 key <AB01> {[ ncedilla, Ncedilla, ncedilla, Ncedilla ]};
251 key <AB02> {[ b, B, x, X ]};
252 key <AB03> {[ imacron, Imacron, imacron, Imacron ]};
253 key <AB04> {[ k, K, k, K ]};
254 key <AB05> {[ p, P, p, P ]};
255 key <AB06> {[ o, O, omacron, Omacron ]};
256 key <AB07> {[ amacron, Amacron, amacron, Amacron ]};
257 key <AB08> {[ comma, semicolon, less, multiply ]};
258 key <AB09> {[ period, colon, greater, division ]};
259 key <AB10> {[ lcedilla, Lcedilla, question, slash ]};
260 };
261
262 //============================================================================
263 // Latvian Modern keyboard layout by Valdis Vtoli
264 // http://odo.lv/xwiki/bin/download/Recipes/LatvianKeyboard/Modern.png
265 //
266 // http://odo.lv/LatvianKeyboard
267 // http://odo.lv/LatvianKeyboard5
268 //
269 partial alphanumeric_keys modifier_keys
270 xkb_symbols "modern" {
271
272 name[Group1]= "Latvian (Modern Latin)";
273
274 key <TLDE> {[ grave, asciitilde, acute, copyright ]};
275 key <AE01> {[ 1, exclam, onesuperior, exclamdown ]};
276 key <AE02> {[ 2, at, twosuperior, oneeighth ]};
277 key <AE03> {[ 3, numbersign, threesuperior, sterling ]};
278 key <AE04> {[ 4, dollar, EuroSign, cent ]};
279 key <AE05> {[ 5, percent, onehalf, threeeighths ]};
280 key <AE06> {[ 6, asciicircum, threequarters, fiveeighths ]};
281 key <AE07> {[ 7, ampersand, braceleft, seveneighths ]};
282 key <AE08> {[ 8, asterisk, bracketleft, trademark ]};
283 key <AE09> {[ 9, parenleft, bracketright, plusminus ]};
284 key <AE10> {[ 0, parenright, braceright, degree ]};
285 key <AE11> {[ minus, underscore, backslash, questiondown ]};
286 key <AE12> {[ equal, plus, endash, emdash ]};
287
288 key <AD01> {[ emacron, Emacron, emacron, Emacron ]};
289 key <AD02> {[ o, O, omacron, Omacron ]};
290 key <AD03> {[ amacron, Amacron, amacron, Amacron ]};
291 key <AD04> {[ p, P, question, P ]};
292 key <AD05> {[ b, B, exclam, B ]};
293 key <AD06> {[ j, J, emdash, J ]};
294 key <AD07> {[ d, D, endash, D ]};
295 key <AD08> {[ imacron, Imacron, imacron, Imacron ]};
296 key <AD09> {[ l, L, lcedilla, Lcedilla ]};
297 key <AD10> {[ g, G, gcedilla, Gcedilla ]};
298 Key <AD11> {[ bracketleft, braceleft, guillemotleft, leftdoublequotemark ]};
299 key <AD12> {[ bracketright, braceright, guillemotright, rightdoublequotemark ]};
300
301 key <AC01> {[ e, E, e, E ]};
302 key <AC02> {[ u, U, umacron, Umacron ]};
303 key <AC03> {[ a, A, a, A ]};
304 key <AC04> {[ n, N, ncedilla, Ncedilla ]};
305 key <AC05> {[ k, K, kcedilla, Kcedilla ]};
306 key <AC06> {[ ISO_Level3_Latch, quotedbl, apostrophe, quotedbl ]};
307 key <AC07> {[ s, S, scaron, Scaron ]};
308 key <AC08> {[ i, I, i, I ]};
309 key <AC09> {[ t, T, t, T ]};
310 key <AC10> {[ r, R, rcedilla, Rcedilla ]};
311 key <AC11> {[ m, M, m, M ]};
312 key <BKSL> {[ slash, question, backslash, bar ]};
313
314 key <LSGT> {[ q, Q, q, Q ]};
315 key <AB01> {[ x, X, q, Q ]};
316 key <AB02> {[ z, Z, zcaron, Zcaron ]};
317 key <AB03> {[ c, C, ccaron, Ccaron ]};
318 key <AB04> {[ v, V, bar, V ]};
319 key <AB05> {[ w, W, backslash, W ]};
320 key <AB06> {[ f, F, period, F ]};
321 key <AB07> {[ y, Y, U0233, U0232 ]};
322 key <AB08> {[ h, H, U1E29, U1E28 ]};
323 key <AB09> {[ comma, semicolon, less, multiply ]};
324 key <AB10> {[ period, colon, greater, division ]};
325 key <SPCE> {[ space, space, apostrophe ]};
326
327 modifier_map Mod5 { <AC06> };
328
329 include "level3(ralt_switch)"
330 };
331
332
333 partial alphanumeric_keys modifier_keys
334 xkb_symbols "modern-cyr" {
335
336 name[Group1]= "Latvian (Modern Cyrillic)";
337
338 key <TLDE> {[ grave, asciitilde, acute, copyright ]};
339 key <AE01> {[ 1, exclam, onesuperior, exclamdown ]};
340 key <AE02> {[ 2, at, twosuperior, oneeighth ]};
341 key <AE03> {[ 3, numbersign, threesuperior, sterling ]};
342 key <AE04> {[ 4, dollar, EuroSign, cent ]};
343 key <AE05> {[ 5, percent, onehalf, threeeighths ]};
344 key <AE06> {[ 6, asciicircum, threequarters, fiveeighths ]};
345 key <AE07> {[ 7, ampersand, braceleft, seveneighths ]};
346 key <AE08> {[ 8, asterisk, bracketleft, trademark ]};
347 key <AE09> {[ 9, parenleft, bracketright, plusminus ]};
348 key <AE10> {[ 0, parenright, braceright, degree ]};
349 key <AE11> {[ minus, underscore, backslash, questiondown ]};
350 key <AE12> {[ equal, plus, endash, emdash ]};
351
352 key <AD01> {[ U044D, U042D, U0454, U0404 ]};
353 key <AD02> {[ U043E, U041E ]};
354 key <AD03> {[ U044F, U042F, U0458, U0408 ]};
355 key <AD04> {[ U043F, U041F, question ]};
356 key <AD05> {[ U0431, U0411, exclam ]};
357 key <AD06> {[ U0439, U0419, emdash ]};
358 key <AD07> {[ U0434, U0414, U0452, U0402 ]};
359 key <AD08> {[ U0456, U0406, U0457, U0407 ]};
360 key <AD09> {[ U043B, U041B, U0459, U0409 ]};
361 key <AD10> {[ U0433, U0413, U0491, U0490 ]};
362 Key <AD11> {[ bracketleft, braceleft, guillemotleft, leftdoublequotemark ]};
363 key <AD12> {[ bracketright, braceright, guillemotright, rightdoublequotemark ]};
364
365 key <AC01> {[ U0435, U0415, U0451, U0401 ]};
366 key <AC02> {[ U0443, U0423, U044E, U042E ]};
367 key <AC03> {[ U0430, U0410 ]};
368 key <AC04> {[ U043D, U041D, U045A, U040A ]};
369 key <AC05> {[ U043A, U041A, U045C, U040C ]};
370 key <AC06> {[ ISO_Level3_Latch, quotedbl, apostrophe, quotedbl ]};
371 key <AC07> {[ U0441, U0421, U0448, U0428 ]};
372 key <AC08> {[ U0438, U0418 ]};
373 key <AC09> {[ U0442, U0422, U045B, U040B ]};
374 key <AC10> {[ U0440, U0420, U0453, U0403 ]};
375 key <AC11> {[ U043C, U041C ]};
376 key <BKSL> {[ slash, question, backslash, bar ]};
377
378 key <LSGT> {[ U0457, U0407, U0458, U0408 ]};
379 key <AB01> {[ U044C, U042C, U044A, U042A ]};
380 key <AB02> {[ U0437, U0417, U0436, U0416 ]};
381 key <AB03> {[ U0446, U0426, U0447, U0427 ]};
382 key <AB04> {[ U0432, U0412, U0455, U0405 ]};
383 key <AB05> {[ U0449, U0429, U045F, U040F ]};
384 key <AB06> {[ U0444, U0424, U0301 ]};
385 key <AB07> {[ U044B, U042B, U045E, U040E ]};
386 key <AB08> {[ U0445, U0425, U04BB, U04BA ]};
387 key <AB09> {[ comma, semicolon, less, multiply ]};
388 key <AB10> {[ period, colon, greater, division ]};
389 key <SPCE> {[ space, space, apostrophe ]};
390
391 modifier_map Mod5 { <AC06> };
392
393 include "level3(ralt_switch)"
394 };
395
396 // EXTRAS:
397
398 //============================================================================
399 // US Dvorak compatible Latvian layout
400 // http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard
401 //
402 partial alphanumeric_keys modifier_keys
403 xkb_symbols "dvorak" {
404
405 name[Group1]= "Latvian (Dvorak)";
406
407 key <TLDE> {[ asciitilde, grave, acute, asciitilde ]};
408 key <AE01> {[ 1, exclam, onesuperior, exclamdown ]};
409 key <AE02> {[ 2, at, twosuperior, oneeighth ]};
410 key <AE03> {[ 3, numbersign, threesuperior, sterling ]};
411 key <AE04> {[ 4, dollar, EuroSign, cent ]};
412 key <AE05> {[ 5, percent, onehalf, threeeighths ]};
413 key <AE06> {[ 6, asciicircum, threequarters, fiveeighths ]};
414 key <AE07> {[ 7, ampersand, braceleft, seveneighths ]};
415 key <AE08> {[ 8, asterisk, bracketleft, trademark ]};
416 key <AE09> {[ 9, parenleft, bracketright, plusminus ]};
417 key <AE10> {[ 0, parenright, braceright, degree ]};
418 key <AE11> {[ bracketleft, braceleft, leftdoublequotemark, guillemotleft ]};
419 key <AE12> {[ bracketright, braceright, rightdoublequotemark, guillemotright ]};
420
421 key <AD01> {[ apostrophe, quotedbl, leftdoublequotemark, doublelowquotemark ]};
422 key <AD02> {[ comma, less, guillemotleft, multiply ]};
423 key <AD03> {[ period, greater, guillemotright, division ]};
424 key <AD04> {[ p, P, p, P ]};
425 key <AD05> {[ y, Y, y, Y ]};
426 key <AD06> {[ f, F, f, F ]};
427 key <AD07> {[ g, G, gcedilla, Gcedilla ]};
428 key <AD08> {[ c, C, ccaron, Ccaron ]};
429 key <AD09> {[ r, R, rcedilla, Rcedilla ]};
430 key <AD10> {[ l, L, lcedilla, Lcedilla ]};
431 key <AD11> {[ slash, question, slash, abovedot ]};
432 key <AD12> {[ equal, plus, endash, emdash ]};
433
434 key <AC01> {[ a, A, amacron, Amacron ]};
435 key <AC02> {[ o, O, omacron, Omacron ]};
436 key <AC03> {[ e, E, emacron, Emacron ]};
437 key <AC04> {[ u, U, umacron, Umacron ]};
438 key <AC05> {[ i, I, imacron, Imacron ]};
439 key <AC06> {[ d, D, d, D ]};
440 key <AC07> {[ h, H, h, H ]};
441 key <AC08> {[ t, T, t, T ]};
442 key <AC09> {[ n, N, ncedilla, Ncedilla ]};
443 key <AC10> {[ s, S, scaron, Scaron ]};
444 key <AC11> {[ minus, underscore, backslash, questiondown ]};
445
446 key <AB01> {[ semicolon, colon, semicolon, colon ]};
447 key <AB02> {[ q, Q, q, Q ]};
448 key <AB03> {[ j, J, j, J ]};
449 key <AB04> {[ k, K, kcedilla, Kcedilla ]};
450 key <AB05> {[ x, X, x, X ]};
451 key <AB06> {[ b, B, b, B ]};
452 key <AB07> {[ m, M, m, M ]};
453 key <AB08> {[ w, W, w, W ]};
454 key <AB09> {[ v, V, v, V ]};
455 key <AB10> {[ z, Z, zcaron, Zcaron ]};
456
457 key <BKSL> {[ backslash, bar, grave, breve ]};
458
459 key <SPCE> {[ space, space, space, space ]};
460
461 include "level3(ralt_switch)"
462 };
463
464 partial alphanumeric_keys modifier_keys
465 xkb_symbols "ykeydvorak" {
466
467 include "lv(dvorak)"
468
469 name[Group1]= "Latvian (Dvorak, with Y)";
470
471 key <AD05> {[ISO_Level3_Latch, ISO_Level3_Latch, y, Y]};
472 key <SPCE> {[space, space, y, Y]};
473 modifier_map Mod5 { <AD05> };
474 };
475
476 partial alphanumeric_keys modifier_keys
477 xkb_symbols "minuskeydvorak" {
478
479 include "lv(dvorak)"
480
481 name[Group1]= "Latvian (Dvorak, with minus)";
482
483 key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, minus, underscore]};
484 key <SPCE> {[space, space, minus, underscore]};
485 modifier_map Mod5 { <AC11> };
486 };
487
488 //============================================================================
489 // US Dvorak programmers layput compatible Latvian layout
490 // http://www.kaufmann.no/roland/dvorak/
491 //
492 partial alphanumeric_keys modifier_keys
493 xkb_symbols "dvorakprogr" {
494
495 include "lv(dvorak)"
496
497 name[Group1]= "Latvian (programmer Dvorak)";
498
499 key <TLDE> {[ dollar, asciitilde, EuroSign, cent ]};
500 key <AE01> {[ ampersand, percent, acute, asciitilde ]};
501 key <AE02> {[ bracketleft, 7, onesuperior, twosuperior ]};
502 key <AE03> {[ braceleft, 5, guillemotleft, leftdoublequotemark ]};
503 key <AE04> {[ braceright, 3, guillemotright, rightdoublequotemark ]};
504 key <AE05> {[ parenleft, 1, onehalf, threeeighths ]};
505 key <AE06> {[ equal, 9, threequarters, fiveeighths ]};
506 key <AE07> {[ asterisk, 0, degree, copyright ]};
507 key <AE08> {[ parenright, 2, endash, emdash ]};
508 key <AE09> {[ plus, 4, plusminus, section ]};
509 key <AE10> {[ bracketright, 6, registered, trademark ]};
510 key <AE11> {[ exclam, 8, exclam, exclamdown ]};
511 key <AE12> {[ numbersign, grave, Greek_alpha, Greek_beta ]};
512
513 key <AD01> {[ semicolon, colon, semicolon, colon ]};
514 key <AD12> {[ at, asciicircum, at, asciicircum ]};
515
516 key <AB01> {[ apostrophe, quotedbl, leftdoublequotemark, doublelowquotemark ]};
517
518 include "level3(ralt_switch)"
519 };
520
521 partial alphanumeric_keys modifier_keys
522 xkb_symbols "ykeydvorakprogr" {
523
524 include "lv(dvorakprogr)"
525
526 name[Group1]= "Latvian (programmer Dvorak, with Y)";
527
528 key <AD05> {[ISO_Level3_Latch, ISO_Level3_Latch, y, Y]};
529 key <SPCE> {[space, space, y, Y]};
530 modifier_map Mod5 { <AD05> };
531 };
532
533 partial alphanumeric_keys modifier_keys
534 xkb_symbols "minuskeydvorakprogr" {
535
536 include "lv(dvorakprogr)"
537
538 name[Group1]= "Latvian (programmer Dvorak, with minus)";
539
540 key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, minus, underscore]};
541 key <SPCE> {[space, space, minus, underscore]};
542 modifier_map Mod5 { <AC11> };
543 };
544
545 //============================================================================
546 // Colemak compatible Latvian layout
547 // http://colemak.com/
548 //
549 partial alphanumeric_keys modifier_keys
550 xkb_symbols "colemak" {
551
552 include "lv(basic)"
553
554 name[Group1]= "Latvian (Colemak)";
555
556 key <AD03> {[ f, F, f, F ]};
557 key <AD04> {[ p, P, p, P ]};
558 key <AD05> {[ g, G, gcedilla, Gcedilla ]};
559 key <AD06> {[ j, J, j, J ]};
560 key <AD07> {[ l, L, lcedilla, Lcedilla ]};
561 key <AD08> {[ u, U, umacron, Umacron ]};
562 key <AD09> {[ y, Y, y, Y ]};
563 key <AD10> {[ semicolon, colon, semicolon, colon ]};
564
565 key <AC02> {[ r, R, rcedilla, Rcedilla ]};
566 key <AC03> {[ s, S, scaron, Scaron ]};
567 key <AC04> {[ t, T, t, T ]};
568 key <AC05> {[ d, D, d, D ]};
569 key <AC07> {[ n, N, ncedilla, Ncedilla ]};
570 key <AC08> {[ e, E, emacron, Emacron ]};
571 key <AC09> {[ i, I, imacron, Imacron ]};
572 key <AC10> {[ o, O, omacron, Omacron ]};
573
574 key <AB06> {[ k, K, kcedilla, Kcedilla ]};
575
576 include "level3(ralt_switch)"
577 };
578
579 partial alphanumeric_keys modifier_keys
580 xkb_symbols "apostrophecolemak" {
581
582 include "lv(colemak)"
583
584 name[Group1]= "Latvian (Colemak, with apostrophe)";
585
586 key <AC11> {[ISO_Level3_Latch, quotedbl, apostrophe, quotedbl]};
587 key <SPCE> {[space, space, apostrophe]};
588 modifier_map Mod5 { <AC11> };
589 };
590
591 partial alphanumeric_keys
592 xkb_symbols "sun_type6" {
593 include "sun_vndr/lv(sun_type6)"
594 };
595