// $XKeyboardConfig$

// $XFree86: xc/programs/xkbcomp/symbols/tm,v 0.2 2009/04/02 14:32:05 pascal Exp $
// Nazar Annagurban <nazar_xg@hotmail.com>, 2009

// Default layout (based on Vista Turkmen layout)
default partial
xkb_symbols "basic" {
    name[Group1]="Turkmenistan";
    
    include "us"
	key.type[group1]="ALPHABETIC";
    key <TLDE> {	[    zcaron, 	Zcaron,		grave,	asciitilde	]	};

    key <AD01> {	[ adiaeresis, 	Adiaeresis,	q,	Q 	]	};
    key <AD11> {	[    ncaron, 	Ncaron,		bracketleft,	braceleft	]	};
    key <AD12> {	[odiaeresis, 	Odiaeresis, 	bracketright,	braceright	]	};

    key <AB02> {	[udiaeresis, 	Udiaeresis,	x,	X	]	};
    key <AB03> {	[  ccedilla, 	Ccedilla,	c,	C	]	};
    key <AB04> {	[    yacute, 	Yacute, 	v,	V	]	};

    key <BKSL> {	[  scedilla, 	Scedilla,	backslash,         bar	]	};

    include "level3(ralt_switch)"
};

// Turkmen Alt-Q Layout
// This layout provides turkmen letter via the AltGr key
partial
xkb_symbols "alt" {
    name[Group1]="Turkmenistan - Alt-Q";

    include "us"

    key <AD06> {	[	  y,	Y,	yacute,		Yacute		]	};
    key <AD07> {	[	  u,	U,	udiaeresis,	Udiaeresis	]	};
    key <AD09> {	[	  o,	O,	odiaeresis,	Odiaeresis	]	};

    key <AC01> {	[	  a,	A,	adiaeresis,	Adiaeresis	]	};
    key <AC02> {	[	  s,	S,	scedilla,	Scedilla	]	};

    key <AB01> {	[	  z,	Z,	zcaron,		Zcaron		]	};
    key <AB03> {	[  	  c,	C,	ccedilla,	Ccedilla	]	};
    key <AB06> {	[	  n,	N,	ncaron,		Ncaron		]	};

    include "level3(ralt_switch)"

};

