
// based on a keyboard map from an 'xkb/symbols/de' file
// Written by Eduard Werner.
// $XFree86: xc/programs/xkbcomp/symbols/pc/hsb,v 1.2 2004/05/08 07:26:54 pascal Exp $

partial default alphanumeric_keys
xkb_symbols "qwertz" {

    include "pc/latin(type4)"

    name[Group1]="Sorbian";

    key <AE02>	{ [         2,   quotedbl,  twosuperior,    oneeighth ]	};
    key <AE03>	{ [         3,    section, threesuperior,    sterling ]	};
    key <AE04>	{ [         4,     dollar,   onequarter,     currency ]	};
    key <AE11>	{ [    ssharp,   question,    backslash, questiondown ]	};
    key <AE12>	{ [dead_acute, dead_grave, dead_cedilla,  dead_ogonek ]	};

    key <AD03>	{ [         e,          E,     EuroSign,     EuroSign ]	};
    key <AD06>	{ [         z,          Z,    leftarrow,          yen ]	};
    key <AD11>	{ [udiaeresis, Udiaeresis, dead_diaeresis, dead_abovering ] };
    key <AD12>	{ [      plus,   asterisk,   dead_tilde,  dead_macron ]	};

    key <AC10>	{ [odiaeresis, Odiaeresis, dead_doubleacute, dead_doubleacute ] };
    key <AC11>	{ [adiaeresis, Adiaeresis, dead_circumflex, dead_caron]	};
    key <TLDE>	{ [dead_caron, dead_circumflex, degree,      notsign ]	};

    key <BKSL>	{ [lstroke, Lstroke, numbersign, apostrophe ]	};
    key <AB01>	{ [         y,          Y, guillemotleft,        less ]	};

    key <KPDL>	{ [ KP_Delete, KP_Separator                           ]	};

    include "level3(ralt_switch_multikey)"
};

partial default alphanumeric_keys
xkb_symbols "qwerty" {

    include "pc/hsb(qwertz)"
    key <AD06>	{ [         y,          Y,    leftarrow,          yen ]	};
    key <AB01>	{ [         z,          Z, guillemotleft,        less ]	};
};

partial alphanumeric_keys
xkb_symbols "nodeadkeys" {

    // modify the default German layout to not have any dead keys

    include "pc/de(basic)"

    key <TLDE>	{ [asciicircum,    degree,      notsign,      notsign ]	};
    key <AE12>	{ [     acute,      grave,      cedilla,      cedilla ]	};
    key <AD11>	{ [udiaeresis, Udiaeresis,    diaeresis,    diaeresis ]	};
    key <AD12>	{ [      plus,   asterisk,   asciitilde,       macron ]	};
    key <AC10>	{ [odiaeresis, Odiaeresis,  doubleacute,  doubleacute ]	};
    key <AC11>	{ [adiaeresis, Adiaeresis,  asciicircum,  asciicircum ]	};
    key <BKSL>	{ [numbersign, apostrophe,        grave,        grave ]	};
    key <AB10>	{ [     minus, underscore, dead_belowdot,    abovedot ]	};
};

partial alphanumeric_keys
xkb_symbols "deadgraveacute" {
    // modify the default German layout to have only acute and grave
    // as dead keys (tilde and circumflex are needed as spacing characters
    // in many programming languages)

    include "pc/de(basic)"

    key <TLDE>	{ [asciicircum,    degree,      notsign,      notsign ]	};
    key <AD12>	{ [      plus,   asterisk,   asciitilde,  dead_macron ]	};
    key <BKSL>	{ [numbersign, apostrophe,        grave,        grave ]	};
};

partial alphanumeric_keys
xkb_symbols "deadacute" {
    // modify the default German layout to have only acute as
    // dead keys (ASCII grave, tilde and circumflex are needed as
    // spacing characters in many programming languages and text formatters)

    include "pc/de(deadgraveacute)"

    key <AE12>	{ [dead_acute,      grave, dead_cedilla,  dead_ogonek ]	};
    key <BKSL>	{ [numbersign, apostrophe,   dead_grave,   dead_grave ]	};
};
