lv revision bb3a541c
1// Latvian keymap version 1.2
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, ISO_Level3_Latch, apostrophe, quotedbl]};
116	key <SPCE> {[space, space, apostrophe, quotedbl]};
117	modifier_map Mod5 { <AC11> };
118};
119
120partial alphanumeric_keys modifier_keys
121xkb_symbols "tilde" {
122
123	include "lv(basic)"
124
125	name[Group1]= "Latvian (tilde)";
126
127	key <TLDE> {[ISO_Level3_Latch, asciitilde, grave, acute]};
128	key <SPCE> {[space, space, asciitilde]};
129	modifier_map Mod5 { <TLDE> };
130};
131
132partial alphanumeric_keys modifier_keys
133xkb_symbols "fkey" {
134
135	include "lv(basic)"
136
137	name[Group1]= "Latvian (F)";
138
139	key <AC04> {[ISO_Level3_Latch, ISO_Level3_Latch, f, F]};
140	key <SPCE> {[space, space, f, F]};
141	modifier_map Mod5 { <AC04> };
142};
143
144//============================================================================
145// Latvian Adapted keyboard layout
146// http://odo.lv/xwiki/bin/download/Main/LatvianKeyboard/Adapted.png
147//
148// http://odo.lv/LatvianKeyboard
149// http://odo.lv/LatvianKeyboard5
150//
151partial alphanumeric_keys modifier_keys
152xkb_symbols "adapted" {
153
154	include "lv(basic)"
155
156	name[Group1]= "Latvian (adapted)";
157
158	key <AE02> {[ 2,		Ccaron,		at,		twosuperior	]};
159	key <AE03> {[ 3,		ccaron,		numbersign,	threesuperior	]};
160	key <AE04> {[ 4,		Zcaron,		dollar,		EuroSign	]};
161	key <AE05> {[ 5,		zcaron,		percent,	onehalf		]};
162
163	key <AD01> {[ scaron,		Scaron,		q,		Q		]};
164	key <AD02> {[ emacron,		Emacron,	w,		W		]};
165	key <AD03> {[ e,		E,		e,		E		]};
166
167	key <AD06> {[ amacron,		Amacron,	y,		Y		]};
168	key <AD07> {[ u,		U,		u,		U		]};
169	key <AD08> {[ i,		I,		i,		I		]};
170	key <AD11> {[ umacron,		Umacron,	bracketleft,	braceleft	]};
171	key <AD12> {[ ncedilla,		Ncedilla,	bracketright,	braceright	]};
172
173	key <AC01> {[ a,		A,		a,		A		]};
174	key <AC02> {[ s,		S,		s,		S		]};
175	key <AC05> {[ g,		G,		g,		G		]};
176
177	key <AC08> {[ k,		K,		k,		K		]};
178	key <AC09> {[ l,		L,		l,		L		]};
179	key <AC10> {[ imacron,		Imacron,	semicolon,	colon		]};
180
181	key <AB01> {[ z,		Z,		z,		Z		]};
182	key <AB02> {[ kcedilla,		Kcedilla,	x,		X		]};
183	key <AB03> {[ c,		C,		c,		C		]};
184
185	key <AB06> {[ n,		N,		n,		N		]};
186
187	key <AB08> {[ comma,		gcedilla,	less,		multiply	]};
188	key <AB09> {[ period,		Gcedilla,	greater,	division	]};
189	key <AB10> {[ lcedilla,		Lcedilla,	slash,		question	]};
190};
191
192//============================================================================
193// Latvian Ergonomic (ŪGJRMV) keyboard layout by Valdis Vītoliņš
194// http://odo.lv/xwiki/bin/download/Main/LatvianKeyboard/Ergonomic.png
195//
196// http://odo.lv/LatvianKeyboard
197// http://odo.lv/LatvianKeyboard5
198//
199partial alphanumeric_keys modifier_keys
200xkb_symbols "ergonomic" {
201
202	include "lv(apostrophe)"
203
204	name[Group1]= "Latvian (ergonomic, ŪGJRMV)";
205
206	key <AE02> {[ 2,		at,		gcedilla,	Gcedilla	]};
207
208	key <AE11> {[ minus,		underscore,	endash,		emdash		]};
209	key <AE12> {[ f,		F,		equal,		plus		]};
210
211	key <AD01> {[ umacron,		Umacron,	q,		Q		]};
212	key <AD02> {[ g,		G,		g,		G		]};
213	key <AD03> {[ j,		J,		j,		J		]};
214	key <AD04> {[ r,		R,		rcedilla,	Rcedilla	]};
215	key <AD05> {[ m,		M,		m,		M		]};
216	key <AD06> {[ v,		V,		w,		W		]};
217	key <AD07> {[ n,		N,		y,		Y		]};
218	key <AD08> {[ z,		Z,		z,		Z		]};
219	key <AD09> {[ emacron,		Emacron,	emacron,	Emacron		]};
220	key <AD10> {[ ccaron,		Ccaron,		ccaron,		Ccaron		]};
221	key <AD11> {[ zcaron,		Zcaron,		bracketleft,	braceleft	]};
222	key <AD12> {[ h,		H,		bracketright,	braceright	]};
223
224	key <AC01> {[ scaron,		Scaron,		scaron,		Scaron		]};
225	key <AC02> {[ u,		U,		u,		U		]};
226	key <AC03> {[ s,		S,		s,		S		]};
227	key <AC04> {[ i,		I,		i,		I		]};
228	key <AC05> {[ l,		L,		l,		L		]};
229	key <AC06> {[ d,		D,		d,		D		]};
230	key <AC07> {[ a,		A,		a,		A		]};
231	key <AC08> {[ t,		T,		t,		T		]};
232	key <AC09> {[ e,		E,		e,		E		]};
233	key <AC10> {[ c,		C,		c,		C		]};
234	key <AC11> {[ ISO_Level3_Latch,	quotedbl,	apostrophe,	quotedbl	]};
235	key <AC12> {[ kcedilla,		Kcedilla,	slash,		backslash	]};
236
237	key <LSGT> {[ gcedilla,		Gcedilla,	gcedilla,	Gcedilla	]};
238	key <AB01> {[ ncedilla,		Ncedilla,	ncedilla,	Ncedilla	]};
239	key <AB02> {[ b,		B,		x,		X		]};
240	key <AB03> {[ imacron,		Imacron,	imacron,	Imacron		]};
241	key <AB04> {[ k,		K,		k,		K		]};
242	key <AB05> {[ p,		P,		p,		P		]};
243	key <AB06> {[ o,		O,		omacron,	Omacron		]};
244	key <AB07> {[ amacron,		Amacron,	amacron,	Amacron		]};
245	key <AB08> {[ comma,		semicolon,	less,		multiply	]};
246	key <AB09> {[ period,		colon,		greater,	division	]};
247	key <AB10> {[ lcedilla,		Lcedilla,	question,	slash		]};
248};
249
250//============================================================================
251// Latvian Modern keyboard layout by Valdis Vītoliņš
252// http://odo.lv/xwiki/bin/download/Recipes/LatvianKeyboard/Modern.png
253//
254// http://odo.lv/LatvianKeyboard
255// http://odo.lv/LatvianKeyboard5
256//
257partial alphanumeric_keys modifier_keys
258xkb_symbols "modern" {
259
260	name[Group1]= "Latvian (modern)";
261
262	key <TLDE> {[ grave,		asciitilde,	acute,		copyright		]};
263	key <AE01> {[ 1,		exclam,		onesuperior,	exclamdown		]};
264	key <AE02> {[ 2,		at,		twosuperior,	oneeighth		]};
265	key <AE03> {[ 3,		numbersign,	threesuperior,	sterling		]};
266	key <AE04> {[ 4,		dollar,		EuroSign,	cent			]};
267	key <AE05> {[ 5,		percent,	onehalf,	threeeighths		]};
268	key <AE06> {[ 6,		asciicircum,	threequarters,	fiveeighths		]};
269	key <AE07> {[ 7,		ampersand,	braceleft,	seveneighths		]};
270	key <AE08> {[ 8,		asterisk,	bracketleft,	trademark		]};
271	key <AE09> {[ 9,		parenleft,	bracketright,	plusminus		]};
272	key <AE10> {[ 0,		parenright,	braceright,	degree			]};
273	key <AE11> {[ minus,		underscore,	backslash,	questiondown		]};
274	key <AE12> {[ equal,		plus,		endash,		emdash			]};
275
276	key <AD01> {[ emacron,		Emacron,	emacron,	Emacron			]};
277	key <AD02> {[ o,		O,		omacron,	Omacron			]};
278	key <AD03> {[ amacron,		Amacron,	amacron,	Amacron			]};
279	key <AD04> {[ p,		P,		question,	P			]};
280	key <AD05> {[ b,		B,		exclam,		B			]};
281	key <AD06> {[ j,		J,		emdash,		J			]};
282	key <AD07> {[ d,		D,		endash,		D			]};
283	key <AD08> {[ imacron,		Imacron,	imacron,	Imacron			]};
284	key <AD09> {[ l,		L,		lcedilla,	Lcedilla		]};
285	key <AD10> {[ g,		G,		gcedilla,	Gcedilla		]};
286	Key <AD11> {[ bracketleft,	braceleft,	guillemotleft,	leftdoublequotemark	]};
287	key <AD12> {[ bracketright,	braceright,	guillemotright,	rightdoublequotemark	]};
288
289	key <AC01> {[ e,		E,		e,		E			]};
290	key <AC02> {[ u,		U,		umacron,	Umacron			]};
291	key <AC03> {[ a,		A,		a,		A			]};
292	key <AC04> {[ n,		N,		ncedilla,	Ncedilla		]};
293	key <AC05> {[ k,		K,		kcedilla,	Kcedilla		]};
294	key <AC06> {[ ISO_Level3_Latch,	quotedbl,	apostrophe,	quotedbl		]};
295	key <AC07> {[ s,		S,		scaron,		Scaron			]};
296	key <AC08> {[ i,		I,		i,		I			]};
297	key <AC09> {[ t,		T,		t,		T			]};
298	key <AC10> {[ r,		R,		rcedilla,	Rcedilla		]};
299	key <AC11> {[ m,		M,		m,		M			]};
300	key <BKSL> {[ slash,		question,	backslash,	bar			]};
301
302	key <LSGT> {[ q,		Q,		q,		Q			]};
303	key <AB01> {[ x,		X,		q,		Q			]};
304	key <AB02> {[ z,		Z,		zcaron,		Zcaron			]};
305	key <AB03> {[ c,		C,		ccaron,		Ccaron			]};
306	key <AB04> {[ v,		V,		bar,		V			]};
307	key <AB05> {[ w,		W,		backslash,	W			]};
308	key <AB06> {[ f,		F,		period,		F			]};
309	key <AB07> {[ y,		Y,		U0233,		U0232			]};
310	key <AB08> {[ h,		H,		U1E29,		U1E28			]};
311	key <AB09> {[ comma,		semicolon,	less,		multiply		]};
312	key <AB10> {[ period,		colon,		greater,	division		]};
313	key <SPCE> {[ space,		space,		apostrophe				]};
314
315	modifier_map Mod5 { <AC06> };
316
317	include "level3(ralt_switch)"
318};
319
320// EXTRAS:
321
322//============================================================================
323// US Dvorak compatible Latvian layout
324// http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard
325//
326partial alphanumeric_keys modifier_keys
327xkb_symbols "dvorak" {
328
329	name[Group1]= "Latvian (Dvorak)";
330
331	key <TLDE> {[ asciitilde,	grave,		acute,			asciitilde		]};
332	key <AE01> {[ 1,		exclam,		onesuperior,		exclamdown		]};
333	key <AE02> {[ 2,		at,		twosuperior,		oneeighth		]};
334	key <AE03> {[ 3,		numbersign,	threesuperior,		sterling		]};
335	key <AE04> {[ 4,		dollar,		EuroSign,		cent			]};
336	key <AE05> {[ 5,		percent,	onehalf,		threeeighths		]};
337	key <AE06> {[ 6,		asciicircum,	threequarters,		fiveeighths		]};
338	key <AE07> {[ 7,		ampersand,	braceleft,		seveneighths		]};
339	key <AE08> {[ 8,		asterisk,	bracketleft,		trademark		]};
340	key <AE09> {[ 9,		parenleft,	bracketright,		plusminus		]};
341	key <AE10> {[ 0,		parenright,	braceright,		degree			]};
342	key <AE11> {[ bracketleft,	braceleft,	leftdoublequotemark,	guillemotleft		]};
343	key <AE12> {[ bracketright,	braceright,	rightdoublequotemark,	guillemotright		]};
344
345	key <AD01> {[ apostrophe,	quotedbl,	leftdoublequotemark,	doublelowquotemark	]};
346	key <AD02> {[ comma,		less,		guillemotleft,		multiply		]};
347	key <AD03> {[ period,		greater,	guillemotright,		division		]};
348	key <AD04> {[ p,		P,		p,			P			]};
349	key <AD05> {[ y,		Y,		y,			Y			]};
350	key <AD06> {[ f,		F,		f,			F			]};
351	key <AD07> {[ g,		G,		gcedilla,		Gcedilla		]};
352	key <AD08> {[ c,		C,		ccaron,			Ccaron			]};
353	key <AD09> {[ r,		R,		rcedilla,		Rcedilla		]};
354	key <AD10> {[ l,		L,		lcedilla,		Lcedilla		]};
355	key <AD11> {[ slash,		question,	slash,			abovedot		]};
356	key <AD12> {[ equal,		plus,		endash,			emdash			]};
357
358	key <AC01> {[ a,		A,		amacron,		Amacron			]};
359	key <AC02> {[ o,		O,		omacron,		Omacron			]};
360	key <AC03> {[ e,		E,		emacron,		Emacron			]};
361	key <AC04> {[ u,		U,		umacron,		Umacron			]};
362	key <AC05> {[ i,		I,		imacron,		Imacron			]};
363	key <AC06> {[ d,		D,		d,			D			]};
364	key <AC07> {[ h,		H,		h,			H			]};
365	key <AC08> {[ t,		T,		t,			T			]};
366	key <AC09> {[ n,		N,		ncedilla,		Ncedilla		]};
367	key <AC10> {[ s,		S,		scaron,			Scaron			]};
368	key <AC11> {[ minus,		underscore,	backslash,		questiondown		]};
369
370	key <AB01> {[ semicolon,	colon,		semicolon,		colon			]};
371	key <AB02> {[ q,		Q,		q,			Q			]};
372	key <AB03> {[ j,		J,		j,			J			]};
373	key <AB04> {[ k,		K,		kcedilla,		Kcedilla		]};
374	key <AB05> {[ x,		X,		x,			X			]};
375	key <AB06> {[ b,		B,		b,			B			]};
376	key <AB07> {[ m,		M,		m,			M			]};
377	key <AB08> {[ w,		W,		w,			W			]};
378	key <AB09> {[ v,		V,		v,			V			]};
379	key <AB10> {[ z,		Z,		zcaron,			Zcaron			]};
380
381	key <BKSL> {[ backslash,	bar,		grave,			breve			]};
382
383	key <SPCE> {[ space,		space,		space,			space			]};
384
385	include "level3(ralt_switch)"
386};
387
388partial alphanumeric_keys modifier_keys
389xkb_symbols "ykeydvorak" {
390
391	include "lv(dvorak)"
392
393	name[Group1]= "Latvian (Dvorak, with Y)";
394
395	key <AD05> {[ISO_Level3_Latch, ISO_Level3_Latch, y, Y]};
396	key <SPCE> {[space, space, y, Y]};
397	modifier_map Mod5 { <AD05> };
398};
399
400partial alphanumeric_keys modifier_keys
401xkb_symbols "minuskeydvorak" {
402
403	include "lv(dvorak)"
404
405	name[Group1]= "Latvian (Dvorak, with minus)";
406
407	key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, minus, underscore]};
408	key <SPCE> {[space, space, minus, underscore]};
409	modifier_map Mod5 { <AR11> };
410};
411
412//============================================================================
413// US Dvorak programmers layput compatible Latvian layout
414// http://www.kaufmann.no/roland/dvorak/
415//
416partial alphanumeric_keys modifier_keys
417xkb_symbols "dvorakprogr" {
418
419	include "lv(dvorak)"
420
421	name[Group1]= "Latvian (programmer Dvorak)";
422
423	key <TLDE> {[ dollar,		asciitilde,	EuroSign,		cent			]};
424	key <AE01> {[ ampersand,	percent,	acute,			asciitilde		]};
425	key <AE02> {[ bracketleft,	7,		onesuperior,		twosuperior		]};
426	key <AE03> {[ braceleft,	5,		guillemotleft,		leftdoublequotemark	]};
427	key <AE04> {[ braceright,	3,		guillemotright,		rightdoublequotemark	]};
428	key <AE05> {[ parenleft,	1,		onehalf,		threeeighths		]};
429	key <AE06> {[ equal,		9,		threequarters,		fiveeighths		]};
430	key <AE07> {[ asterisk,		0,		degree,			copyright		]};
431	key <AE08> {[ parenright,	2,		endash,			emdash			]};
432	key <AE09> {[ plus,		4,		plusminus,		section			]};
433	key <AE10> {[ bracketright,	6,		registered,		trademark		]};
434	key <AE11> {[ exclam,		8,		exclam,			exclamdown		]};
435	key <AE12> {[ numbersign,	grave,		Greek_alpha,		Greek_beta		]};
436
437	key <AD01> {[ semicolon,	colon,		semicolon,		colon			]};
438	key <AD12> {[ at,		asciicircum,	at,			asciicircum		]};
439
440	key <AB01> {[ apostrophe,	quotedbl,	leftdoublequotemark,	doublelowquotemark	]};
441
442	include "level3(ralt_switch)"
443};
444
445partial alphanumeric_keys modifier_keys
446xkb_symbols "ykeydvorakprogr" {
447
448	include "lv(dvorakprogr)"
449
450	name[Group1]= "Latvian (programmer Dvorak, with Y)";
451
452	key <AD05> {[ISO_Level3_Latch, ISO_Level3_Latch, y, Y]};
453	key <SPCE> {[space, space, y, Y]};
454	modifier_map Mod5 { <AD05> };
455};
456
457partial alphanumeric_keys modifier_keys
458xkb_symbols "minuskeydvorakprogr" {
459
460	include "lv(dvorakprogr)"
461
462	name[Group1]= "Latvian (programmer Dvorak, with minus)";
463
464	key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, minus, underscore]};
465	key <SPCE> {[space, space, minus, underscore]};
466	modifier_map Mod5 { <AC11> };
467};
468
469//============================================================================
470// Colemak compatible Latvian layout
471// http://colemak.com/
472//
473partial alphanumeric_keys modifier_keys
474xkb_symbols "colemak" {
475
476	include "lv(basic)"
477
478	name[Group1]= "Latvian (Colemak)";
479
480	key <AD03> {[ f,		F,		f,			F			]};
481	key <AD04> {[ p,		P,		p,			P			]};
482	key <AD05> {[ g,		G,		gcedilla,		Gcedilla		]};
483	key <AD06> {[ j,		J,		j,			J			]};
484	key <AD07> {[ l,		L,		lcedilla,		Lcedilla		]};
485	key <AD08> {[ u,		U,		umacron,		Umacron			]};
486	key <AD09> {[ y,		Y,		y,			Y			]};
487	key <AD10> {[ semicolon,	colon,		semicolon,		colon			]};
488
489	key <AC02> {[ r,		R,		rcedilla,		Rcedilla		]};
490	key <AC03> {[ s,		S,		scaron,			Scaron			]};
491	key <AC04> {[ t,		T,		t,			T			]};
492	key <AC05> {[ d,		D,		d,			D			]};
493	key <AC07> {[ n,		N,		ncedilla,		Ncedilla		]};
494	key <AC08> {[ e,		E,		emacron,		Emacron			]};
495	key <AC09> {[ i,		I,		imacron,		Imacron			]};
496	key <AC10> {[ o,		O,		omacron,		Omacron			]};
497
498	key <AB06> {[ k,		K,		kcedilla,		Kcedilla		]};
499
500	include "level3(ralt_switch)"
501};
502
503partial alphanumeric_keys modifier_keys
504xkb_symbols "apostrophecolemak" {
505
506	include "lv(colemak)"
507
508	name[Group1]= "Latvian (Colemak, with apostrophe)";
509
510	key <AC11> {[ISO_Level3_Latch, quotedbl, apostrophe, quotedbl]};
511	key <SPCE> {[space, space, apostrophe]};
512	modifier_map Mod5 { <AC11> };
513};
514
515partial alphanumeric_keys
516	xkb_symbols "sun_type6" {
517	include "sun_vndr/lv(sun_type6)"
518};
519