br revision 5a35480e
1// $XKeyboardConfig$
2// $XdotOrg: xc/programs/xkbcomp/symbols/br,v 1.1.4.3 2004/03/05 13:41:32 eich Exp $
3// $XFree86: xc/programs/xkbcomp/symbols/br,v 1.3 2003/04/19 12:22:11 pascal Exp $
4//
5// based on 
6// "a very simple Brasilian ABNT2 keyboard
7// by Ricardo Y. Igarashi (iga@that.com.br)
8// Adds suport for dead-keys in I18N applications
9// by Conectiva  (http://www.conectiva.com.br)"
10//
11
12default
13xkb_symbols "abnt2" {
14
15    include "latin"
16    name[Group1]="Brazil";
17
18    key <AE02>	{ [         2,         at,  twosuperior,      onehalf ]	};
19    key <AE03>	{ [         3, numbersign, threesuperior, threequarters ] };
20    key <AE04>	{ [         4,     dollar,     sterling,   onequarter ]	};
21    key <AE05>	{ [         5,    percent,         cent, threeeighths ]	};
22    key <AE06>	{ [         6, dead_diaeresis,  notsign,    diaeresis ]	};
23    key <AE12>	{ [     equal,       plus,      section,  dead_ogonek ]	};
24
25    key <AD01>  { [         q,          Q,        slash,        slash ] };   
26    key <AD02>  { [         w,          W,     question,     question ] };   
27    key <AD03>	{ [         e,          E,     EuroSign,     EuroSign ]	};
28    key <AD04>	{ [         r,          R,   registered,   registered ]	};
29    key <AD11>	{ [dead_acute, dead_grave,        acute,        grave ]	};
30    key <AD12>	{ [bracketleft,  braceleft, ordfeminine,  dead_macron ]	};
31
32    key <AC10>	{ [  ccedilla,   Ccedilla,  dead_acute, dead_doubleacute] };
33    key <AC11>	{ [dead_tilde, dead_circumflex, asciitilde, asciicircum ] };
34    key <BKSL>  { [bracketright, braceright,  masculine,    masculine   ] };
35
36    key <TLDE>	{ [apostrophe,   quotedbl,      notsign,      notsign ]	};
37
38    key <LSGT>	{ [ backslash,        bar,    masculine,   dead_breve ]	};
39    key <AB03>	{ [         c,          C,    copyright,    copyright ]	};
40    key <AB07>  { [         m,          M,           mu,           mu ] };
41    key <AB10>	{ [ semicolon,    colon, dead_belowdot, dead_abovedot ]	};
42
43// ABNT-2 keyboard has this special key
44
45    key <AB11>	{ [     slash,   question,       degree, questiondown ]	};
46
47    key <KPPT>	{ [ KP_Decimal ]	};
48
49    include "kpdl(comma)"
50
51    include "level3(ralt_switch)"
52};
53
54partial alphanumeric_keys
55xkb_symbols "nodeadkeys" {
56
57    include "br(abnt2)" // for consistent naming
58    name[Group1]="Brazil - Eliminate dead keys";
59
60    key <AE06>	{ [         6,  diaeresis,      notsign,      notsign ]	};
61    key <AD11>	{ [apostrophe,      grave ]	};
62    key <AC10>	{ [  ccedilla,   Ccedilla,        acute,  doubleacute ]	};
63    key <AC11>	{ [asciitilde, asciicircum ]	};
64    key <AB10>	{ [ semicolon,      colon, dead_belowdot,    abovedot ]	};
65};
66
67
68// ABNT2 Keyboard to IBM/Lenovo Thinkpads 
69// by Piter PUNK <piterpk@terra.com.br>
70//
71partial alphanumeric_keys
72xkb_symbols "thinkpad" {
73
74    include "br(abnt2)" // for consistent naming
75    name[Group1]="Brazil";
76
77    key <RCTL> { [     slash,   question,       degree, questiondown ] };
78};
79
80
81partial alphanumeric_keys
82xkb_symbols "olpc" {
83
84    include "us(basic)"
85    name[Group1]="Brazil";
86
87    key <TLDE> { [   apostrophe,       quotedbl                                ] };
88
89    key <AE01> { [           1,          exclam,   onesuperior                 ] };
90    key <AE02> { [           2,              at,   twosuperior                 ] };
91    key <AE03> { [           3,      numbersign, threesuperior                 ] };
92    key <AE04> { [           4,          dollar,      sterling                 ] };
93    key <AE05> { [           5,         percent,          cent                 ] };
94    key <AE06> { [           6,  dead_diaeresis,       notsign                 ] };
95    key <AE12>  { [       equal,           plus,       section                 ] };
96
97    key <AD03> { [            e,              E,      EuroSign                 ] };
98    key <AD11> { [   dead_acute,      dead_grave,        acute,          grave ] };
99    key <AD12> { [  bracketleft,       braceleft,     0x10000AA                 ] };
100
101    key <AC10> { [     ccedilla,       Ccedilla                                ] };
102    key <AC11> { [   dead_tilde, dead_circumflex                               ] };
103    key <BKSL> { [ bracketright,      braceright,     0x10000BA                        ] };
104
105    key <AB01> { [            z,              Z,           bar                 ] };
106    key <AB03> { [            c,              C,     0x10020A2                 ] };
107    key <AB09> { [       period,        greater,     backslash                 ] };
108    key <AB10> { [    semicolon,           colon                                ] };
109
110    key <I219> { [        slash,       question,        degree, ISO_Next_Group ] };
111
112    include "level3(ralt_switch)"
113};
114
115
116//
117// Brazilian Dvorak keyboard                               2005-04-18
118// "Teclado Simplificado Brasileiro" ou "Dvorak Brasileiro"
119//
120// Heitor Moraes    heitor.moraes@gmail.com
121// Luiz Portella    lfpor@lujz.org
122// Nando Florestan  nando2003@mandic.com.br
123// Ari Caldeira     ari@tecladobrasileiro.com.br
124//
125partial alphanumeric_keys
126xkb_symbols "dvorak" {
127
128    name[Group1]="Brazil - Dvorak";
129
130// Numeric row
131    key <TLDE> { [   apostrophe,        quotedbl,           dead_caron, dead_doubleacute ] };
132    key <AE01> { [            1,          exclam,          onesuperior,       exclamdown ] };
133    key <AE02> { [            2,              at,          twosuperior,          onehalf ] };
134    key <AE03> { [            3,      numbersign,        threesuperior,    threequarters ] };
135    key <AE04> { [            4,          dollar,             sterling,       onequarter ] };
136    key <AE05> { [            5,         percent,                 cent,       0x01002030 ] };
137    key <AE06> { [            6,  dead_diaeresis,              notsign,        diaeresis ] };
138    key <AE07> { [            7,       ampersand,        dead_belowdot,    dead_abovedot ] };
139    key <AE08> { [            8,        asterisk,          dead_ogonek,        dead_horn ] };
140    key <AE09> { [            9,       parenleft,         dead_cedilla,        dead_hook ] };
141    key <AE10> { [            0,      parenright,          dead_macron,       dead_breve ] };
142    key <AE11> { [  bracketleft,       braceleft,          ordfeminine,       0x01000326 ] };
143    key <AE12> { [ bracketright,      braceright,            masculine,   dead_abovering ] };
144
145
146// Upper row
147    key <AD01> { [        slash,        question,               degree,     questiondown ] };
148    key <AD02> { [        comma,            less,           0x01000329,       0x01000313 ] };
149    key <AD03> { [       period,         greater,           0x01002022,   periodcentered ] };
150    key <AD04> { [            p,               P,                thorn,            THORN ] };
151    key <AD05> { [            y,               Y,                  yen,              yen ] };
152    key <AD06> { [            f,               F,  leftdoublequotemark, leftsinglequotemark ] };
153    key <AD07> { [            g,               G, rightdoublequotemark, rightsinglequotemark ] };
154    key <AD08> { [            c,               C,              uparrow,        copyright ] };
155    key <AD09> { [            r,               R,           registered,       registered ] };
156    key <AD10> { [            l,               L,              lstroke,          Lstroke ] };
157    key <AD11> { [   dead_acute,      dead_grave,                acute,            grave ] };
158    key <AD12> { [        equal,            plus,              section,        plusminus ] };
159
160// Central row
161    key <AC01> { [            a,               A,                   ae,               AE ] };
162    key <AC02> { [            o,               O,                   oe,               OE ] };
163    key <AC03> { [            e,               E,             EuroSign,         EuroSign ] };
164    key <AC04> { [            u,               U,               oslash,         Ooblique ] };
165    key <AC05> { [            i,               I,             idotless,        Iabovedot ] };
166    key <AC06> { [            d,               D,                  eth,              ETH ] };
167    key <AC07> { [            h,               H,            leftarrow,        paragraph ] };
168    key <AC08> { [            t,               T,           rightarrow,        trademark ] };
169    key <AC09> { [            n,               N,                  eng,              ENG ] };
170    key <AC10> { [            s,               S,               ssharp,           ssharp ] };
171    key <AC11> { [   dead_tilde, dead_circumflex,           asciitilde,      asciicircum ] };
172    key <BKSL> { [        minus,      underscore,           0x01002015,       0x01000336 ] };
173
174// Lower row
175    key <LSGT> { [     ccedilla,        Ccedilla,            backslash,              bar ] };
176    key <AB01> { [    semicolon,           colon,           0x01000331,       0x0100032D ] };
177    key <AB02> { [            q,               Q,           0x01000259,       0x0100018F ] };
178    key <AB03> { [            j,               J,           0x01000292,       0x010001B7 ] };
179    key <AB04> { [            k,               K,        guillemotleft,       0x01002039 ] };
180    key <AB05> { [            x,               X,             multiply,         division ] };
181    key <AB06> { [            b,               B,       guillemotright,       0x0100203A ] };
182    key <AB07> { [            m,               M,            downarrow,               mu ] };
183    key <AB08> { [            w,               W,               ubreve,           Ubreve ] };
184    key <AB09> { [            v,               V,   doublelowquotemark, singlelowquotemark ] };
185    key <AB10> { [            z,               Z,           0x0100201F,       0x0100201B ] };
186    key <AB11> { [    backslash,             bar,             currency,        brokenbar ] };
187
188    key <SPCE> { [        space,           space,         nobreakspace,     nobreakspace ] };
189
190// Configures the "." and the "," for the numeric keypad
191    key <KPPT> { [ KP_Decimal              ] };
192    include "kpdl(comma)"
193
194// Configures the use of the AltGr key
195    include "level3(ralt_switch)"
196
197};
198
199
200//
201// Teclado Nativo Brasileiro                               2005-07-19
202// Brazilian Nativo Keyboard
203//      This is a Dvorak-based layout, designed for the Portuguese language
204//
205// Ari Caldeira     ari@tecladobrasileiro.com.br
206//
207partial alphanumeric_keys
208xkb_symbols "nativo" {
209
210    name[Group1]="Brazil - Nativo";
211
212// Numeric row
213    key <TLDE> { [        equal,            plus,              section,        plusminus ] };
214    key <AE01> { [            1,          exclam,          onesuperior,       exclamdown ] };
215    key <AE02> { [            2,              at,          twosuperior,          onehalf ] };
216    key <AE03> { [            3,      numbersign,        threesuperior,    threequarters ] };
217    key <AE04> { [            4,          dollar,             sterling,       onequarter ] };
218    key <AE05> { [            5,         percent,                 cent,       0x01002030 ] };
219    key <AE06> { [            6,  dead_diaeresis,              notsign,        diaeresis ] };
220    key <AE07> { [            7,       ampersand,        dead_belowdot,    dead_abovedot ] };
221    key <AE08> { [            8,        asterisk,          dead_ogonek,        dead_horn ] };
222    key <AE09> { [            9,       parenleft,         dead_cedilla,        dead_hook ] };
223    key <AE10> { [            0,      parenright,          dead_macron,       dead_breve ] };
224    key <AE11> { [  bracketleft,       braceleft,          ordfeminine,       0x01000326 ] };
225    key <AE12> { [ bracketright,      braceright,            masculine,   dead_abovering ] };
226
227// Upper row
228    key <AD01> { [        slash,        question,               degree,     questiondown ] };
229    key <AD02> { [        comma,            less,           0x01000329,       0x01000313 ] };
230    key <AD03> { [       period,         greater,           0x01002022,   periodcentered ] };
231    key <AD04> { [            h,               H,            paragraph,        paragraph ] };
232    key <AD05> { [            x,               X,             multiply,         division ] };
233    key <AD06> { [            w,               W,               ubreve,           Ubreve ] };
234    key <AD07> { [            l,               L,              lstroke,          Lstroke ] };
235    key <AD08> { [            t,               T,            trademark,        trademark ] };
236    key <AD09> { [            c,               C,            copyright,        copyright ] };
237    key <AD10> { [            p,               P,                thorn,            THORN ] };
238    key <AD11> { [   dead_tilde, dead_circumflex,           asciitilde,      asciicircum ] };
239    key <AD12> { [        minus,      underscore,           0x01002015,       0x01000336 ] };
240
241// Central row
242    key <AC01> { [            i,               I,             idotless,        Iabovedot ] };
243    key <AC02> { [            e,               E,             EuroSign,         EuroSign ] };
244    key <AC03> { [            a,               A,                   ae,               AE ] };
245    key <AC04> { [            o,               O,                   oe,               OE ] };
246    key <AC05> { [            u,               U,               oslash,         Ooblique ] };
247    key <AC06> { [            m,               M,                   mu,               mu ] };
248    key <AC07> { [            d,               D,                  eth,              ETH ] };
249    key <AC08> { [            s,               S,               ssharp,           ssharp ] };
250    key <AC09> { [            r,               R,           registered,       registered ] };
251    key <AC10> { [            n,               N,                  eng,              ENG ] };
252    key <AC11> { [   dead_acute,      dead_grave,                acute,            grave ] };
253    key <BKSL> { [   apostrophe,        quotedbl,           dead_caron, dead_doubleacute ] };
254
255// Lower row
256    key <LSGT> { [    semicolon,           colon,           0x01000331,       0x0100032D ] };
257    key <AB01> { [            y,               Y,                  yen,              yen ] };
258    key <AB02> { [     ccedilla,        Ccedilla,            backslash,              bar ] };
259    key <AB03> { [            j,               J,           0x01000292,       0x010001B7 ] };
260    key <AB04> { [            b,               B,        guillemotleft,       0x01002039 ] };
261    key <AB05> { [            k,               K,       guillemotright,       0x0100203A ] };
262    key <AB06> { [            q,               Q,           0x01000259,       0x0100018F ] };
263    key <AB07> { [            v,               V,   doublelowquotemark, singlelowquotemark ] };
264    key <AB08> { [            g,               G,  leftdoublequotemark, leftsinglequotemark ] };
265    key <AB09> { [            f,               F, rightdoublequotemark, rightsinglequotemark ] };
266    key <AB10> { [            z,               Z,           0x0100201F,       0x0100201B ] };
267    key <AB11> { [    backslash,             bar,             currency,        brokenbar ] };
268
269    key <SPCE> { [        space,           space,         nobreakspace,     nobreakspace ] };
270
271// Configures the "." and the "," for the numeric keypad
272    key <KPPT> { [ KP_Decimal              ] };
273    include "kpdl(comma)"
274
275// Configures the use of the AltGr key
276    include "level3(ralt_switch)"
277
278};
279
280
281//
282// Teclado Nativo Brasileiro para o teclado estadunidense  2005-07-19
283// Brazilian Nativo Keyboard for USA keyboards
284//
285// Ari Caldeira     ari@tecladobrasileiro.com.br
286//
287partial alphanumeric_keys
288xkb_symbols "nativo-us" {
289    include "br(nativo)"
290
291    name[Group1]="Brazil - Nativo for USA keyboards";
292
293// Lower row
294    key <AB01> { [            y,               Y,              ccedilla,        Ccedilla ] };
295    key <AB02> { [    semicolon,           colon,             backslash,             bar ] };
296
297};
298
299
300//
301// Teclado Nativo Brasileiro para digitacao em Esperanto   2005-07-19
302// Brazilian Nativo Keyboard for typing Esperanto
303//
304// Ari Caldeira     ari@tecladobrasileiro.com.br
305//
306partial alphanumeric_keys
307xkb_symbols "nativo-epo" {
308    include "br(nativo)"
309
310    name[Group1]="Brazil - Nativo for Esperanto";
311
312// Upper row Esperanto
313    key <AD04> { [            h,               H,          hcircumflex,      Hcircumflex ] };
314    key <AD05> { [  ccircumflex,     Ccircumflex,                    x,                X ] };
315    key <AD06> { [       ubreve,          Ubreve,                    w,                W ] };
316
317// Lower row Esperanto
318    key <AB01> { [  jcircumflex,     Jcircumflex,                    y,                Y ] };
319    key <AB02> { [  scircumflex,     Scircumflex,             ccedilla,         Ccedilla ] };
320    key <AB06> { [  gcircumflex,     Gcircumflex,                    q,                Q ] };
321
322};
323