// $XdotOrg$
// 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.3 2002/11/26 01:57:25 dawes Exp $

default partial alphanumeric_keys
xkb_symbols "basic" {

    include "pc/latin(type4)"

    name[Group1]="Iceland";

    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)"
};

partial alphanumeric_keys
xkb_symbols "Sundeadkeys" {

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

    include "pc/is(basic)"
    name[Group1]="Iceland - Sun dead keys";

    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 basic Icelandic layout to not have any dead keys

    include "pc/is(basic)"
    name[Group1]="Iceland - Eliminate dead keys";

    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 ]	};
};
