2 // Copyright 2010 Sun Microsystems, Inc. All rights reserved.
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.
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.
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.
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.
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.
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]
51 partial alphanumeric_keys
54 name[Group1]="Portugal";
56 key <LSGT> { [ less, greater ] };
57 key <TLDE> { [ backslash, bar ] };
58 key <AE02> { [ 2, quotedbl, at ] };
59 key <AE03> { [ 3, numbersign, sterling ] };
60 key <AE04> { [ 4, dollar, section ] };
61 key <AE05> { [ 5, percent, asciitilde ] };
62 key <AE06> { [ 6, ampersand, asciicircum ] };
63 key <AE07> { [ 7, slash, braceleft ] };
64 key <AE08> { [ 8, parenleft, bracketleft ] };
65 key <AE09> { [ 9, parenright, bracketright ] };
66 key <AE10> { [ 0, equal, braceright ] };
67 key <AE11> { [ quoteright, question, quoteleft ] };
68 key <AE12> { [ guillemotleft, guillemotright ] };
69 key <AD03> { [ e, E, EuroSign ] };
70 key <AD11> { [ plus, asterisk, dead_diaeresis ] };
71 key <AD12> { [ dead_acute, dead_grave ] };
72 key <BKSL> { [ dead_tilde, dead_circumflex ] };
73 key <AC10> { [ ccedilla, Ccedilla ] };
74 key <AC11> { [ masculine, ordfeminine ] };
75 key <AB08> { [ comma, semicolon ] };
76 key <AB09> { [ period, colon ] };
77 key <AB10> { [ minus, underscore ] };
79 include "level3(ralt_switch)"
83 partial alphanumeric_keys
86 name[Group1]="Portugal - Sun type 4";
88 key <BKSL> { [ bracketleft, braceleft, guillemotleft] };
89 key <BRCR> { [ bracketright, braceright, guillemotright] };
90 key <AE02> { [ 2, quotedbl, at ] };
91 key <AE03> { [ 3, numbersign, sterling ] };
92 key <AE04> { [ 4, dollar, section ] };
93 key <AE06> { [ 6, ampersand, notsign ] };
94 key <AE07> { [ 7, slash ] };
95 key <AE08> { [ 8, parenleft ] };
96 key <AE09> { [ 9, parenright, backslash ] };
97 key <AE10> { [ 0, equal, bar ] };
98 key <AE11> { [ quoteright, question, quoteleft ] };
99 key <AE12> { [ exclamdown, questiondown ] };
100 key <AD03> { [ e, E, EuroSign ] };
101 key <AD11> { [ dead_diaeresis, asterisk, plus ] };
102 key <AD12> { [ dead_acute, dead_grave, asciitilde ] };
103 key <LCTL> { [ Caps_Lock ] };
104 key <AC10> { [ ccedilla, Ccedilla ] };
105 key <AC11> { [ masculine, ordfeminine] };
106 key <TLDE> { [ dead_tilde, dead_circumflex, asciicircum ] };
107 key <LSGT> { [ less, greater ] };
108 key <AB08> { [ comma, semicolon ] };
109 key <AB09> { [ period, colon ] };
110 key <AB10> { [ minus, underscore ] };
111 key <CAPS> { [ Control_L ] };
113 include "level3(ralt_switch)"
118 partial alphanumeric_keys
119 xkb_symbols "type5" {
121 name[Group1]="Portugal - Sun type 5";
123 key <TLDE> { [ backslash, bar ] };
124 key <AE05> { [ 5, percent, asciitilde ]};
125 key <AE06> { [ 6, ampersand, asciicircum ]};
126 key <AE07> { [ 7, slash, braceleft ]};
127 key <AE08> { [ 8, parenleft, bracketleft ]};
128 key <AE09> { [ 9, parenright, bracketright ]};
129 key <AE10> { [ 0, equal, braceright ]};
130 key <AE11> { [ quoteright, question, quoteleft ]};
132 key <AD11> { [ plus, asterisk, dead_diaeresis ]};
134 include "level3(ralt_switch)"
139 partial default alphanumeric_keys
140 xkb_symbols "basic" {
141 include "sun_vndr/pt(type6)"