no revision c067fea9
1// 2// Copyright 2010 Sun Microsystems, Inc. All rights reserved. 3// 4// Permission is hereby granted, free of charge, to any person obtaining a 5// copy of this software and associated documentation files (the 6// "Software"), to deal in the Software without restriction, including 7// without limitation the rights to use, copy, modify, merge, publish, 8// distribute, and/or sell copies of the Software, and to permit persons 9// to whom the Software is furnished to do so, provided that the above 10// copyright notice(s) and this permission notice appear in all copies of 11// the Software and that both the above copyright notice(s) and this 12// permission notice appear in supporting documentation. 13// 14// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 15// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 17// OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 18// HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL 19// INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING 20// FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 21// NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 22// WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 23// 24// Except as contained in this notice, the name of a copyright holder 25// shall not be used in advertising or otherwise to promote the sale, use 26// or other dealings in this Software without prior written authorization 27// of the copyright holder. 28// 29 30// 31// CDDL HEADER START 32// 33// The contents of this file are subject to the terms of the 34// Common Development and Distribution License (the "License"). 35// You may not use this file except in compliance with the License. 36// 37// You can obtain a copy of the license at src/OPENSOLARIS.LICENSE 38// or http://www.opensolaris.org/os/licensing. 39// See the License for the specific language governing permissions 40// and limitations under the License. 41// 42// When distributing Covered Code, include this CDDL HEADER in each 43// file and include the License file at src/OPENSOLARIS.LICENSE. 44// If applicable, add the following below this CDDL HEADER, with the 45// fields enclosed by brackets "[]" replaced with your own identifying 46// information: Portions Copyright [yyyy] [name of copyright owner] 47// 48// CDDL HEADER END 49// 50 51partial alphanumeric_keys 52xkb_symbols "type6" { 53 54 name[Group1]="Norway"; 55 56 key <TLDE> { [ bar, section ] }; 57 key <LSGT> { [ less, greater ] }; 58 key <BKSL> { [ apostrophe, asterisk, grave ] }; 59 key <AE02> { [ 2, quotedbl, at ] }; 60 key <AE03> { [ 3, numbersign, sterling ] }; 61 key <AE04> { [ 4, currency, dollar ] }; 62 key <AE05> { [ 5, percent, asciitilde ] }; 63 key <AE06> { [ 6, ampersand, asciicircum ] }; 64 key <AE07> { [ 7, slash, braceleft ] }; 65 key <AE08> { [ 8, parenleft, bracketleft ] }; 66 key <AE09> { [ 9, parenright, bracketright ] }; 67 key <AE10> { [ 0, equal, braceright ] }; 68 key <AE11> { [ plus, question ] }; 69 key <AE12> { [ backslash, dead_grave, dead_acute ] }; 70 key <AD03> { [ e, E, EuroSign ] }; 71 key <AD11> { [ aring, Aring ] }; 72 key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde ] }; 73 key <AC10> { [ oslash, Oslash ] }; 74 key <AC11> { [ ae, AE ] }; 75 key <AB08> { [ comma, semicolon ] }; 76 key <AB09> { [ period, colon ] }; 77 key <AB10> { [ minus, underscore ] }; 78 79 include "level3(ralt_switch)" 80 include "kpdl(comma)" 81 82}; 83 84partial alphanumeric_keys 85xkb_symbols "type4" { 86 87 name[Group1]="Norway - Sun type 4"; 88 89 key <BKSL> { [ bar, section ] }; 90 key <BRCR> { [ asciitilde, asciicircum] }; 91 key <AE02> { [ 2, quotedbl, at ] }; 92 key <AE03> { [ 3, numbersign, sterling ] }; 93 key <AE04> { [ 4, currency, dollar ] }; 94 key <AE06> { [ 6, ampersand ] }; 95 key <AE07> { [ 7, slash, braceleft ] }; 96 key <AE08> { [ 8, parenleft, bracketleft ] }; 97 key <AE09> { [ 9, parenright, bracketright] }; 98 key <AE10> { [ 0, equal, braceright ] }; 99 key <AE11> { [ plus, question ] }; 100 key <AE12> { [ backslash, dead_grave, dead_acute ] }; 101 key <AD03> { [ e, E, EuroSign ] }; 102 key <AD11> { [ aring, Aring ] }; 103 key <AD12> { [ dead_diaeresis, dead_circumflex, dead_tilde ] }; 104 key <LCTL> { [ Caps_Lock ] }; 105 key <AC10> { [ Ooblique ] }; 106 key <AC11> { [ ae, AE ] }; 107 key <TLDE> { [ quoteright, asterisk, quoteleft ] }; 108 key <LSGT> { [ less, greater ] }; 109 key <AB08> { [ comma, semicolon ] }; 110 key <AB09> { [ period, colon ] }; 111 key <AB10> { [ minus, underscore ] }; 112 key <CAPS> { [ Control_L ] }; 113 114 include "level3(ralt_switch)" 115 include "kpdl(comma)" 116 117}; 118 119 120partial alphanumeric_keys 121xkb_symbols "type5" { 122 123 name[Group1]="Norway - Sun type 5"; 124 125 key <AE05> { [ 5, percent, asciitilde ] }; 126 key <AE06> { [ 6, ampersand, asciicircum ] }; 127 key <AE07> { [ 7, slash, braceleft ] }; 128 key <AE08> { [ 8, parenleft, bracketright ] }; 129 key <AE09> { [ 9, parenright, bracketright ] }; 130 key <AE10> { [ 0, equal, braceright ] }; 131 132 key <BKSL> { [ quoteright, asterisk, quoteleft ] }; 133 key <LSGT> { [ less, greater ] }; 134 135 include "level3(ralt_switch)" 136 include "kpdl(comma)" 137 138}; 139 140 141partial default alphanumeric_keys 142 xkb_symbols "basic" { 143 include "sun_vndr/no(type6)" 144}; 145 146