//
// CDDL HEADER START
//
// The contents of this file are subject to the terms of the
// Common Development and Distribution License (the "License").
// You may not use this file except in compliance with the License.
//
// You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
// or http://www.opensolaris.org/os/licensing.
// See the License for the specific language governing permissions
// and limitations under the License.
//
// When distributing Covered Code, include this CDDL HEADER in each
// file and include the License file at src/OPENSOLARIS.LICENSE.
// If applicable, add the following below this CDDL HEADER, with the
// fields enclosed by brackets "[]" replaced with your own identifying
// information: Portions Copyright [yyyy] [name of copyright owner]
//
// CDDL HEADER END
//

// $XConsortium: no /main/3 1996/08/31 12:20:02 kaleb $
partial default alphanumeric_keys 
xkb_symbols "basic" {

    // Describes the differences between a very simple en_US
    // keyboard and a very simple Norvegian keybaord

    name[Group1]= "Norwegian";

    key <TLDE> {	[             bar,         section      ]	};
    key <AE02> {	[               2,        quotedbl     	],	
			[	       at,	 oneeighth	]	};
    key <AE04> {	[	        4,        currency	],
			[	   dollar,	    dollar	]	};
    key <AE03> {	[               3,	numbersign 	],
			[        sterling,        sterling	]	};
    key <AE05> {	[               5,       percent    	]
	                [	    tilde			]};
    key <AE06> {	[               6,       ampersand     	]	};
			[	    circumflex	 		]};
    key <AE07> {	[               7,           slash     	]	};
    key <AE08> {	[               8,       parenleft     	]	};
    key <AB08> {	[           comma,       semicolon     	]	};
    key <AE10> {	[               0,           equal     	]	};
    key <AE09> {	[               9,      parenright     	]	};
    key <AB09> {	[          period,           colon     	]	};
    key <AB10> {	[           minus,      underscore     	]	};
    key	<AC10> {	[	   oslash,        Ooblique  	]	};
    key <AE11> {	[            plus,        question      ]	};
			[	    grave	 		]};
    key <AC11> {	[              ae,              AE 	]	};
    key <AD11> {	[	    aring,           Aring     	]	};
    key <AE12> {	[       backslash,           grave	],
			[	    acute,     dead_ogonek 	]	};
    key <AD12> {	[       diaeresis,     asciicircum     	],	
			[      asciitilde,     dead_macron     	]      	};
    key <BKSL> {	[      apostrophe,        asterisk	]	};

    // 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 "nodeadkeys" {

    // Modifies the basic Norwegian layout to eliminate dead keys

    key <AE12> {	[       backslash,           grave	],
			[	    acute,          ogonek 	]	};
    key <AD12> {	[       diaeresis,     asciicircum     	],	
			[      asciitilde,          macron     	]      	};

};
