Debian Codegraph @

symbols/lv

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