Home | History | Annotate | Line # | Download | only in symbols
lv revision 1.1.1.4
      1 // $XKeyboardConfig$
      2 // Latvian keymap version 1.1
      3 // Copyright (C) Dmitry Golubev <lastguru (a] mail.ru>, 2003-2004
      4 //
      5 // Reworked to get rid of dead_keys (use of which in this case
      6 // is a dirty hack). It is now not dependent on locale settings
      7 // and GTK_IM_MODULES in Gnome. The map is also providing some of
      8 // ISO9995-3 alternate characters. Note that this version works
      9 // correctly under Gnome 2.6. This is to be put into symbols/
     10 // directory, or somewhere else.
     11 //
     12 // Permission to use, copy, modify, distribute, and sell this software and its
     13 // documentation for any purpose is hereby granted without fee, provided that
     14 // the above copyright notice appear in all copies and that both that
     15 // copyright notice and this permission notice appear in supporting
     16 // documentation, and that the name of the copyright holder(s) not be used in
     17 // advertising or publicity pertaining to distribution of the software without
     18 // specific, written prior permission.  The copyright holder(s) makes no
     19 // representations about the suitability of this software for any purpose.  It
     20 // is provided "as is" without express or implied warranty.
     21 //
     22 // THE COPYRIGHT HOLDER(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
     23 // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
     24 // EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
     25 // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
     26 // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
     27 // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
     28 // PERFORMANCE OF THIS SOFTWARE.
     29 
     30 // Modified by Aldis Berjoza <aldis (a] bsdroot.lv>, 12 april 2011
     31 // Changes:
     32 //   * Added Latvian Ergonomic, Latvian Adapted and Latvian Modernd variants
     33 //      Author of this work is Valdis Vtoli
     34 //      http://odo.lv/LatvianKeyboard
     35 //      http://odo.lv/Recipes/LatvianKeyboard#HErgonomiskC481stastatC5ABrasuzlikC5A1anauzLinuxdatora%22
     36 //   * Added guillemotleft, leftdoublequotemark, guillemotright,
     37 //      rightdoublequotemark to Latvian modern layout for AD11 and AD12
     38 //   * Added US-Dvorac compatible Latvian layouts
     39 //   * Added programmer US-Dvorac compatible Latvian layouts
     40 //   * Added US-Colemak compatible Latvian layouts
     41 //   * Reformatted layouts
     42 
     43 
     44 //============================================================================
     45 // Latvian QWERTY layout
     46 // http://en.wikipedia.org/wiki/QWERTY
     47 //
     48 partial default alphanumeric_keys modifier_keys
     49 xkb_symbols "basic" {
     50 
     51 	name[Group1]= "Latvian";
     52 
     53 	key <TLDE> {[ grave,		asciitilde,	acute,			asciitilde		]};
     54 	key <AE01> {[ 1,		exclam,		onesuperior,		exclamdown		]};
     55 	key <AE02> {[ 2,		at,		twosuperior,		oneeighth		]};
     56 	key <AE03> {[ 3,		numbersign,	threesuperior,		sterling		]};
     57 	key <AE04> {[ 4,		dollar,		EuroSign,		cent			]};
     58 	key <AE05> {[ 5,		percent,	onehalf,		threeeighths		]};
     59 	key <AE06> {[ 6,		asciicircum,	threequarters,		fiveeighths		]};
     60 	key <AE07> {[ 7,		ampersand,	braceleft,		seveneighths		]};
     61 	key <AE08> {[ 8,		asterisk,	bracketleft,		trademark		]};
     62 	key <AE09> {[ 9,		parenleft,	bracketright,		plusminus		]};
     63 	key <AE10> {[ 0,		parenright,	braceright,		degree			]};
     64 	key <AE11> {[ minus,		underscore,	backslash,		questiondown		]};
     65 	key <AE12> {[ equal,		plus,		endash,			emdash			]};
     66 
     67 	key <AD01> {[ q,		Q,		q,			Q			]};
     68 	key <AD02> {[ w,		W,		w,			W			]};
     69 	key <AD03> {[ e,		E,		emacron,		Emacron			]};
     70 	key <AD04> {[ r,		R,		rcedilla,		Rcedilla		]};
     71 	key <AD05> {[ t,		T,		t,			T			]};
     72 	key <AD06> {[ y,		Y,		y,			Y			]};
     73 	key <AD07> {[ u,		U,		umacron,		Umacron			]};
     74 	key <AD08> {[ i,		I,		imacron,		Imacron			]};
     75 	key <AD09> {[ o,		O,		omacron,		Omacron			]};
     76 	key <AD10> {[ p,		P,		p,			P			]};
     77 	key <AD11> {[ bracketleft,	braceleft,	guillemotleft,		leftdoublequotemark	]};
     78 	key <AD12> {[ bracketright,	braceright,	guillemotright,		rightdoublequotemark	]};
     79 
     80 	key <AC01> {[ a,		A,		amacron,		Amacron			]};
     81 	key <AC02> {[ s,		S,		scaron,			Scaron			]};
     82 	key <AC03> {[ d,		D,		d,			D			]};
     83 	key <AC04> {[ f,		F,		f,			F			]};
     84 	key <AC05> {[ g,		G,		gcedilla,		Gcedilla		]};
     85 	key <AC06> {[ h,		H,		h,			H			]};
     86 	key <AC07> {[ j,		J,		j,			J			]};
     87 	key <AC08> {[ k,		K,		kcedilla,		Kcedilla		]};
     88 	key <AC09> {[ l,		L,		lcedilla,		Lcedilla		]};
     89 	key <AC10> {[ semicolon,	colon,		semicolon,		colon			]};
     90 	key <AC11> {[ apostrophe,	quotedbl,	leftdoublequotemark,	doublelowquotemark	]};
     91 
     92 	key <AB01> {[ z,		Z,		zcaron,			Zcaron			]};
     93 	key <AB02> {[ x,		X,		x,			X			]};
     94 	key <AB03> {[ c,		C,		ccaron,			Ccaron			]};
     95 	key <AB04> {[ v,		V,		v,			V			]};
     96 	key <AB05> {[ b,		B,		b,			B			]};
     97 	key <AB06> {[ n,		N,		ncedilla,		Ncedilla		]};
     98 	key <AB07> {[ m,		M,		m,			M			]};
     99 	key <AB08> {[ comma,		less,		horizconnector,		multiply		]};
    100 	key <AB09> {[ period,		greater,	periodcentered,		division		]};
    101 	key <AB10> {[ slash,		question,	slash,			abovedot		]};
    102 	key <BKSL> {[ backslash,	bar,		grave,			breve			]};
    103 
    104 	key <SPCE> {[ space,		space,		space,			space			]};
    105 
    106 	include "level3(ralt_switch)"
    107 };
    108 
    109 partial alphanumeric_keys modifier_keys
    110 xkb_symbols "apostrophe" {
    111 
    112 	include "lv(basic)"
    113 
    114 	name[Group1]= "Latvian (apostrophe variant)";
    115 
    116 	key <AC11> {[ISO_Level3_Latch, quotedbl, apostrophe, quotedbl]};
    117 	key <SPCE> {[space, space, apostrophe]};
    118 	modifier_map Mod5 { <AC11> };
    119 
    120 };
    121 
    122 partial alphanumeric_keys modifier_keys
    123 xkb_symbols "tilde" {
    124 
    125 	include "lv(basic)"
    126 
    127 	name[Group1]= "Latvian (tilde variant)";
    128 
    129 	key <TLDE> {[ISO_Level3_Latch, asciitilde, grave, acute]};
    130 	key <SPCE> {[space, space, asciitilde]};
    131 	modifier_map Mod5 { <TLDE> };
    132 
    133 };
    134 
    135 partial alphanumeric_keys modifier_keys
    136 xkb_symbols "fkey" {
    137 
    138 	include "lv(basic)"
    139 
    140 	name[Group1]= "Latvian (F variant)";
    141 
    142 	key <AC04> {[ISO_Level3_Latch, ISO_Level3_Latch, f, F]};
    143 	key <SPCE> {[space, space, f, F]};
    144 	modifier_map Mod5 { <AC04> };
    145 
    146 };
    147 
    148 //============================================================================
    149 // Latvian Adapted keyboard layout
    150 // http://odo.lv/xwiki/bin/download/Main/LatvianKeyboard/Adapted.png
    151 //
    152 // http://odo.lv/LatvianKeyboard
    153 // http://odo.lv/LatvianKeyboard5
    154 //
    155 partial alphanumeric_keys modifier_keys
    156 xkb_symbols "adapted" {
    157 
    158 	include "lv(basic)"
    159 
    160 	name[Group1]= "Latvian (adapted)";
    161 
    162 	key <AE02> {[ 2,		Ccaron,		at,		twosuperior	]};
    163 	key <AE03> {[ 3,		ccaron,		numbersign,	threesuperior	]};
    164 	key <AE04> {[ 4,		Zcaron,		dollar,		EuroSign	]};
    165 	key <AE05> {[ 5,		zcaron,		percent,	onehalf		]};
    166 
    167 	key <AD01> {[ scaron,		Scaron,		q,		Q		]};
    168 	key <AD02> {[ emacron,		Emacron,	w,		W		]};
    169 	key <AD03> {[ e,		E,		e,		E		]};
    170 
    171 	key <AD06> {[ amacron,		Amacron,	y,		Y		]};
    172 	key <AD07> {[ u,		U,		u,		U		]};
    173 	key <AD08> {[ i,		I,		i,		I		]};
    174 	key <AD11> {[ umacron,		Umacron,	bracketleft,	braceleft	]};
    175 	key <AD12> {[ ncedilla,		Ncedilla,	bracketright,	braceright	]};
    176 
    177 	key <AC01> {[ a,		A,		a,		A		]};
    178 	key <AC02> {[ s,		S,		s,		S		]};
    179 	key <AC05> {[ g,		G,		g,		G		]};
    180 
    181 	key <AC08> {[ k,		K,		k,		K		]};
    182 	key <AC09> {[ l,		L,		l,		L		]};
    183 	key <AC10> {[ imacron,		Imacron,	semicolon,	colon		]};
    184 
    185 	key <AB01> {[ z,		Z,		z,		Z		]};
    186 	key <AB02> {[ kcedilla,		Kcedilla,	x,		X		]};
    187 	key <AB03> {[ c,		C,		c,		C		]};
    188 
    189 	key <AB06> {[ n,		N,		n,		N		]};
    190 
    191 	key <AB08> {[ comma,		gcedilla,	less,		multiply	]};
    192 	key <AB09> {[ period,		Gcedilla,	greater,	division	]};
    193 	key <AB10> {[ lcedilla,		Lcedilla,	slash,		question	]};
    194 };
    195 
    196 //============================================================================
    197 // Latvian Ergonomic (GJRMV) keyboard layout by Valdis Vtoli
    198 // http://odo.lv/xwiki/bin/download/Main/LatvianKeyboard/Ergonomic.png
    199 //
    200 // http://odo.lv/LatvianKeyboard
    201 // http://odo.lv/LatvianKeyboard5
    202 //
    203 partial alphanumeric_keys modifier_keys
    204 xkb_symbols "ergonomic" {
    205 
    206 	include "lv(apostrophe)"
    207 
    208 	name[Group1]= "Latvian (ergonomic, GJRMV)";
    209 
    210 	key <AE02> {[ 2,		at,		gcedilla,	Gcedilla	]};
    211 
    212 	key <AE11> {[ minus,		underscore,	endash,		emdash		]};
    213 	key <AE12> {[ f,		F,		equal,		plus		]};
    214 
    215 	key <AD01> {[ umacron,		Umacron,	q,		Q		]};
    216 	key <AD02> {[ g,		G,		g,		G		]};
    217 	key <AD03> {[ j,		J,		j,		J		]};
    218 	key <AD04> {[ r,		R,		rcedilla,	Rcedilla	]};
    219 	key <AD05> {[ m,		M,		m,		M		]};
    220 	key <AD06> {[ v,		V,		w,		W		]};
    221 	key <AD07> {[ n,		N,		y,		Y		]};
    222 	key <AD08> {[ z,		Z,		z,		Z		]};
    223 	key <AD09> {[ emacron,		Emacron,	emacron,	Emacron		]};
    224 	key <AD10> {[ ccaron,		Ccaron,		ccaron,		Ccaron		]};
    225 	key <AD11> {[ zcaron,		Zcaron,		bracketleft,	braceleft	]};
    226 	key <AD12> {[ h,		H,		bracketright,	braceright	]};
    227 
    228 	key <AC01> {[ scaron,		Scaron,		scaron,		Scaron		]};
    229 	key <AC02> {[ u,		U,		u,		U		]};
    230 	key <AC03> {[ s,		S,		s,		S		]};
    231 	key <AC04> {[ i,		I,		i,		I		]};
    232 	key <AC05> {[ l,		L,		l,		L		]};
    233 	key <AC06> {[ d,		D,		d,		D		]};
    234 	key <AC07> {[ a,		A,		a,		A		]};
    235 	key <AC08> {[ t,		T,		t,		T		]};
    236 	key <AC09> {[ e,		E,		e,		E		]};
    237 	key <AC10> {[ c,		C,		c,		C		]};
    238 	key <AC11> {[ ISO_Level3_Latch,	quotedbl,	apostrophe,	quotedbl	]};
    239 	key <AC12> {[ kcedilla,		Kcedilla,	slash,		backslash	]};
    240 
    241 	key <LSGT> {[ gcedilla,		Gcedilla,	gcedilla,	Gcedilla	]};
    242 	key <AB01> {[ ncedilla,		Ncedilla,	ncedilla,	Ncedilla	]};
    243 	key <AB02> {[ b,		B,		x,		X		]};
    244 	key <AB03> {[ imacron,		Imacron,	imacron,	Imacron		]};
    245 	key <AB04> {[ k,		K,		k,		K		]};
    246 	key <AB05> {[ p,		P,		p,		P		]};
    247 	key <AB06> {[ o,		O,		omacron,	Omacron		]};
    248 	key <AB07> {[ amacron,		Amacron,	amacron,	Amacron		]};
    249 	key <AB08> {[ comma,		semicolon,	less,		multiply	]};
    250 	key <AB09> {[ period,		colon,		greater,	division	]};
    251 	key <AB10> {[ lcedilla,		Lcedilla,	question,	slash		]};
    252 };
    253 
    254 //============================================================================
    255 // Latvian Modern keyboard layout by Valdis Vtoli
    256 // http://odo.lv/xwiki/bin/download/Recipes/LatvianKeyboard/Modern.png
    257 //
    258 // http://odo.lv/LatvianKeyboard
    259 // http://odo.lv/LatvianKeyboard5
    260 //
    261 partial alphanumeric_keys modifier_keys
    262 xkb_symbols "modern" {
    263 
    264 	name[Group1]= "Latvian (modern)";
    265 
    266 	key <TLDE> {[ grave,		asciitilde,	acute,		copyright		]};
    267 	key <AE01> {[ 1,		exclam,		onesuperior,	exclamdown		]};
    268 	key <AE02> {[ 2,		at,		twosuperior,	oneeighth		]};
    269 	key <AE03> {[ 3,		numbersign,	threesuperior,	sterling		]};
    270 	key <AE04> {[ 4,		dollar,		EuroSign,	cent			]};
    271 	key <AE05> {[ 5,		percent,	onehalf,	threeeighths		]};
    272 	key <AE06> {[ 6,		asciicircum,	threequarters,	fiveeighths		]};
    273 	key <AE07> {[ 7,		ampersand,	braceleft,	seveneighths		]};
    274 	key <AE08> {[ 8,		asterisk,	bracketleft,	trademark		]};
    275 	key <AE09> {[ 9,		parenleft,	bracketright,	plusminus		]};
    276 	key <AE10> {[ 0,		parenright,	braceright,	degree			]};
    277 	key <AE11> {[ minus,		underscore,	backslash,	questiondown		]};
    278 	key <AE12> {[ equal,		plus,		endash,		emdash			]};
    279 
    280 	key <AD01> {[ emacron,		Emacron,	emacron,	Emacron			]};
    281 	key <AD02> {[ o,		O,		omacron,	Omacron			]};
    282 	key <AD03> {[ amacron,		Amacron,	amacron,	Amacron			]};
    283 	key <AD04> {[ p,		P,		question,	P			]};
    284 	key <AD05> {[ b,		B,		exclam,		B			]};
    285 	key <AD06> {[ j,		J,		emdash,		J			]};
    286 	key <AD07> {[ d,		D,		endash,		D			]};
    287 	key <AD08> {[ imacron,		Imacron,	imacron,	Imacron			]};
    288 	key <AD09> {[ l,		L,		lcedilla,	Lcedilla		]};
    289 	key <AD10> {[ g,		G,		gcedilla,	Gcedilla		]};
    290 	Key <AD11> {[ bracketleft,	braceleft,	guillemotleft,	leftdoublequotemark	]};
    291 	key <AD12> {[ bracketright,	braceright,	guillemotright,	rightdoublequotemark	]};
    292 
    293 	key <AC01> {[ e,		E,		e,		E			]};
    294 	key <AC02> {[ u,		U,		umacron,	Umacron			]};
    295 	key <AC03> {[ a,		A,		a,		A			]};
    296 	key <AC04> {[ n,		N,		ncedilla,	Ncedilla		]};
    297 	key <AC05> {[ k,		K,		kcedilla,	Kcedilla		]};
    298 	key <AC06> {[ ISO_Level3_Latch,	quotedbl,	apostrophe,	quotedbl		]};
    299 	key <AC07> {[ s,		S,		scaron,		Scaron			]};
    300 	key <AC08> {[ i,		I,		i,		I			]};
    301 	key <AC09> {[ t,		T,		t,		T			]};
    302 	key <AC10> {[ r,		R,		rcedilla,	Rcedilla		]};
    303 	key <AC11> {[ m,		M,		m,		M			]};
    304 	key <BKSL> {[ slash,		question,	backslash,	bar			]};
    305 
    306 	key <LSGT> {[ q,		Q,		q,		Q			]};
    307 	key <AB01> {[ x,		X,		q,		Q			]};
    308 	key <AB02> {[ z,		Z,		zcaron,		Zcaron			]};
    309 	key <AB03> {[ c,		C,		ccaron,		Ccaron			]};
    310 	key <AB04> {[ v,		V,		bar,		V			]};
    311 	key <AB05> {[ w,		W,		backslash,	W			]};
    312 	key <AB06> {[ f,		F,		period,		F			]};
    313 	key <AB07> {[ y,		Y,		slash,		Y			]};
    314 	key <AB08> {[ h,		H,		U263A,		U2639			]};
    315 	key <AB09> {[ comma,		semicolon,	less,		multiply		]};
    316 	key <AB10> {[ period,		colon,		greater,	division		]};
    317 	key <SPCE> {[ space,		space,		apostrophe				]};
    318 
    319 	modifier_map Mod5 { <AC06> };
    320 
    321 	include "level3(ralt_switch)"
    322 };
    323 
    324 // EXTRAS:
    325 
    326 //============================================================================
    327 // US Dvorak compatible Latvian layout
    328 // http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard
    329 //
    330 partial alphanumeric_keys modifier_keys
    331 xkb_symbols "dvorak" {
    332 
    333 	name[Group1]= "Latvian (US Dvorak)";
    334 
    335 	key <TLDE> {[ asciitilde,	grave,		acute,			asciitilde		]};
    336 	key <AE01> {[ 1,		exclam,		onesuperior,		exclamdown		]};
    337 	key <AE02> {[ 2,		at,		twosuperior,		oneeighth		]};
    338 	key <AE03> {[ 3,		numbersign,	threesuperior,		sterling		]};
    339 	key <AE04> {[ 4,		dollar,		EuroSign,		cent			]};
    340 	key <AE05> {[ 5,		percent,	onehalf,		threeeighths		]};
    341 	key <AE06> {[ 6,		asciicircum,	threequarters,		fiveeighths		]};
    342 	key <AE07> {[ 7,		ampersand,	braceleft,		seveneighths		]};
    343 	key <AE08> {[ 8,		asterisk,	bracketleft,		trademark		]};
    344 	key <AE09> {[ 9,		parenleft,	bracketright,		plusminus		]};
    345 	key <AE10> {[ 0,		parenright,	braceright,		degree			]};
    346 	key <AE11> {[ bracketleft,	braceleft,	leftdoublequotemark,	guillemotleft		]};
    347 	key <AE12> {[ bracketright,	braceright,	rightdoublequotemark,	guillemotright		]};
    348 
    349 	key <AD01> {[ apostrophe,	quotedbl,	leftdoublequotemark,	doublelowquotemark	]};
    350 	key <AD02> {[ comma,		less,		guillemotleft,		multiply		]};
    351 	key <AD03> {[ period,		greater,	guillemotright,		division		]};
    352 	key <AD04> {[ p,		P,		p,			P			]};
    353 	key <AD05> {[ y,		Y,		y,			Y			]};
    354 	key <AD06> {[ f,		F,		f,			F			]};
    355 	key <AD07> {[ g,		G,		gcedilla,		Gcedilla		]};
    356 	key <AD08> {[ c,		C,		ccaron,			Ccaron			]};
    357 	key <AD09> {[ r,		R,		rcedilla,		Rcedilla		]};
    358 	key <AD10> {[ l,		L,		lcedilla,		Lcedilla		]};
    359 	key <AD11> {[ slash,		question,	slash,			abovedot		]};
    360 	key <AD12> {[ equal,		plus,		endash,			emdash			]};
    361 
    362 	key <AC01> {[ a,		A,		amacron,		Amacron			]};
    363 	key <AC02> {[ o,		O,		omacron,		Omacron			]};
    364 	key <AC03> {[ e,		E,		emacron,		Emacron			]};
    365 	key <AC04> {[ u,		U,		umacron,		Umacron			]};
    366 	key <AC05> {[ i,		I,		imacron,		Imacron			]};
    367 	key <AC06> {[ d,		D,		d,			D			]};
    368 	key <AC07> {[ h,		H,		h,			H			]};
    369 	key <AC08> {[ t,		T,		t,			T			]};
    370 	key <AC09> {[ n,		N,		ncedilla,		Ncedilla		]};
    371 	key <AC10> {[ s,		S,		scaron,			Scaron			]};
    372 	key <AC11> {[ minus,		underscore,	backslash,		questiondown		]};
    373 
    374 	key <AB01> {[ semicolon,	colon,		semicolon,		colon			]};
    375 	key <AB02> {[ q,		Q,		q,			Q			]};
    376 	key <AB03> {[ j,		J,		j,			J			]};
    377 	key <AB04> {[ k,		K,		kcedilla,		Kcedilla		]};
    378 	key <AB05> {[ x,		X,		x,			X			]};
    379 	key <AB06> {[ b,		B,		b,			B			]};
    380 	key <AB07> {[ m,		M,		m,			M			]};
    381 	key <AB08> {[ w,		W,		w,			W			]};
    382 	key <AB09> {[ v,		V,		v,			V			]};
    383 	key <AB10> {[ z,		Z,		zcaron,			Zcaron			]};
    384 
    385 	key <BKSL> {[ backslash,	bar,		grave,			breve			]};
    386 
    387 	key <SPCE> {[ space,		space,		space,			space			]};
    388 
    389 	include "level3(ralt_switch)"
    390 };
    391 
    392 partial alphanumeric_keys modifier_keys
    393 xkb_symbols "ykeydvorak" {
    394 
    395 	include "lv(dvorak)"
    396 
    397 	name[Group1]= "Latvian (US Dvorak, Y variant)";
    398 
    399 	key <AD05> {[ISO_Level3_Latch, ISO_Level3_Latch, y, Y]};
    400 	key <SPCE> {[space, space, y, Y]};
    401 	modifier_map Mod5 { <AD05> };
    402 
    403 };
    404 
    405 partial alphanumeric_keys modifier_keys
    406 xkb_symbols "minuskeydvorak" {
    407 
    408 	include "lv(dvorak)"
    409 
    410 	name[Group1]= "Latvian (US Dvorak, minus variant)";
    411 
    412 	key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, mimus, underscore]};
    413 	key <SPCE> {[space, space, minus, underscore]};
    414 	modifier_map Mod5 { <AR11> };
    415 
    416 };
    417 
    418 //============================================================================
    419 // US Dvorak programmers layput compatible Latvian layout
    420 // http://www.kaufmann.no/roland/dvorak/
    421 //
    422 partial alphanumeric_keys modifier_keys
    423 xkb_symbols "dvorakprogr" {
    424 
    425 	include "lv(dvorak)"
    426 
    427 	name[Group1]= "Latvian (programmer US Dvorak)";
    428 
    429 	key <TLDE> {[ dollar,		asciitilde,	EuroSign,		cent			]};
    430 	key <AE01> {[ ampersand,	percent,	acute,			asciitilde		]};
    431 	key <AE02> {[ bracketleft,	7,		onesuperior,		twosuperior		]};
    432 	key <AE03> {[ braceleft,	5,		guillemotleft,		leftdoublequotemark	]};
    433 	key <AE04> {[ braceright,	3,		guillemotright,		rightdoublequotemark	]};
    434 	key <AE05> {[ parenleft,	1,		onehalf,		threeeighths		]};
    435 	key <AE06> {[ equal,		9,		threequarters,		fiveeighths		]};
    436 	key <AE07> {[ asterisk,		0,		degree,			copyright		]};
    437 	key <AE08> {[ parenright,	2,		endash,			emdash			]};
    438 	key <AE09> {[ plus,		4,		plusminus,		section			]};
    439 	key <AE10> {[ bracketright,	6,		registered,		trademark		]};
    440 	key <AE11> {[ exclam,		8,		exclam,			exclamdown		]};
    441 	key <AE12> {[ numbersign,	grave,		Greek_alpha,		Greek_beta		]};
    442 
    443 	key <AD01> {[ semicolon,	colon,		semicolon,		colon			]};
    444 	key <AD12> {[ at,		asciicircum,	at,			asciicircum		]};
    445 
    446 	key <AB01> {[ apostrophe,	quotedbl,	leftdoublequotemark,	doublelowquotemark	]};
    447 
    448 	include "level3(ralt_switch)"
    449 };
    450 
    451 partial alphanumeric_keys modifier_keys
    452 xkb_symbols "ykeydvorakprogr" {
    453 
    454 	include "lv(dvorakprogr)"
    455 
    456 	name[Group1]= "Latvian (programmer US Dvorak, Y variant)";
    457 
    458 	key <AD05> {[ISO_Level3_Latch, ISO_Level3_Latch, y, Y]};
    459 	key <SPCE> {[space, space, y, Y]};
    460 	modifier_map Mod5 { <AD05> };
    461 
    462 };
    463 
    464 partial alphanumeric_keys modifier_keys
    465 xkb_symbols "minuskeydvorakprogr" {
    466 
    467 	include "lv(dvorakprogr)"
    468 
    469 	name[Group1]= "Latvian (programmer US Dvorak, minus variant)";
    470 
    471 	key <AC11> {[ISO_Level3_Latch, ISO_Level3_Latch, mimus, underscore]};
    472 	key <SPCE> {[space, space, minus, underscore]};
    473 	modifier_map Mod5 { <AC11> };
    474 
    475 };
    476 
    477 //============================================================================
    478 // Colemak compatible Latvian layout
    479 // http://colemak.com/
    480 //
    481 partial alphanumeric_keys modifier_keys
    482 xkb_symbols "colemak" {
    483 
    484 	include "lv(basic)"
    485 
    486 	name[Group1]= "Latvian (US Colemak)";
    487 
    488 	key <AD03> {[ f,		F,		f,			F			]};
    489 	key <AD04> {[ p,		P,		p,			P			]};
    490 	key <AD05> {[ g,		G,		gcedilla,		Gcedilla		]};
    491 	key <AD06> {[ j,		J,		j,			J			]};
    492 	key <AD07> {[ l,		L,		lcedilla,		Lcedilla		]};
    493 	key <AD08> {[ u,		U,		umacron,		Umacron			]};
    494 	key <AD09> {[ y,		Y,		y,			Y			]};
    495 	key <AD10> {[ semicolon,	colon,		semicolon,		colon			]};
    496 
    497 	key <AC02> {[ r,		R,		rcedilla,		Rcedilla		]};
    498 	key <AC03> {[ s,		S,		scaron,			Scaron			]};
    499 	key <AC04> {[ t,		T,		t,			T			]};
    500 	key <AC05> {[ d,		D,		d,			D			]};
    501 	key <AC07> {[ n,		N,		ncedilla,		Ncedilla		]};
    502 	key <AC08> {[ e,		E,		emacron,		Emacron			]};
    503 	key <AC09> {[ i,		I,		imacron,		Imacron			]};
    504 	key <AC10> {[ o,		O,		omacron,		Omacron			]};
    505 
    506 	key <AB06> {[ k,		K,		kcedilla,		Kcedilla		]};
    507 
    508 	include "level3(ralt_switch)"
    509 };
    510 
    511 partial alphanumeric_keys modifier_keys
    512 xkb_symbols "apostrophecolemak" {
    513 
    514 	include "lv(colemak)"
    515 
    516 	name[Group1]= "Latvian (US Colemak, apostrophe variant)";
    517 
    518 	key <AC11> {[ISO_Level3_Latch, quotedbl, apostrophe, quotedbl]};
    519 	key <SPCE> {[space, space, apostrophe]};
    520 	modifier_map Mod5 { <AC11> };
    521 
    522 };
    523 
    524 partial alphanumeric_keys
    525 	xkb_symbols "sun_type6" {
    526 	include "sun_vndr/lv(sun_type6)"
    527 };
    528