




default partial alphanumeric_keys
xkb_symbols "basic" {

    include "latin"

    name[Group1]="Maltese";

    
    key <AE02> { [         2,   quotedbl,  twosuperior,     oneeighth ] };
    key <AE04> { [         4,     dollar,     EuroSign,    onequarter ] };
    key <AC11> { [apostrophe,         at, dead_circumflex, dead_caron ] };
    key <BKSL> { [numbersign, asciitilde,   dead_grave,    dead_breve ] };

    
    key <TLDE>	{ [ cabovedot,  Cabovedot,        grave,      notsign ]	};
    key <AD11>	{ [ gabovedot,  Gabovedot,  bracketleft,    braceleft ]	};
    key <AD12>	{ [   hstroke,    Hstroke, bracketright,   braceright ]	};
    key <LSGT>	{ [ zabovedot,  Zabovedot,    backslash,          bar ]	};

    
    key <AE03>	{ [         3,   EuroSign,     sterling               ]	};

    
    key <AE06>	{ [         6, asciicircum, dead_circumflex, dead_circumflex ]	};

    
    key <AD03>	{ [         e,          E,       egrave,       Egrave ]	};
    key <AD07>	{ [         u,          U,       ugrave,       Ugrave ]	};
    key <AD08>	{ [         i,          I,       igrave,       Igrave ]	};
    key <AD09>	{ [         o,          O,       ograve,       Ograve ]	};
    key <AC01>	{ [         a,          A,       agrave,       Agrave ]	};

    include "level3(ralt_switch)"
};




partial alphanumeric_keys
xkb_symbols "us" {

    include "latin"

    name[Group1]="Maltese (US)";

    key <TLDE>	{ [ cabovedot,  Cabovedot,        grave,   asciitilde ]	};
    key <AD11>	{ [ gabovedot,  Gabovedot,  bracketleft,    braceleft ]	};
    key <AD12>	{ [   hstroke,    Hstroke, bracketright,   braceright ]	};
    key <LSGT>	{ [ zabovedot,  Zabovedot,    backslash,          bar ]	};
    key <BKSL>	{ [ zabovedot,  Zabovedot,    backslash,          bar ]	};

    key <AE03>	{ [         3,   EuroSign,     numbersign             ]	};

    key <AE06>	{ [         6, asciicircum, dead_circumflex, dead_circumflex ]	};

    key <AD03>	{ [         e,          E,       egrave,       Egrave ]	};
    key <AD07>	{ [         u,          U,       ugrave,       Ugrave ]	};
    key <AD08>	{ [         i,          I,       igrave,       Igrave ]	};
    key <AD09>	{ [         o,          O,       ograve,       Ograve ]	};
    key <AC01>	{ [         a,          A,       agrave,       Agrave ]	};

    include "level3(ralt_switch)"
};




partial alphanumeric_keys
xkb_symbols "alt-us" {

    include "us(basic)"

    name[Group1]="Maltese (US, with AltGr overrides)";

    
    key <AE03>  { [         3,  numbersign,    sterling,     NoSymbol ] };
    key <AE04>  { [         4,     dollar,     EuroSign,     NoSymbol ] };

    
    key <AC05>  { [         g,          G,    gabovedot,    Gabovedot ] };
    key <AC06>  { [         h,          H,      hstroke,      Hstroke ] };
    key <AB01>  { [         z,          Z,    zabovedot,    Zabovedot ] };
    key <AB03>  { [         c,          C,    cabovedot,    Cabovedot ] };

    
    key <AD03>  { [         e,          E,       egrave,       Egrave ] };
    key <AD07>  { [         u,          U,       ugrave,       Ugrave ] };
    key <AD08>  { [         i,          I,       igrave,       Igrave ] };
    key <AD09>  { [         o,          O,       ograve,       Ograve ] };
    key <AC01>  { [         a,          A,       agrave,       Agrave ] };

    
    key <TLDE>  { [     grave,  asciitilde,  dead_grave,   dead_tilde ] };
    key <AE06>  { [         6, asciicircum,    NoSymbol, dead_circumflex ] };
    key <AC11>  { [ apostrophe,   quotedbl,  dead_acute, dead_diaeresis ] };

    include "level3(ralt_switch)"
};




partial alphanumeric_keys
xkb_symbols "alt-gb" {

    include "gb(basic)"

    name[Group1]="Maltese (UK, with AltGr overrides)";

    key <AE03>  { [         3,   sterling,   numbersign,     NoSymbol ] };
    key <AE04>  { [         4,     dollar,     EuroSign,     NoSymbol ] };

    key <AC05>  { [         g,          G,    gabovedot,    Gabovedot ] };
    key <AC06>  { [         h,          H,      hstroke,      Hstroke ] };
    key <AB01>  { [         z,          Z,    zabovedot,    Zabovedot ] };
    key <AB03>  { [         c,          C,    cabovedot,    Cabovedot ] };

    key <AD03>  { [         e,          E,       egrave,       Egrave ] };
    key <AD07>  { [         u,          U,       ugrave,       Ugrave ] };
    key <AD08>  { [         i,          I,       igrave,       Igrave ] };
    key <AD09>  { [         o,          O,       ograve,       Ograve ] };
    key <AC01>  { [         a,          A,       agrave,       Agrave ] };

    key <TLDE>  { [     grave,     notsign,  dead_grave,     NoSymbol ] };
    key <AE02>  { [         2,    quotedbl,    NoSymbol, dead_diaeresis ] };
    key <AE06>  { [         6, asciicircum,    NoSymbol, dead_circumflex ] };
    key <AC11>  { [ apostrophe,         at,  dead_acute,     NoSymbol ] };
    key <BKSL>  { [numbersign,  asciitilde,    NoSymbol,   dead_tilde ] };

    include "level3(ralt_switch)"
};
