pt revision 1.1.1.13 1 default partial alphanumeric_keys
2 xkb_symbols "basic" {
3
4 include "latin(type4)"
5 name[Group1]="Portuguese";
6
7 key <TLDE> { [ backslash, bar, notsign, notsign ] };
8 key <AE03> { [ 3, numbersign, sterling, sterling ] };
9 key <AE04> { [ 4, dollar, section, dollar ] };
10 key <AE11> { [ apostrophe, question, backslash, questiondown ] };
11 key <AE12> { [ guillemotleft, guillemotright, dead_cedilla, dead_ogonek ] };
12
13 key <AD11> { [ plus, asterisk, dead_diaeresis, dead_abovering ] };
14 key <AD12> { [ dead_acute, dead_grave, dead_tilde, dead_macron ] };
15 key <BKSL> { [ dead_tilde, dead_circumflex, dead_grave, dead_breve ] };
16
17 key <AC10> { [ ccedilla, Ccedilla, dead_acute, dead_doubleacute ] };
18 key <AC11> { [ masculine, ordfeminine,dead_circumflex, dead_caron ] };
19
20 key <LSGT> { [ less, greater, backslash, backslash ] };
21
22 include "level3(ralt_switch)"
23 };
24
25 partial alphanumeric_keys
26 xkb_symbols "nodeadkeys" {
27
28 include "pt(basic)"
29 name[Group1]="Portuguese (no dead keys)";
30
31 key <AE12> { [ guillemotleft, guillemotright, cedilla, ogonek ] };
32 key <AD11> { [ plus, asterisk, quotedbl, quotedbl ] };
33 key <AD12> { [ acute, grave ] };
34 key <BKSL> { [ asciitilde, asciicircum ] };
35 key <AC10> { [ ccedilla, Ccedilla, acute, doubleacute ] };
36 key <AC11> { [ masculine, ordfeminine, asciicircum, caron ] };
37 key <AB10> { [ minus, underscore, dead_belowdot, abovedot ] };
38 };
39
40 // Layout variant for Mac, by Ricardo Cabral <bfe00991 (a] mail.telepac.pt>.
41 partial alphanumeric_keys
42 xkb_symbols "mac" {
43
44 include "pt(basic)"
45 name[Group1]= "Portuguese (Macintosh)";
46
47 key <TLDE> { [ grave, asciitilde, notsign, notsign ] };
48 key <AE06> { [ 6, ampersand, threequarters, fiveeighths ] };
49 key <AE08> { [ 8, parenleft, bracketleft, braceleft ] };
50 key <AE09> { [ 9, parenright, bracketright, braceright ] };
51 key <AE12> { [ plus, asterisk, dead_diaeresis ] };
52 key <AD11> { [ masculine, ordfeminine ] };
53 key <BKSL> { [ backslash, bar, dead_grave, dead_breve ] };
54 key <AC11> { [ dead_tilde, dead_circumflex ] };
55 };
56
57 partial alphanumeric_keys
58 xkb_symbols "mac_nodeadkeys" {
59
60 include "pt(mac)"
61 name[Group1]= "Portuguese (Macintosh, no dead keys)";
62
63 key <AE12> { [ plus, asterisk, quotedbl, quotedbl ] };
64 key <AD12> { [ acute, grave ] };
65 key <AC11> { [ asciitilde, asciicircum ] };
66 };
67
68
69 //
70 // Portuguese Nativo layout.
71 // A Dvorak-inspired layout designed for the Portuguese language.
72 //
73 // Ari Caldeira <ari (a] tecladobrasileiro.com.br> 2005-07-19
74 //
75 partial alphanumeric_keys
76 xkb_symbols "nativo" {
77
78 name[Group1]="Portuguese (Nativo)";
79
80 key <TLDE> { [ plus, asterisk, dead_diaeresis, plusminus ] };
81 key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
82 key <AE02> { [ 2, quotedbl, at, twosuperior ] };
83 key <AE03> { [ 3, numbersign, sterling, threesuperior ] };
84 key <AE04> { [ 4, dollar, section, onequarter ] };
85 key <AE05> { [ 5, percent, cent, 0x01002030 ] };
86 key <AE06> { [ 6, ampersand, notsign, diaeresis ] };
87 key <AE07> { [ 7, slash, braceleft, 0x0100032D ] };
88 key <AE08> { [ 8, parenleft, bracketleft, 0x01000331 ] };
89 key <AE09> { [ 9, parenright, bracketright, dead_horn ] };
90 key <AE10> { [ 0, equal, braceright, dead_hook ] };
91 key <AE11> { [ masculine, ordfeminine, dead_ogonek, 0x01000326 ] };
92 key <AE12> { [ less, greater, dead_cedilla, dead_abovering ] };
93
94 key <AD01> { [ apostrophe, question, degree, questiondown ] };
95 key <AD02> { [ comma, semicolon, 0x01000329, 0x01000315 ] };
96 key <AD03> { [ period, colon, 0x01002022, periodcentered ] };
97 key <AD04> { [ h, H, paragraph, paragraph ] };
98 key <AD05> { [ x, X, multiply, division ] };
99 key <AD06> { [ w, W, ubreve, Ubreve ] };
100 key <AD07> { [ l, L, lstroke, Lstroke ] };
101 key <AD08> { [ t, T, trademark, trademark ] };
102 key <AD09> { [ c, C, copyright, copyright ] };
103 key <AD10> { [ p, P, thorn, THORN ] };
104 key <AD11> { [ dead_tilde, dead_circumflex, dead_caron, dead_doubleacute ] };
105 key <AD12> { [ minus, underscore, 0x01002015, 0x01000336 ] };
106
107 key <AC01> { [ i, I, idotless, Iabovedot ] };
108 key <AC02> { [ e, E, EuroSign, EuroSign ] };
109 key <AC03> { [ a, A, ae, AE ] };
110 key <AC04> { [ o, O, oe, OE ] };
111 key <AC05> { [ u, U, oslash, Oslash ] };
112 key <AC06> { [ m, M, mu, mu ] };
113 key <AC07> { [ d, D, eth, ETH ] };
114 key <AC08> { [ s, S, ssharp, 0x01001E9E ] };
115 key <AC09> { [ r, R, registered, registered ] };
116 key <AC10> { [ n, N, eng, ENG ] };
117 key <AC11> { [ dead_acute, dead_grave, dead_macron, dead_breve ] };
118 key <BKSL> { [ backslash, bar, dead_belowdot, dead_abovedot ] };
119
120 key <LSGT> { [ guillemotleft, guillemotright, 0x01002039, 0x0100203A ] };
121 key <AB01> { [ y, Y, yen, yen ] };
122 key <AB02> { [ ccedilla, Ccedilla ] };
123 key <AB03> { [ j, J, 0x01000292, 0x010001B7 ] };
124 key <AB04> { [ b, B, apostrophe, quotedbl ] };
125 key <AB05> { [ k, K, currency, brokenbar ] };
126 key <AB06> { [ q, Q, 0x01000259, 0x0100018F ] };
127 key <AB07> { [ v, V, doublelowquotemark, singlelowquotemark ] };
128 key <AB08> { [ g, G, leftdoublequotemark, leftsinglequotemark ] };
129 key <AB09> { [ f, F, rightdoublequotemark, rightsinglequotemark ] };
130 key <AB10> { [ z, Z, 0x0100201F, 0x0100201B ] };
131
132 key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
133
134 include "level3(ralt_switch)"
135 };
136
137 //
138 // Portuguese Nativo layout for US keyboards (lacking an LSGT key).
139 //
140 // Ari Caldeira <ari (a] tecladobrasileiro.com.br> 2005-07-19
141 //
142 partial alphanumeric_keys
143 xkb_symbols "nativo-us" {
144
145 include "pt(nativo)"
146 name[Group1]="Portuguese (Nativo for US keyboards)";
147
148 key <AB01> { [ y, Y, ccedilla, Ccedilla ] };
149 key <AB02> { [ guillemotleft, guillemotright, 0x01002039, 0x0100203A ] };
150 };
151
152 //
153 // Portuguese Nativo layout for typing Esperanto.
154 //
155 // Ari Caldeira <ari (a] tecladobrasileiro.com.br> 2005-07-19
156 //
157 partial alphanumeric_keys
158 xkb_symbols "nativo-epo" {
159
160 include "pt(nativo)"
161 name[Group1]="Esperanto (Portugal, Nativo)";
162
163 key <AD04> { [ h, H, hcircumflex, Hcircumflex ] };
164 key <AD05> { [ ccircumflex, Ccircumflex, x, X ] };
165 key <AD06> { [ ubreve, Ubreve, w, W ] };
166
167 key <AB01> { [ jcircumflex, Jcircumflex, y, Y ] };
168 key <AB02> { [ scircumflex, Scircumflex, ccedilla, Ccedilla ] };
169 key <AB06> { [ gcircumflex, Gcircumflex, q, Q ] };
170 };
171
172 // EXTRAS:
173
174 partial alphanumeric_keys
175 xkb_symbols "sun_type6" {
176 include "sun_vndr/pt(sun_type6)"
177 };
178
179 //
180 // Portuguese Colemak layout.
181 //
182 partial alphanumeric_keys
183 xkb_symbols "colemak" {
184 include "pt(basic)"
185
186 name[Group1]="Portuguese (Colemak)";
187
188 key <AD01> { [ q, Q, at, Greek_OMEGA ] };
189 key <AD02> { [ w, W, lstroke, Lstroke ] };
190 key <AD03> { [ f, F, dstroke, ordfeminine ] };
191 key <AD04> { [ p, P, thorn, THORN ] };
192 key <AD05> { [ g, G, eng, ENG ] };
193 key <AD06> { [ j, J, dead_hook, dead_horn ] };
194 key <AD07> { [ l, L, lstroke, Lstroke ] };
195 key <AD08> { [ u, U, downarrow, uparrow ] };
196 key <AD09> { [ y, Y, leftarrow, yen ] };
197 key <AD10> { [ ccedilla, Ccedilla, dead_acute, dead_doubleacute ] };
198
199 key <AC01> { [ a, A, ae, AE ] };
200 key <AC02> { [ r, R, paragraph, registered ] };
201 key <AC03> { [ s, S, ssharp, section ] };
202 key <AC04> { [ t, T, tslash, Tslash ] };
203 key <AC05> { [ d, D, eth, ETH ] };
204 key <AC06> { [ h, H, hstroke, Hstroke ] };
205 key <AC07> { [ n, N, n, N ] };
206 key <AC08> { [ e, E, EuroSign, cent ] };
207 key <AC09> { [ i, I, rightarrow, idotless ] };
208 key <AC10> { [ o, O, oslash, Oslash ] };
209
210 key <AB01> { [ z, Z, guillemotleft, less ] };
211 key <AB02> { [ x, X, guillemotright, greater ] };
212 key <AB03> { [ c, C, cent, copyright ] };
213 key <AB08> { [ k, K, kra, ampersand ] };
214 key <AB07> { [ m, M, mu, masculine ] };
215
216 key <CAPS> { [ BackSpace, BackSpace, BackSpace, BackSpace ] };
217 };
218