// $XKeyboardConfig: xkbdesc/xkeyboard-config/symbols/gr,v 1.9 2007-05-02 21:48:13 svu Exp $

// $XFree86: xc/programs/xkbcomp/symbols/el,v 1.2 2002/11/15 02:26:41 dawes Exp $
//
// Hellenic keyboard map for XFree86
// Original version:
//	Kostas Gewrgiou <gewrgiou@imbc.gr>
// Heavily modified and maintained by:
//	Vasilis Vasaitis <vvas@hal.csd.auth.gr>
// Originally converted to single group form by:
//	Ivan Pascal <pascal@info.tsu.ru>

default partial alphanumeric_keys alternate_group
xkb_symbols "basic" {

    include "gr(bare)"

    name[Group1] = "Greece";

    key <TLDE> {	[     grave,	asciitilde	]	};
    key <AE01> {	[	  1,	exclam 		]	};
    key <AE02> {	[	  2,	at		]	};
    key <AE03> {	[	  3,	numbersign	]	};
    key <AE04> {	[	  4,	dollar		]	};
    key <AE05> {	[	  5,	percent		]	};
    key <AE06> {	[	  6,	asciicircum	]	};
    key <AE07> {	[	  7,	ampersand	]	};
    key <AE08> {	[	  8,	asterisk	]	};
    key <AE09> {	[	  9,	parenleft	]	};
    key <AE10> {	[	  0,	parenright	]	};
    key <AE11> {	[     minus,	underscore	]	};
    key <AE12> {	[     equal,	plus		]	};

    key <AD11> {	[ bracketleft,	braceleft	]	};
    key <AD12> {	[ bracketright,	braceright	]	};

    key <AC11> {	[ apostrophe,	quotedbl	]	};

    key <AB08> {	[     comma,	less		]	};
    key <AB09> {	[    period,	greater		]	};
    key <AB10> {	[     slash,	question	]	};
    key <BKSL> {	[ backslash,	bar		]	};

    include "keypad(comma)"
};

hidden partial alphanumeric_keys alternate_group
xkb_symbols "bare" {

    key <AD01> { [	semicolon,		colon		] };
    key <AD02> { [	Greek_finalsmallsigma,	Greek_SIGMA	] };
    key <AD03> { [	Greek_epsilon,		Greek_EPSILON	] };
    key <AD04> { [	Greek_rho,		Greek_RHO	] };
    key <AD05> { [	Greek_tau,		Greek_TAU	] };
    key <AD06> { [	Greek_upsilon,		Greek_UPSILON	] };
    key <AD07> { [	Greek_theta,		Greek_THETA	] };
    key <AD08> { [	Greek_iota,		Greek_IOTA	] };
    key <AD09> { [	Greek_omicron,		Greek_OMICRON	] };
    key <AD10> { [	Greek_pi,		Greek_PI	] };

    key <AC01> { [	Greek_alpha,		Greek_ALPHA	] };
    key <AC02> { [	Greek_sigma,		Greek_SIGMA	] };
    key <AC03> { [	Greek_delta,		Greek_DELTA	] };
    key <AC04> { [	Greek_phi,		Greek_PHI	] };
    key <AC05> { [	Greek_gamma,		Greek_GAMMA	] };
    key <AC06> { [	Greek_eta,		Greek_ETA	] };
    key <AC07> { [	Greek_xi,		Greek_XI	] };
    key <AC08> { [	Greek_kappa,		Greek_KAPPA	] };
    key <AC09> { [	Greek_lamda,		Greek_LAMDA	] };
    key <AC10> { [	dead_acute,		dead_diaeresis	] };

    key <AB01> { [	Greek_zeta,		Greek_ZETA	] };
    key <AB02> { [	Greek_chi,		Greek_CHI	] };
    key <AB03> { [	Greek_psi,		Greek_PSI	] };
    key <AB04> { [	Greek_omega,		Greek_OMEGA	] };
    key <AB05> { [	Greek_beta,		Greek_BETA	] };
    key <AB06> { [	Greek_nu,		Greek_NU	] };
    key <AB07> { [	Greek_mu,		Greek_MU	] };

    key <LSGT> { [	guillemotleft,		guillemotright	] };

};

partial alphanumeric_keys alternate_group
xkb_symbols "extended" {

    include "gr(basic)"

    name[Group1] = "Greece - Extended";

    key.type[Group1] = "THREE_LEVEL";

    key <AE05> { [	5,		percent,	EuroSign	] };

    key <AD01> { [	semicolon,	colon,		periodcentered	] };
    key <AD03> { [	Greek_epsilon,	Greek_EPSILON,	EuroSign	] };

    key <AB08> { [	comma,		less,		guillemotleft	] };
    key <AB09> { [	period,		greater,	guillemotright	] };

    include "level3(ralt_switch)"
};

partial alphanumeric_keys alternate_group
xkb_symbols "polytonic" {

    include "gr(extended)"

    name[Group1] = "Greece - Polytonic";

    key.type[Group1] = "THREE_LEVEL";

    key <AD11> { [ 	dead_tilde,	dead_diaeresis,	dead_macron	] };
    key <AD12> { [	dead_iota,	VoidSymbol,	dead_breve	] };

    key <AC10> { [	dead_acute,		U0313	] };
    key <AC11> { [	dead_grave,		U0314	] };

};

partial alphanumeric_keys alternate_group
xkb_symbols "nodeadkeys" {

    include "gr(basic)"

    name[Group1] = "Greece - Eliminate dead keys";

    key <AC10> { [	semicolon,		colon		] };

};

