// $XConsortium: se /main/3 1996/08/31 12:20:15 kaleb $
// $XFree86: xc/programs/xkbcomp/symbols/se,v 3.5 1998/12/20 11:58:24 dawes Exp $
partial default alphanumeric_keys 
xkb_symbols "basic" {

    // Describes the differences between a very simple en_US
    // keyboard and a very simple Swedish(Sweden) keybaord

    name[Group1]= "Swedish";

    key <TLDE> {	[         section,         onehalf      ]	};
    key <AE02> {	[               2,        quotedbl     	],	
			[	       at,	 oneeighth	]	};
    key <AE03> {	[               3,      numbersign      ],	
			[        sterling,        sterling	]	};
    key <AE04> {	[               4,        currency     	],	
			[	   dollar,	    dollar	]	};
    key <AE06> {	[               6,       ampersand     	]	};
    key <AE07> {	[               7,           slash     	]	};
    key <AE08> {	[               8,       parenleft     	]	};
    key <AB08> {	[           comma,       semicolon     	]	};
    key <AE09> {	[               9,      parenright     	]	};
    key <AB09> {	[          period,           colon     	]	};
    key <AE10> {	[               0,           equal     	]	};
    key <AB10> {	[           minus,      underscore     	]	};
    key	<AC10> {	[      odiaeresis,      Odiaeresis     	]	};
    key <AE11> {	[            plus,        question      ]	};
    key <AC11> {	[      adiaeresis,      Adiaeresis 	]	};
    key <AD11> {	[	    aring,           Aring     	]	};
    key <AE12> {	[      dead_acute,      dead_grave	]	};
    key <AD12> {	[  dead_diaeresis,     asciicircum     	]	};
    key <BKSL> {	[      apostrophe,        asterisk	]	};
    key <LSGT> {        [            less,         greater      ],
                        [             bar,       brokenbar      ]       };
    key <KPDL> {	[	KP_Delete,    KP_Separator	]	};

    // End alphanumeric section

    // begin modifier mappings
    
    modifier_map Shift  { Shift_L };
    modifier_map Lock   { Caps_Lock };
    modifier_map Control{ Control_L };
    modifier_map Mod3   { Mode_switch };
};

partial alphanumeric_keys 
xkb_symbols "Sundeadkeys" {
    include "se(basic)" // for consistent naming
};

partial alphanumeric_keys
xkb_symbols "fixdollar" {
//    key <AE04> {	[               4,        currency     	],	
//			[	   dollar,	    dollar	]	};
  override key <AE04> {	[		4,	    dollar	],
			  [	   dollar,	  currency	] 	};
};

partial alphanumeric_keys 
xkb_symbols "sundeadkeys" {
    include "se(Sundeadkeys)" // for consistent naming
};

partial alphanumeric_keys 
xkb_symbols "nodeadkeys" {

    // Modifies the basic Swedish layout to eliminate all dead keys

    include "se(basic)"
    key <AE12> {	[           acute,           grave	]	};
    key <AD12> {	[       diaeresis,     asciicircum     	]	};
};
