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