
// based on
// XKB keyboard by Hrafnkell Eiriksson - hkelle@rhi.hi.is
//     fixes by Olafur Osvaldsson - oli@isnic.is
//
// $XFree86: xc/programs/xkbcomp/symbols/pc/is,v 1.4 2003/04/19 12:22:12 pascal Exp $

default partial alphanumeric_keys
xkb_symbols "basic" {

    include "pc/latin(type4)"

    name[Group1]="Icelandic";

    key <AE02>	{ [         2,   quotedbl,  twosuperior,    oneeighth ]	};
    key <AE04>	{ [         4,     dollar,   onequarter,     currency ]	};
    key <AE11>	{ [odiaeresis, Odiaeresis,    backslash, questiondown ]	};
    key <AE12>	{ [     minus, underscore,     ccedilla,  dead_ogonek ]	};

    key <AD11>	{ [       eth,        ETH, dead_diaeresis, dead_abovering ] };
    key <AD12>	{ [apostrophe,   question,   asciitilde,  dead_macron ]	};

    key <AC10>	{ [        ae,         AE,  asciicircum, dead_doubleacute ] };
    key <AC11>	{ [dead_acute, Adiaeresis, dead_circumflex, dead_caron]	};
    key <TLDE>	{ [    degree,  diaeresis,      notsign,      notsign ]	};

    key <BKSL>	{ [      plus,   asterisk,        grave,   dead_breve ]	};
    key <AB10>	{ [     thorn,      THORN, dead_belowdot, dead_abovedot ] };

    include "level3(ralt_switch_multikey)"
};

partial alphanumeric_keys
xkb_symbols "Sundeadkeys" {

    // modify the default Icelandic layout to use Sun dead keys

    include "pc/is(basic)"

    key <TLDE>	{ [SunFA_Circum,     degree,      notsign,    notsign ]	};
    key <AE12>	{ [SunFA_Acute, SunFA_Grave, SunFA_Cedilla, SunFA_Cedilla ] };
    key <AD11>	{ [udiaeresis, Udiaeresis, SunFA_Diaeresis, SunFA_Diaeresis ] };
    key <AD12>	{ [      plus,   asterisk,  SunFA_Tilde,  dead_macron ]	};
    key <AC10>	{ [odiaeresis, Odiaeresis,  SunFA_Acute,  SunFA_Acute ]	};
    key <AC11>	{ [adiaeresis, Adiaeresis, SunFA_Circum, SunFA_Circum ]	};
    key <BKSL>	{ [numbersign,      acute,  SunFA_Grave,  SunFA_Grave ]	};
};

partial alphanumeric_keys
xkb_symbols "nodeadkeys" {

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

    include "pc/is(basic)"

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