Debian Codegraph @

symbols/br

raw
1 // Keyboard layouts for Brazil.
2
3 default
4 xkb_symbols "abnt2" {
5
6 // Based on a very simple Brazilian ABNT2 keyboard,
7 // by Ricardo Y. Igarashi ([email protected]).
8 // With added support for dead keys in I18N applications,
9 // by Conectiva (http://www.conectiva.com.br).
10
11 include "latin"
12 name[Group1]="Portuguese (Brazil)";
13
14 key <TLDE> { [ apostrophe, quotedbl, notsign, notsign ] };
15 key <AE02> { [ 2, at, twosuperior, onehalf ] };
16 key <AE03> { [ 3, numbersign, threesuperior, threequarters ] };
17 key <AE04> { [ 4, dollar, sterling, onequarter ] };
18 key <AE05> { [ 5, percent, cent, threeeighths ] };
19 key <AE06> { [ 6, dead_diaeresis, notsign, diaeresis ] };
20 key <AE12> { [ equal, plus, section, dead_ogonek ] };
21
22 key <AD01> { [ q, Q, slash, slash ] };
23 key <AD02> { [ w, W, question, question ] };
24 key <AD03> { [ e, E, degree, degree ] };
25 key <AD04> { [ r, R, registered, registered ] };
26 key <AD11> { [ dead_acute, dead_grave, acute, grave ] };
27 key <AD12> { [ bracketleft, braceleft, ordfeminine, dead_macron ] };
28 key <BKSL> { [ bracketright, braceright, masculine, masculine ] };
29
30 key <AC10> { [ ccedilla, Ccedilla, dead_acute,dead_doubleacute ] };
31 key <AC11> { [ dead_tilde,dead_circumflex, asciitilde, asciicircum ] };
32
33 key <LSGT> { [ backslash, bar, dead_caron, dead_breve ] };
34 key <AB03> { [ c, C, copyright, copyright ] };
35 key <AB07> { [ m, M, mu, mu ] };
36 key <AB10> { [ semicolon, colon, dead_belowdot, dead_abovedot ] };
37
38 // The ABNT-2 keyboard has this special key:
39 key <AB11> { [ slash, question, degree, questiondown ] };
40
41 include "kpdl(comma)"
42
43 include "level3(ralt_switch)"
44 };
45
46 partial alphanumeric_keys
47 xkb_symbols "nodeadkeys" {
48
49 include "br(abnt2)"
50 name[Group1]="Portuguese (Brazil, no dead keys)";
51
52 key <AE06> { [ 6, diaeresis, notsign, notsign ] };
53 key <AE12> { [ equal, plus, section, radical ] };
54 key <AD11> { [ apostrophe, grave ] };
55 key <AD12> { [ bracketleft, braceleft, ordfeminine, dagger ] };
56 key <AC07> { [ j, J, ezh, EZH ] };
57 key <AC10> { [ ccedilla, Ccedilla, acute, doubleacute ] };
58 key <AC11> { [ asciitilde, asciicircum ] };
59 key <LSGT> { [ backslash, bar, endash, emdash ] };
60 key <AB10> { [ semicolon, colon, ellipsis, abovedot ] };
61 };
62
63
64 // The ABNT2 keyboard on IBM/Lenovo Thinkpads,
65 // by Piter PUNK <[email protected]>.
66 //
67 partial alphanumeric_keys
68 xkb_symbols "thinkpad" {
69
70 include "br(abnt2)"
71 name[Group1]="Portuguese (Brazil, IBM/Lenovo ThinkPad)";
72
73 key <RCTL> { [ slash, question, degree, questiondown ] };
74 };
75
76
77 partial alphanumeric_keys
78 xkb_symbols "olpc" {
79 // #HW-SPECIFIC
80 include "us(basic)"
81 name[Group1]="Portuguese (Brazil)";
82
83 key <TLDE> { [ apostrophe, quotedbl ] };
84 key <AE01> { [ 1, exclam, onesuperior ] };
85 key <AE02> { [ 2, at, twosuperior ] };
86 key <AE03> { [ 3, numbersign, threesuperior ] };
87 key <AE04> { [ 4, dollar, sterling ] };
88 key <AE05> { [ 5, percent, cent ] };
89 key <AE06> { [ 6, dead_diaeresis, notsign ] };
90 key <AE12> { [ equal, plus, section ] };
91
92 key <AD03> { [ e, E, EuroSign ] };
93 key <AD11> { [ dead_acute, dead_grave, acute, grave ] };
94 key <AD12> { [ bracketleft, braceleft, ordfeminine ] };
95 key <BKSL> { [ bracketright, braceright, masculine ] };
96
97 key <AC10> { [ ccedilla, Ccedilla ] };
98 key <AC11> { [ dead_tilde, dead_circumflex ] };
99
100 key <AB01> { [ z, Z, bar ] };
101 key <AB03> { [ c, C, 0x10020A2 ] };
102 key <AB09> { [ period, greater, backslash ] };
103 key <AB10> { [ semicolon, colon ] };
104
105 key <I219> { [ slash, question, degree, ISO_Next_Group ] };
106
107 include "level3(ralt_switch)"
108 };
109
110
111 // A phonetic layout for typing Russian on a ABNT2 keyboard.
112 // Originally by: Evandro Bernardes <[email protected]>, February 2023.
113 partial alphanumeric_keys
114 xkb_symbols "rus" {
115
116 include "br(abnt2)"
117
118 name[Group1]= "Russian (Brazil, phonetic)";
119
120 key <LatQ> {[ Cyrillic_softsign, Cyrillic_SOFTSIGN, Cyrillic_hardsign, Cyrillic_HARDSIGN ]};
121 key <LatW> {[ Cyrillic_zhe, Cyrillic_ZHE ]};
122 key <AD03> {[ Cyrillic_ie, Cyrillic_IE, Cyrillic_e, Cyrillic_E ]};
123 key <AD04> {[ Cyrillic_er, Cyrillic_ER ]};
124 key <AD05> {[ Cyrillic_te, Cyrillic_TE ]};
125 key <LatY> {[ Cyrillic_yeru, Cyrillic_YERU ]};
126 key <AD07> {[ Cyrillic_u, Cyrillic_U, Cyrillic_yu, Cyrillic_YU ]};
127 key <AD08> {[ Cyrillic_i, Cyrillic_I ]};
128 key <AD09> {[ Cyrillic_o, Cyrillic_O, Cyrillic_io, Cyrillic_IO ]};
129 key <AD10> {[ Cyrillic_pe, Cyrillic_PE ]};
130
131 key <LatA> {[ Cyrillic_a, Cyrillic_A, Cyrillic_ya, Cyrillic_YA ]};
132 key <AC02> {[ Cyrillic_es, Cyrillic_ES ]};
133 key <AC03> {[ Cyrillic_de, Cyrillic_DE ]};
134 key <AC04> {[ Cyrillic_ef, Cyrillic_EF ]};
135 key <AC05> {[ Cyrillic_ghe, Cyrillic_GHE ]};
136 key <AC06> {[ Cyrillic_ha, Cyrillic_HA ]};
137 key <AC07> {[ Cyrillic_shorti, Cyrillic_SHORTI ]};
138 key <AC08> {[ Cyrillic_ka, Cyrillic_KA ]};
139 key <AC09> {[ Cyrillic_el, Cyrillic_EL ]};
140 key <AC10> {[ Cyrillic_che, Cyrillic_CHE ]};
141
142 key <LatZ> {[ Cyrillic_ze, Cyrillic_ZE ]};
143 key <AB02> {[ Cyrillic_sha, Cyrillic_SHA, Cyrillic_shcha, Cyrillic_SHCHA ]};
144 key <AB03> {[ Cyrillic_tse, Cyrillic_TSE ]};
145 key <AB04> {[ Cyrillic_ve, Cyrillic_VE ]};
146 key <AB05> {[ Cyrillic_be, Cyrillic_BE ]};
147 key <AB06> {[ Cyrillic_en, Cyrillic_EN ]};
148 key <AB07> {[ Cyrillic_em, Cyrillic_EM ]};
149 };
150
151
152 //
153 // Brazilian Dvorak layout 2005-04-18
154 // "Teclado Simplificado Brasileiro" ou "Dvorak Brasileiro"
155 //
156 // Heitor Moraes [email protected]
157 // Luiz Portella [email protected]
158 // Nando Florestan [email protected]
159 // Ari Caldeira [email protected]
160 //
161 partial alphanumeric_keys
162 xkb_symbols "dvorak" {
163
164 name[Group1]="Portuguese (Brazil, Dvorak)";
165
166 // Numeric row
167 key <TLDE> { [ apostrophe, quotedbl, dead_caron, dead_doubleacute ] };
168 key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
169 key <AE02> { [ 2, at, twosuperior, onehalf ] };
170 key <AE03> { [ 3, numbersign, threesuperior, threequarters ] };
171 key <AE04> { [ 4, dollar, sterling, onequarter ] };
172 key <AE05> { [ 5, percent, cent, permille ] };
173 key <AE06> { [ 6, dead_diaeresis, notsign, diaeresis ] };
174 key <AE07> { [ 7, ampersand, dead_belowdot, dead_abovedot ] };
175 key <AE08> { [ 8, asterisk, dead_ogonek, dead_horn ] };
176 key <AE09> { [ 9, parenleft, dead_cedilla, dead_hook ] };
177 key <AE10> { [ 0, parenright, dead_macron, dead_breve ] };
178 key <AE11> { [ bracketleft, braceleft, ordfeminine, 0x01000326 ] };
179 key <AE12> { [ bracketright, braceright, masculine, dead_abovering ] };
180
181
182 // Upper row
183 key <AD01> { [ slash, question, degree, questiondown ] };
184 key <AD02> { [ comma, less, 0x01000329, 0x01000313 ] };
185 key <AD03> { [ period, greater, 0x01002022, periodcentered ] };
186 key <AD04> { [ p, P, thorn, THORN ] };
187 key <AD05> { [ y, Y, yen, yen ] };
188 key <AD06> { [ f, F, leftdoublequotemark, leftsinglequotemark ] };
189 key <AD07> { [ g, G, rightdoublequotemark, rightsinglequotemark ] };
190 key <AD08> { [ c, C, uparrow, copyright ] };
191 key <AD09> { [ r, R, registered, registered ] };
192 key <AD10> { [ l, L, lstroke, Lstroke ] };
193 key <AD11> { [ dead_acute, dead_grave, acute, grave ] };
194 key <AD12> { [ equal, plus, section, plusminus ] };
195
196 // Central row
197 key <AC01> { [ a, A, ae, AE ] };
198 key <AC02> { [ o, O, oe, OE ] };
199 key <AC03> { [ e, E, EuroSign, EuroSign ] };
200 key <AC04> { [ u, U, oslash, Oslash ] };
201 key <AC05> { [ i, I, idotless, Iabovedot ] };
202 key <AC06> { [ d, D, eth, ETH ] };
203 key <AC07> { [ h, H, leftarrow, paragraph ] };
204 key <AC08> { [ t, T, rightarrow, trademark ] };
205 key <AC09> { [ n, N, eng, ENG ] };
206 key <AC10> { [ s, S, ssharp, U1E9E ] };
207 key <AC11> { [ dead_tilde, dead_circumflex, asciitilde, asciicircum ] };
208 key <BKSL> { [ minus, underscore, 0x01002015, 0x01000336 ] };
209
210 // Lower row
211 key <LSGT> { [ ccedilla, Ccedilla, backslash, bar ] };
212 key <AB01> { [ semicolon, colon, 0x01000331, 0x0100032D ] };
213 key <AB02> { [ q, Q, schwa, SCHWA ] };
214 key <AB03> { [ j, J, ezh, EZH ] };
215 key <AB04> { [ k, K, guillemotleft, 0x01002039 ] };
216 key <AB05> { [ x, X, multiply, division ] };
217 key <AB06> { [ b, B, guillemotright, 0x0100203A ] };
218 key <AB07> { [ m, M, downarrow, mu ] };
219 key <AB08> { [ w, W, ubreve, Ubreve ] };
220 key <AB09> { [ v, V, doublelowquotemark, singlelowquotemark ] };
221 key <AB10> { [ z, Z, 0x0100201F, 0x0100201B ] };
222 key <AB11> { [ backslash, bar, currency, brokenbar ] };
223
224 key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
225
226 // Configures the "," for the numeric keypad
227 include "kpdl(comma)"
228
229 // Configures the use of the AltGr key
230 include "level3(ralt_switch)"
231 };
232
233
234 //
235 // Brazilian Nativo layout.
236 // This is a Dvorak-based layout, designed for the Portuguese language.
237 //
238 // Ari Caldeira <[email protected]> 2005-07-19
239 //
240 partial alphanumeric_keys
241 xkb_symbols "nativo" {
242
243 name[Group1]="Portuguese (Brazil, Nativo)";
244
245 // Numeric row
246 key <TLDE> { [ equal, plus, section, plusminus ] };
247 key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
248 key <AE02> { [ 2, at, twosuperior, onehalf ] };
249 key <AE03> { [ 3, numbersign, threesuperior, threequarters ] };
250 key <AE04> { [ 4, dollar, sterling, onequarter ] };
251 key <AE05> { [ 5, percent, cent, permille ] };
252 key <AE06> { [ 6, dead_diaeresis, notsign, diaeresis ] };
253 key <AE07> { [ 7, ampersand, dead_belowdot, dead_abovedot ] };
254 key <AE08> { [ 8, asterisk, dead_ogonek, dead_horn ] };
255 key <AE09> { [ 9, parenleft, dead_cedilla, dead_hook ] };
256 key <AE10> { [ 0, parenright, dead_macron, dead_breve ] };
257 key <AE11> { [ bracketleft, braceleft, ordfeminine, 0x01000326 ] };
258 key <AE12> { [ bracketright, braceright, masculine, dead_abovering ] };
259
260 // Upper row
261 key <AD01> { [ slash, question, degree, questiondown ] };
262 key <AD02> { [ comma, less, 0x01000329, 0x01000313 ] };
263 key <AD03> { [ period, greater, 0x01002022, periodcentered ] };
264 key <AD04> { [ h, H, paragraph, paragraph ] };
265 key <AD05> { [ x, X, multiply, division ] };
266 key <AD06> { [ w, W, ubreve, Ubreve ] };
267 key <AD07> { [ l, L, lstroke, Lstroke ] };
268 key <AD08> { [ t, T, trademark, trademark ] };
269 key <AD09> { [ c, C, copyright, copyright ] };
270 key <AD10> { [ p, P, thorn, THORN ] };
271 key <AD11> { [ dead_tilde, dead_circumflex, asciitilde, asciicircum ] };
272 key <AD12> { [ minus, underscore, 0x01002015, 0x01000336 ] };
273
274 // Central row
275 key <AC01> { [ i, I, idotless, Iabovedot ] };
276 key <AC02> { [ e, E, EuroSign, EuroSign ] };
277 key <AC03> { [ a, A, ae, AE ] };
278 key <AC04> { [ o, O, oe, OE ] };
279 key <AC05> { [ u, U, oslash, Oslash ] };
280 key <AC06> { [ m, M, mu, mu ] };
281 key <AC07> { [ d, D, eth, ETH ] };
282 key <AC08> { [ s, S, ssharp, U1E9E ] };
283 key <AC09> { [ r, R, registered, registered ] };
284 key <AC10> { [ n, N, eng, ENG ] };
285 key <AC11> { [ dead_acute, dead_grave, acute, grave ] };
286 key <BKSL> { [ apostrophe, quotedbl, dead_caron, dead_doubleacute ] };
287
288 // Lower row
289 key <LSGT> { [ semicolon, colon, 0x01000331, 0x0100032D ] };
290 key <AB01> { [ y, Y, yen, yen ] };
291 key <AB02> { [ ccedilla, Ccedilla, backslash, bar ] };
292 key <AB03> { [ j, J, ezh, EZH ] };
293 key <AB04> { [ b, B, guillemotleft, 0x01002039 ] };
294 key <AB05> { [ k, K, guillemotright, 0x0100203A ] };
295 key <AB06> { [ q, Q, schwa, SCHWA ] };
296 key <AB07> { [ v, V, doublelowquotemark, singlelowquotemark ] };
297 key <AB08> { [ g, G, leftdoublequotemark, leftsinglequotemark ] };
298 key <AB09> { [ f, F, rightdoublequotemark, rightsinglequotemark ] };
299 key <AB10> { [ z, Z, 0x0100201F, 0x0100201B ] };
300 key <AB11> { [ backslash, bar, currency, brokenbar ] };
301
302 key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
303
304 // Configures the "," for the numeric keypad
305 include "kpdl(comma)"
306
307 // Configures the use of the AltGr key
308 include "level3(ralt_switch)"
309 };
310
311
312 //
313 // Brazilian Nativo layout for US keyboards.
314 //
315 // Ari Caldeira <[email protected]> 2005-07-19
316 //
317 partial alphanumeric_keys
318 xkb_symbols "nativo-us" {
319
320 include "br(nativo)"
321
322 name[Group1]="Portuguese (Brazil, Nativo for US keyboards)";
323
324 key <AB01> { [ y, Y, ccedilla, Ccedilla ] };
325 key <AB02> { [ semicolon, colon, backslash, bar ] };
326 };
327
328
329 //
330 // Brazilian Nativo layout for typing Esperanto.
331 //
332 // Ari Caldeira <[email protected]> 2005-07-19
333 //
334 partial alphanumeric_keys
335 xkb_symbols "nativo-epo" {
336
337 include "br(nativo)"
338
339 name[Group1]="Esperanto (Brazil, Nativo)";
340
341 key <AD04> { [ h, H, hcircumflex, Hcircumflex ] };
342 key <AD05> { [ ccircumflex, Ccircumflex, x, X ] };
343 key <AD06> { [ ubreve, Ubreve, w, W ] };
344
345 key <AB01> { [ jcircumflex, Jcircumflex, y, Y ] };
346 key <AB02> { [ scircumflex, Scircumflex, ccedilla, Ccedilla ] };
347 key <AB06> { [ gcircumflex, Gcircumflex, q, Q ] };
348 };
349
350 // EXTRAS:
351
352 partial alphanumeric_keys
353 xkb_symbols "sun_type6" {
354 include "sun_vndr/br(sun_type6)"
355 };