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