// German NEO Eurokeys-Style
// adopted 2004 by Hanno Behrens <Hanno.Behrens@gmx.de>
// inspired by Dvorak/de-ergo  http://www.goebel-consult.de/de-ergo/
// Modifications: []{}()%$\="* at nicer places, whole Greek alphabet
// available (except digamma)

partial default alphanumeric_keys 
xkb_symbols "neo" {

    //include "pc/de(basic)"
    include "pc/dvorak(basic)"
    //include "pc/latin(type4)"
    include "level3(ralt_switch_multikey)"

    name[Group1]= "German Neostyle";

    key <TLDE> { [ circumflex, degree, notsign, paragraph	] };

    key <AE01> { [	    1,	exclam, onesuperior	] };
    key <AE02> { [	    2,	quotedbl, twosuperior ] };
    key <AE03> { [	    3,	paragraph, sterling, threesuperior ] };
    key <AE04> { [	    4,	Greek_alpha,    Greek_ALPHA, onequarter	] };
    key <AE05> { [	    5,	equal,    bar,	onehalf	] };
    key <AE06> { [	    6,	ampersand,  brokenbar, threequarters ] };
    key <AE07> { [	    7,	slash, division	] };
    key <AE08> { [	    8,	Greek_theta,  Greek_THETA, guillemotleft ] };
    key <AE09> { [	    9,	Greek_rho, Greek_RHO, guillemotright ] };
    key <AE10> { [	    0,	Greek_omega,	 Greek_OMEGA	] };
    key <AE11> { [	minus,	underscore, hyphen, dead_diaeresis	 ] };
    key <AE12> { [ acute,grave,   cedilla, ogonek  ] };

    key <AD01> { [ 	    q,  Q,	at			 ] };
    key <AD02> { [	    v,	V,	quotedbl, ordfeminine   ] };
    key <AD03> { [	    l,	L,      parenleft, Lstroke	 ] };
    key <AD04> { [	    c,	C,      parenright,copyright	 ] };
    key <AD05> { [	    w,	W,	percent ] };
    key <AD06> { [	    k,	K,	Greek_kappa, Greek_KAPPA ] };
    key <AD07> { [	    h,	H,      Greek_eta, Greek_ETA ] };
    key <AD08> { [	    g,	G, 	Greek_gamma, Greek_GAMMA ] };
    key <AD09> { [	    f,	F,      Greek_omicron, Greek_OMICRON ] };
    key <AD10> { [	    j,	J,	Greek_iota, Greek_IOTA	 ] };
    key <AD11> { [  ssharp, question, 	backslash, questiondown  ] };
    key <AD12> { [ 	asterisk,	plus,  tilde,	plusminus ] };

    key <AC01> { [	    u,	U,	bracketleft ] };
    key <AC02> { [	    i,	I,      bracketright ] };
    key <AC03> { [	    a,	A,      braceleft ] };
    key <AC04> { [	    e,	E,      braceright,	euro	 ] };
    key <AC05> { [	    o,	O,	dollar ] };
    key <AC06> { [	    s,	S,      Greek_sigma, Greek_SIGMA ] };
    key <AC07> { [	    n,	N,	Greek_nu, Greek_NU	 ] };
    key <AC08> { [	    r,	R,      Greek_pi, Greek_PI	 ] };
    key <AC09> { [	    t,	T,      Greek_tau,	Greek_TAU	 ] };
    key <AC10> { [	    d,	D,      Greek_delta,	Greek_DELTA	 ] };
    key <AC11> { [	    y,	Y,      Greek_upsilon, Greek_UPSILON	 ] };
    key <BKSL> { [ numbersign, apostrophe, grave		 ] };

    
    key <LSGT> { [  less, greater, 	bar	] };
    key <AB01> { [ odiaeresis, Odiaeresis, Greek_epsilon, Greek_EPSILON	 ] };
    key <AB02> { [ udiaeresis,Udiaeresis, Greek_lambda, Greek_LAMBDA ] };  
    key <AB03> { [ adiaeresis, Adiaeresis, Greek_xi, Greek_XI		 ] };
    key <AB04> { [	    p,	P,      backslash,	THORN		 ] };
    key <AB05> { [	    z,	Z,	Greek_zeta, Greek_ZETA	 ] };
    key <AB06> { [	    b,	B,	Greek_beta, Greek_BETA	 ] };
    key <AB07> { [	    m,	M,	Greek_mu, Greek_MU			 ] };
    key <AB08> { [	comma,	semicolon, Greek_phi, Greek_PHI ] };
    key <AB09> { [      period,	colon,  Greek_psi, Greek_PSI	 ] };
    key <AB10> { [	    x,	X,      Greek_chi, Greek_CHI	 ] };

    key <SPCE> { [	 space,	space, nobreakspace, nobreakspace ] };

    
    // End "Editing" section, begin "Keypad"
//    key <NMLK> {	[  Num_Lock, Pointer_EnableKeys		]	};

// Ungrab cancels server/keyboard/pointer grabs
//    key <KPDV> {  [KP_Divide, KP_Divide, division]  };

// ClsGrb kills whichever client has a grab in effect
//    key <KPMU> {  [KP_Multiply, KP_Multiply, periodcentered]  };

// -VMode switches to the previous video mode
//    key <KPSU> { [ KP_Subtract, KP_Subtract, notsign]   };

    key  <KP7> {	[  KP_Home,	KP_7, seveneighths, oneeighth	]	};
    key  <KP8> {	[  KP_Up,	KP_8, uparrow, fiveeighths	]	};
    key  <KP9> {	[  KP_Prior,	KP_9, threeeighths, threeeighths ]	};

// +VMode switches to the next video mode
//    key <KPAD> {	[  KP_Add, KP_Add, plusminus ]    };

    key  <KP4> {	[  KP_Left,	KP_4, leftarrow, onequarter		]	};
    key  <KP5> {	[  KP_Begin,	KP_5, dagger, onehalf 			]	};
    key  <KP6> {	[  KP_Right,	KP_6, rightarrow, threequarters	]	};

    key  <KP1> {	[  KP_End,	KP_1, onesuperior, onesuperior		]	};
    key  <KP2> {	[  KP_Down,	KP_2, downarrow, twosuperior		]	};
    key  <KP3> {	[  KP_Next,	KP_3, threesuperior, threesuperior	]	};
    key <KPEN> {	[  	KP_Enter	]	};
    key <KPEQ> {	[  	KP_Equal	]	};

    key  <KP0> {	[  KP_Insert,	KP_0, percent, degree			]	};
    key <KPDL> {  	[  KP_Delete,	KP_Decimal, periodcentered, comma  ]	};
    // End "Keypad" section
};
