lv revision 9ea7388f
1// Latvian keymap version 1.3
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// Modified by Aldis Berjoza <aldis@bsdroot.lv>, 12 april 2011
30// Changes:
31//   * Added Latvian Ergonomic, Latvian Adapted and Latvian Modern variants
32//      Author of this work is Valdis Vītoliņš
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//
47default partial alphanumeric_keys modifier_keys
48xkb_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,		horizconnector,		multiply		]};
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
108partial alphanumeric_keys modifier_keys
109xkb_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
120partial alphanumeric_keys modifier_keys
121xkb_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
132partial alphanumeric_keys modifier_keys
133xkb_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
144partial alphanumeric_keys modifier_keys
145xkb_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//
163partial alphanumeric_keys modifier_keys
164xkb_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 Vītoliņš
206// http://odo.lv/xwiki/bin/download/Main/LatvianKeyboard/Ergonomic.png
207//
208// http://odo.lv/LatvianKeyboard
209// http://odo.lv/LatvianKeyboard5
210//
211partial alphanumeric_keys modifier_keys
212xkb_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 Vītoliņš
264// http://odo.lv/xwiki/bin/download/Recipes/LatvianKeyboard/Modern.png
265//
266// http://odo.lv/LatvianKeyboard
267// http://odo.lv/LatvianKeyboard5
268//
269partial alphanumeric_keys modifier_keys
270xkb_symbols "modern" {
271
272	name[Group1]= "Latvian (modern)";
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// EXTRAS:
333
334//============================================================================
335// US Dvorak compatible Latvian layout
336// http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard
337//
338partial alphanumeric_keys modifier_keys
339xkb_symbols "dvorak" {
340
341	name[Group1]= "Latvian (Dvorak)";
342
343	key <TLDE> {[ asciitilde,	grave,		acute,			asciitilde		]};
344	key <AE01> {[ 1,		exclam,		onesuperior,		exclamdown		]};
345	key <AE02> {[ 2,		at,		twosuperior,		oneeighth		]};
346	key <AE03> {[ 3,		numbersign,	threesuperior,		sterling		]};
347	key <AE04> {[ 4,		dollar,		EuroSign,		cent			]};
348	key <AE05> {[ 5,		percent,	onehalf,		threeeighths		]};
349	key <AE06> {[ 6,		asciicircum,	threequarters,		fiveeighths		]};
350	key <AE07> {[ 7,		ampersand,	braceleft,		seveneighths		]};
351	key <AE08> {[ 8,		asterisk,	bracketleft,		trademark		]};
352	key <AE09> {[ 9,		parenleft,	bracketright,		plusminus		]};
353	key <AE10> {[ 0,		parenright,	braceright,		degree			]};
354	key <AE11> {[ bracketleft,	braceleft,	leftdoublequotemark,	guillemotleft		]};
355	key <AE12> {[ bracketright,	braceright,	rightdoublequotemark,	guillemotright		]};
356
357	key <AD01> {[ apostrophe,	quotedbl,	leftdoublequotemark,	doublelowquotemark	]};
358	key <AD02> {[ comma,		less,		guillemotleft,		multiply		]};
359	key <AD03> {[ period,		greater,	guillemotright,		division		]};
360	key <AD04> {[ p,		P,		p,			P			]};
361	key <AD05> {[ y,		Y,		y,			Y			]};
362	key <AD06> {[ f,		F,		f,			F			]};
363	key <AD07> {[ g,		G,		gcedilla,		Gcedilla		]};
364	key <AD08> {[ c,		C,		ccaron,			Ccaron			]};
365	key <AD09> {[ r,		R,		rcedilla,		Rcedilla		]};
366	key <AD10> {[ l,		L,		lcedilla,		Lcedilla		]};
367	key <AD11> {[ slash,		question,	slash,			abovedot		]};
368	key <AD12> {[ equal,		plus,		endash,			emdash			]};
369
370	key <AC01> {[ a,		A,		amacron,		Amacron			]};
371	key <AC02> {[ o,		O,		omacron,		Omacron			]};
372	key <AC03> {[ e,		E,		emacron,		Emacron			]};
373	key <AC04> {[ u,		U,		umacron,		Umacron			]};
374	key <AC05> {[ i,		I,		imacron,		Imacron			]};
375	key <AC06> {[ d,		D,		d,			D			]};
376	key <AC07> {[ h,		H,		h,			H			]};
377	key <AC08> {[ t,		T,		t,			T			]};
378	key <AC09> {[ n,		N,		ncedilla,		Ncedilla		]};
379	key <AC10> {[ s,		S,		scaron,			Scaron			]};
380	key <AC11> {[ minus,		underscore,	backslash,		questiondown		]};
381
382	key <AB01> {[ semicolon,	colon,		semicolon,		colon			]};
383	key <AB02> {[ q,		Q,		q,			Q			]};
384	key <AB03> {[ j,		J,		j,			J			]};
385	key <AB04> {[ k,		K,		kcedilla,		Kcedilla		]};
386	key <AB05> {[ x,		X,		x,			X			]};
387	key <AB06> {[ b,		B,		b,			B			]};
388	key <AB07> {[ m,		M,		m,			M			]};
389	key <AB08> {[ w,		W,		w,			W			]};
390	key <AB09> {[ v,		V,		v,			V			]};
391	key <AB10> {[ z,		Z,		zcaron,			Zcaron			]};
392
393	key <BKSL> {[ backslash,	bar,		grave,			breve			]};
394
395	key <SPCE> {[ space,		space,		space,			space			]};
396
397	include "level3(ralt_switch)"
398};
399
400partial alphanumeric_keys modifier_keys
401xkb_symbols "ykeydvorak" {
402
403	include "lv(dvorak)"
404
405	name[Group1]= "Latvian (Dvorak, with Y)";
406
407	key <AD05> {[ISO_Level3_Latch, ISO_Level3_Latch, y, Y]};
408	key <SPCE> {[space, space, y, Y]};
409	modifier_map Mod5 { <AD05> };
410};
411
412partial alphanumeric_keys modifier_keys
413xkb_symbols "minuskeydvorak" {
414
415	include "lv(dvorak)"
416
417	name[Group1]= "Latvian (Dvorak, with minus)";
418
419	key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, minus, underscore]};
420	key <SPCE> {[space, space, minus, underscore]};
421	modifier_map Mod5 { <AR11> };
422};
423
424//============================================================================
425// US Dvorak programmers layput compatible Latvian layout
426// http://www.kaufmann.no/roland/dvorak/
427//
428partial alphanumeric_keys modifier_keys
429xkb_symbols "dvorakprogr" {
430
431	include "lv(dvorak)"
432
433	name[Group1]= "Latvian (programmer Dvorak)";
434
435	key <TLDE> {[ dollar,		asciitilde,	EuroSign,		cent			]};
436	key <AE01> {[ ampersand,	percent,	acute,			asciitilde		]};
437	key <AE02> {[ bracketleft,	7,		onesuperior,		twosuperior		]};
438	key <AE03> {[ braceleft,	5,		guillemotleft,		leftdoublequotemark	]};
439	key <AE04> {[ braceright,	3,		guillemotright,		rightdoublequotemark	]};
440	key <AE05> {[ parenleft,	1,		onehalf,		threeeighths		]};
441	key <AE06> {[ equal,		9,		threequarters,		fiveeighths		]};
442	key <AE07> {[ asterisk,		0,		degree,			copyright		]};
443	key <AE08> {[ parenright,	2,		endash,			emdash			]};
444	key <AE09> {[ plus,		4,		plusminus,		section			]};
445	key <AE10> {[ bracketright,	6,		registered,		trademark		]};
446	key <AE11> {[ exclam,		8,		exclam,			exclamdown		]};
447	key <AE12> {[ numbersign,	grave,		Greek_alpha,		Greek_beta		]};
448
449	key <AD01> {[ semicolon,	colon,		semicolon,		colon			]};
450	key <AD12> {[ at,		asciicircum,	at,			asciicircum		]};
451
452	key <AB01> {[ apostrophe,	quotedbl,	leftdoublequotemark,	doublelowquotemark	]};
453
454	include "level3(ralt_switch)"
455};
456
457partial alphanumeric_keys modifier_keys
458xkb_symbols "ykeydvorakprogr" {
459
460	include "lv(dvorakprogr)"
461
462	name[Group1]= "Latvian (programmer Dvorak, with Y)";
463
464	key <AD05> {[ISO_Level3_Latch, ISO_Level3_Latch, y, Y]};
465	key <SPCE> {[space, space, y, Y]};
466	modifier_map Mod5 { <AD05> };
467};
468
469partial alphanumeric_keys modifier_keys
470xkb_symbols "minuskeydvorakprogr" {
471
472	include "lv(dvorakprogr)"
473
474	name[Group1]= "Latvian (programmer Dvorak, with minus)";
475
476	key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, minus, underscore]};
477	key <SPCE> {[space, space, minus, underscore]};
478	modifier_map Mod5 { <AC11> };
479};
480
481//============================================================================
482// Colemak compatible Latvian layout
483// http://colemak.com/
484//
485partial alphanumeric_keys modifier_keys
486xkb_symbols "colemak" {
487
488	include "lv(basic)"
489
490	name[Group1]= "Latvian (Colemak)";
491
492	key <AD03> {[ f,		F,		f,			F			]};
493	key <AD04> {[ p,		P,		p,			P			]};
494	key <AD05> {[ g,		G,		gcedilla,		Gcedilla		]};
495	key <AD06> {[ j,		J,		j,			J			]};
496	key <AD07> {[ l,		L,		lcedilla,		Lcedilla		]};
497	key <AD08> {[ u,		U,		umacron,		Umacron			]};
498	key <AD09> {[ y,		Y,		y,			Y			]};
499	key <AD10> {[ semicolon,	colon,		semicolon,		colon			]};
500
501	key <AC02> {[ r,		R,		rcedilla,		Rcedilla		]};
502	key <AC03> {[ s,		S,		scaron,			Scaron			]};
503	key <AC04> {[ t,		T,		t,			T			]};
504	key <AC05> {[ d,		D,		d,			D			]};
505	key <AC07> {[ n,		N,		ncedilla,		Ncedilla		]};
506	key <AC08> {[ e,		E,		emacron,		Emacron			]};
507	key <AC09> {[ i,		I,		imacron,		Imacron			]};
508	key <AC10> {[ o,		O,		omacron,		Omacron			]};
509
510	key <AB06> {[ k,		K,		kcedilla,		Kcedilla		]};
511
512	include "level3(ralt_switch)"
513};
514
515partial alphanumeric_keys modifier_keys
516xkb_symbols "apostrophecolemak" {
517
518	include "lv(colemak)"
519
520	name[Group1]= "Latvian (Colemak, with apostrophe)";
521
522	key <AC11> {[ISO_Level3_Latch, quotedbl, apostrophe, quotedbl]};
523	key <SPCE> {[space, space, apostrophe]};
524	modifier_map Mod5 { <AC11> };
525};
526
527partial alphanumeric_keys
528	xkb_symbols "sun_type6" {
529	include "sun_vndr/lv(sun_type6)"
530};
531