From 81124070f120ab658e094b64f6944d701b003a99 Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 13 Jul 2010 07:35:01 +0000 Subject: Renamed xkbdata.src to xkeyboard-config (to reflect the name in the git repository) --- xorg-server/xkeyboard-config/symbols/br | 320 ++++++++++++++++++++++++++++++++ 1 file changed, 320 insertions(+) create mode 100644 xorg-server/xkeyboard-config/symbols/br (limited to 'xorg-server/xkeyboard-config/symbols/br') diff --git a/xorg-server/xkeyboard-config/symbols/br b/xorg-server/xkeyboard-config/symbols/br new file mode 100644 index 000000000..f9f5cbe5e --- /dev/null +++ b/xorg-server/xkeyboard-config/symbols/br @@ -0,0 +1,320 @@ +// $XKeyboardConfig$ +// $XdotOrg: xc/programs/xkbcomp/symbols/br,v 1.1.4.3 2004/03/05 13:41:32 eich Exp $ +// $XFree86: xc/programs/xkbcomp/symbols/br,v 1.3 2003/04/19 12:22:11 pascal Exp $ +// +// based on +// "a very simple Brasilian ABNT2 keyboard +// by Ricardo Y. Igarashi (iga@that.com.br) +// Adds suport for dead-keys in I18N applications +// by Conectiva (http://www.conectiva.com.br)" +// + +default +xkb_symbols "abnt2" { + + include "latin" + name[Group1]="Brazil"; + + key { [ 2, at, twosuperior, onehalf ] }; + key { [ 3, numbersign, threesuperior, threequarters ] }; + key { [ 4, dollar, sterling, onequarter ] }; + key { [ 5, percent, cent, threeeighths ] }; + key { [ 6, dead_diaeresis, notsign, diaeresis ] }; + key { [ equal, plus, section, dead_ogonek ] }; + + key { [ q, Q, slash, slash ] }; + key { [ w, W, question, question ] }; + key { [ e, E, EuroSign, EuroSign ] }; + key { [ r, R, registered, registered ] }; + key { [dead_acute, dead_grave, acute, grave ] }; + key { [bracketleft, braceleft, ordfeminine, dead_macron ] }; + + key { [ ccedilla, Ccedilla, dead_acute, dead_doubleacute] }; + key { [dead_tilde, dead_circumflex, asciitilde, asciicircum ] }; + key { [bracketright, braceright, masculine, masculine ] }; + + key { [apostrophe, quotedbl, notsign, notsign ] }; + + key { [ backslash, bar, masculine, dead_breve ] }; + key { [ c, C, copyright, copyright ] }; + key { [ m, M, mu, mu ] }; + key { [ semicolon, colon, dead_belowdot, dead_abovedot ] }; + +// ABNT-2 keyboard has this special key + + key { [ slash, question, degree, questiondown ] }; + + modifier_map Mod3 { Scroll_Lock }; + + include "kpdl(comma)" + + include "level3(ralt_switch)" +}; + +partial alphanumeric_keys +xkb_symbols "nodeadkeys" { + + include "br(abnt2)" // for consistent naming + name[Group1]="Brazil - Eliminate dead keys"; + + key { [ 6, diaeresis, notsign, notsign ] }; + key { [apostrophe, grave ] }; + key { [ ccedilla, Ccedilla, acute, doubleacute ] }; + key { [asciitilde, asciicircum ] }; + key { [ semicolon, colon, dead_belowdot, abovedot ] }; +}; + + +// ABNT2 Keyboard to IBM/Lenovo Thinkpads +// by Piter PUNK +// +partial alphanumeric_keys +xkb_symbols "thinkpad" { + + include "br(abnt2)" // for consistent naming + name[Group1]="Brazil"; + + key { [ slash, question, degree, questiondown ] }; +}; + + +partial alphanumeric_keys +xkb_symbols "olpc" { + + include "us(basic)" + name[Group1]="Brazil"; + + key { [ apostrophe, quotedbl ] }; + + key { [ 1, exclam, onesuperior ] }; + key { [ 2, at, twosuperior ] }; + key { [ 3, numbersign, threesuperior ] }; + key { [ 4, dollar, sterling ] }; + key { [ 5, percent, cent ] }; + key { [ 6, dead_diaeresis, notsign ] }; + key { [ equal, plus, section ] }; + + key { [ e, E, EuroSign ] }; + key { [ dead_acute, dead_grave, acute, grave ] }; + key { [ bracketleft, braceleft, 0x10000AA ] }; + + key { [ ccedilla, Ccedilla ] }; + key { [ dead_tilde, dead_circumflex ] }; + key { [ bracketright, braceright, 0x10000BA ] }; + + key { [ z, Z, bar ] }; + key { [ c, C, 0x10020A2 ] }; + key { [ period, greater, backslash ] }; + key { [ semicolon, colon ] }; + + key { [ slash, question, degree, ISO_Next_Group ] }; + + include "level3(ralt_switch)" +}; + + +// +// Brazilian Dvorak keyboard 2005-04-18 +// "Teclado Simplificado Brasileiro" ou "Dvorak Brasileiro" +// +// Heitor Moraes heitor.moraes@gmail.com +// Luiz Portella lfpor@lujz.org +// Nando Florestan nando2003@mandic.com.br +// Ari Caldeira ari@tecladobrasileiro.com.br +// +partial alphanumeric_keys +xkb_symbols "dvorak" { + + name[Group1]="Brazil - Dvorak"; + +// Numeric row + key { [ apostrophe, quotedbl, dead_caron, dead_doubleacute ] }; + key { [ 1, exclam, onesuperior, exclamdown ] }; + key { [ 2, at, twosuperior, onehalf ] }; + key { [ 3, numbersign, threesuperior, threequarters ] }; + key { [ 4, dollar, sterling, onequarter ] }; + key { [ 5, percent, cent, 0x01002030 ] }; + key { [ 6, dead_diaeresis, notsign, diaeresis ] }; + key { [ 7, ampersand, dead_belowdot, dead_abovedot ] }; + key { [ 8, asterisk, dead_ogonek, dead_horn ] }; + key { [ 9, parenleft, dead_cedilla, dead_hook ] }; + key { [ 0, parenright, dead_macron, dead_breve ] }; + key { [ bracketleft, braceleft, ordfeminine, 0x01000326 ] }; + key { [ bracketright, braceright, masculine, dead_abovering ] }; + + +// Upper row + key { [ slash, question, degree, questiondown ] }; + key { [ comma, less, 0x01000329, 0x01000313 ] }; + key { [ period, greater, 0x01002022, periodcentered ] }; + key { [ p, P, thorn, THORN ] }; + key { [ y, Y, yen, yen ] }; + key { [ f, F, leftdoublequotemark, leftsinglequotemark ] }; + key { [ g, G, rightdoublequotemark, rightsinglequotemark ] }; + key { [ c, C, uparrow, copyright ] }; + key { [ r, R, registered, registered ] }; + key { [ l, L, lstroke, Lstroke ] }; + key { [ dead_acute, dead_grave, acute, grave ] }; + key { [ equal, plus, section, plusminus ] }; + +// Central row + key { [ a, A, ae, AE ] }; + key { [ o, O, oe, OE ] }; + key { [ e, E, EuroSign, EuroSign ] }; + key { [ u, U, oslash, Ooblique ] }; + key { [ i, I, idotless, Iabovedot ] }; + key { [ d, D, eth, ETH ] }; + key { [ h, H, leftarrow, paragraph ] }; + key { [ t, T, rightarrow, trademark ] }; + key { [ n, N, eng, ENG ] }; + key { [ s, S, ssharp, ssharp ] }; + key { [ dead_tilde, dead_circumflex, asciitilde, asciicircum ] }; + key { [ minus, underscore, 0x01002015, 0x01000336 ] }; + +// Lower row + key { [ ccedilla, Ccedilla, backslash, bar ] }; + key { [ semicolon, colon, 0x01000331, 0x0100032D ] }; + key { [ q, Q, 0x01000259, 0x0100018F ] }; + key { [ j, J, 0x01000292, 0x010001B7 ] }; + key { [ k, K, guillemotleft, 0x01002039 ] }; + key { [ x, X, multiply, division ] }; + key { [ b, B, guillemotright, 0x0100203A ] }; + key { [ m, M, downarrow, mu ] }; + key { [ w, W, ubreve, Ubreve ] }; + key { [ v, V, doublelowquotemark, singlelowquotemark ] }; + key { [ z, Z, 0x0100201F, 0x0100201B ] }; + key { [ backslash, bar, currency, brokenbar ] }; + + key { [ space, space, nobreakspace, nobreakspace ] }; + +// Configures the "," for the numeric keypad + include "kpdl(comma)" + +// Configures the use of the AltGr key + include "level3(ralt_switch)" + +}; + + +// +// Teclado Nativo Brasileiro 2005-07-19 +// Brazilian Nativo Keyboard +// This is a Dvorak-based layout, designed for the Portuguese language +// +// Ari Caldeira ari@tecladobrasileiro.com.br +// +partial alphanumeric_keys +xkb_symbols "nativo" { + + name[Group1]="Brazil - Nativo"; + +// Numeric row + key { [ equal, plus, section, plusminus ] }; + key { [ 1, exclam, onesuperior, exclamdown ] }; + key { [ 2, at, twosuperior, onehalf ] }; + key { [ 3, numbersign, threesuperior, threequarters ] }; + key { [ 4, dollar, sterling, onequarter ] }; + key { [ 5, percent, cent, 0x01002030 ] }; + key { [ 6, dead_diaeresis, notsign, diaeresis ] }; + key { [ 7, ampersand, dead_belowdot, dead_abovedot ] }; + key { [ 8, asterisk, dead_ogonek, dead_horn ] }; + key { [ 9, parenleft, dead_cedilla, dead_hook ] }; + key { [ 0, parenright, dead_macron, dead_breve ] }; + key { [ bracketleft, braceleft, ordfeminine, 0x01000326 ] }; + key { [ bracketright, braceright, masculine, dead_abovering ] }; + +// Upper row + key { [ slash, question, degree, questiondown ] }; + key { [ comma, less, 0x01000329, 0x01000313 ] }; + key { [ period, greater, 0x01002022, periodcentered ] }; + key { [ h, H, paragraph, paragraph ] }; + key { [ x, X, multiply, division ] }; + key { [ w, W, ubreve, Ubreve ] }; + key { [ l, L, lstroke, Lstroke ] }; + key { [ t, T, trademark, trademark ] }; + key { [ c, C, copyright, copyright ] }; + key { [ p, P, thorn, THORN ] }; + key { [ dead_tilde, dead_circumflex, asciitilde, asciicircum ] }; + key { [ minus, underscore, 0x01002015, 0x01000336 ] }; + +// Central row + key { [ i, I, idotless, Iabovedot ] }; + key { [ e, E, EuroSign, EuroSign ] }; + key { [ a, A, ae, AE ] }; + key { [ o, O, oe, OE ] }; + key { [ u, U, oslash, Ooblique ] }; + key { [ m, M, mu, mu ] }; + key { [ d, D, eth, ETH ] }; + key { [ s, S, ssharp, ssharp ] }; + key { [ r, R, registered, registered ] }; + key { [ n, N, eng, ENG ] }; + key { [ dead_acute, dead_grave, acute, grave ] }; + key { [ apostrophe, quotedbl, dead_caron, dead_doubleacute ] }; + +// Lower row + key { [ semicolon, colon, 0x01000331, 0x0100032D ] }; + key { [ y, Y, yen, yen ] }; + key { [ ccedilla, Ccedilla, backslash, bar ] }; + key { [ j, J, 0x01000292, 0x010001B7 ] }; + key { [ b, B, guillemotleft, 0x01002039 ] }; + key { [ k, K, guillemotright, 0x0100203A ] }; + key { [ q, Q, 0x01000259, 0x0100018F ] }; + key { [ v, V, doublelowquotemark, singlelowquotemark ] }; + key { [ g, G, leftdoublequotemark, leftsinglequotemark ] }; + key { [ f, F, rightdoublequotemark, rightsinglequotemark ] }; + key { [ z, Z, 0x0100201F, 0x0100201B ] }; + key { [ backslash, bar, currency, brokenbar ] }; + + key { [ space, space, nobreakspace, nobreakspace ] }; + +// Configures the "," for the numeric keypad + include "kpdl(comma)" + +// Configures the use of the AltGr key + include "level3(ralt_switch)" + +}; + + +// +// Teclado Nativo Brasileiro para o teclado estadunidense 2005-07-19 +// Brazilian Nativo Keyboard for USA keyboards +// +// Ari Caldeira ari@tecladobrasileiro.com.br +// +partial alphanumeric_keys +xkb_symbols "nativo-us" { + include "br(nativo)" + + name[Group1]="Brazil - Nativo for USA keyboards"; + +// Lower row + key { [ y, Y, ccedilla, Ccedilla ] }; + key { [ semicolon, colon, backslash, bar ] }; + +}; + + +// +// Teclado Nativo Brasileiro para digitacao em Esperanto 2005-07-19 +// Brazilian Nativo Keyboard for typing Esperanto +// +// Ari Caldeira ari@tecladobrasileiro.com.br +// +partial alphanumeric_keys +xkb_symbols "nativo-epo" { + include "br(nativo)" + + name[Group1]="Brazil - Nativo for Esperanto"; + +// Upper row Esperanto + key { [ h, H, hcircumflex, Hcircumflex ] }; + key { [ ccircumflex, Ccircumflex, x, X ] }; + key { [ ubreve, Ubreve, w, W ] }; + +// Lower row Esperanto + key { [ jcircumflex, Jcircumflex, y, Y ] }; + key { [ scircumflex, Scircumflex, ccedilla, Ccedilla ] }; + key { [ gcircumflex, Gcircumflex, q, Q ] }; + +}; -- cgit v1.2.3