// Latvian keyboard map by Ilya Ketris <Ilya.Ketris@ipro.lv>
//
// $XFree86: xc/programs/xkbcomp/symbols/lv,v 1.2 2001/05/23 20:13:23 dawes Exp $

partial default alphanumeric_keys modifier_keys 
xkb_symbols "basic" {

    // Describes the differences between a very simple en_US
    // keyboard and a very simple Latvian keyboard
    // Extentions:  Euro on AltGr+4, nobreakspace on AltGr+Space,
    // Rcedilla for diaspora Latvian, Omacron for Latgalian

    name[Group1]= "US/ASCII";
    name[Group2]= "Latvian";

    key <RTRN> {	[   Return,  ISO_Next_Group	]};

    key <AE04> {        [         4,    dollar          ],
			[  EuroSign,    cent		]};
    key <AD03> {        [         e,    E               ],
			[   emacron,    Emacron		]};
    key <AD04> {        [         r,    R               ],
			[   rcedilla,   Rcedilla	]};
    key <AD07> {        [         u,    U               ],
			[   umacron,	Umacron		]};
    key <AD08> {        [         i,    I               ],
			[   imacron,	Imacron		]};
    key <AD09> {        [         o,    O               ],
			[   omacron,	Omacron		]};
    key <AC01> {        [         a,    A               ],
			[   amacron,	Amacron		]};
    key <AC02> {        [         s,    S               ],
			[    scaron,	Scaron		]};
    key <AC05> {        [         g,    G               ],
			[    gcedilla,	Gcedilla	]};
    key <AC08> {        [         k,    K               ],
			[    kcedilla,	Kcedilla	]};
    key <AC09> {        [         l,    L               ],
			[    lcedilla,	Lcedilla	]};
    key <AC11> {        [ quoteright,   quotedbl        ],
			[ leftdoublequotemark, doublelowquotemark]};
    key <AB01> {        [         z,    Z               ],
			[    zcaron,	Zcaron		]};
    key <AB03> {        [         c,    C               ],
			[    ccaron,	Ccaron		]};
    key <AB06> {        [         n,    N               ],
			[    ncedilla,	Ncedilla	]};
    key <SPCE> {	[     space,	space		],
			[ nobreakspace,	nobreakspace	]};

    // End alphanumeric section
    
    // Begin modifier mappings 

    modifier_map Shift  { Shift_L };
    modifier_map Lock   { Caps_Lock, ISO_Lock };
    modifier_map Control{ Control_L };
    modifier_map Mod3   { Mode_switch };
};



partial alphanumeric_keys 
xkb_symbols "Sundeadkeys" {
    include "lv(basic)" // for consistent naming
};

partial alphanumeric_keys 
xkb_symbols "sundeadkeys" {
    include "lv(Sundeadkeys)" // for consistent naming
};

partial alphanumeric_keys 
xkb_symbols "nodeadkeys" {
    include "lv(basic)" // for consistent naming
};


