// based on a keyboard map from an 'xkb/symbols/pt' file partial default alphanumeric_keys xkb_symbols "basic" { include "latin(type4)" name[Group1]="Portuguese"; key { [ less, greater ] }; key { [ 3, numbersign, sterling, sterling ] }; key { [ 4, dollar, section, dollar ] }; key { [apostrophe, question, backslash, questiondown ] }; key { [guillemotleft, guillemotright, dead_cedilla, dead_ogonek ] }; key { [ plus, asterisk, dead_diaeresis, dead_abovering ] }; key { [dead_acute, dead_grave, dead_tilde, dead_macron ] }; key { [ ccedilla, Ccedilla, dead_acute, dead_doubleacute ] }; key { [ masculine, ordfeminine, dead_circumflex, dead_caron ] }; key { [ backslash, bar, notsign, notsign ] }; key { [dead_tilde, dead_circumflex, dead_grave, dead_breve] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "Sundeadkeys" { include "pt(basic)" // for consistent naming key { [plus, asterisk, dead_diaeresis, dead_diaeresis ] }; key { [dead_tilde, dead_circumflex ] }; key { [dead_acute, dead_grave ] }; }; partial alphanumeric_keys xkb_symbols "sundeadkeys" { include "pt(Sundeadkeys)" // for consistent naming name[Group1]="Portuguese (Sun dead keys)"; }; partial alphanumeric_keys xkb_symbols "nodeadkeys" { include "pt(basic)" // for consistent naming name[Group1]="Portuguese (eliminate dead keys)"; key { [guillemotleft, guillemotright, cedilla, ogonek ] }; key { [ plus, asterisk, quotedbl, quotedbl ] }; key { [ acute, grave ] }; key { [ ccedilla, Ccedilla, acute, doubleacute ] }; key { [ masculine, ordfeminine, asciicircum, caron ] }; key { [asciitilde, asciicircum ] }; key { [ minus, underscore, dead_belowdot, abovedot ] }; }; // mac version from Ricardo Cabral // Copied from macintosh_vndr/pt partial alphanumeric_keys xkb_symbols "mac" { // Describes the differences between a very simple en_US // keyboard and a very simple Portuguese keybaord include "pt" name[Group1]= "Portuguese (Macintosh)"; key { [ 6, ampersand, threequarters, fiveeighths ] }; key { [ 8, parenleft, bracketleft, braceleft ] }; key { [ 9, parenright, bracketright, braceright ] }; key { [ plus, asterisk, dead_diaeresis ] }; key { [ dead_tilde, dead_circumflex ] }; key { [ masculine, ordfeminine ] }; key { [ backslash, bar, dead_grave, dead_breve ] }; key { [ grave, asciitilde, notsign, notsign ] }; }; partial alphanumeric_keys xkb_symbols "mac_sundeadkeys" { include "pt(mac)" name[Group1]= "Portuguese (Macintosh, Sun dead keys)"; key { [ plus, asterisk, dead_diaeresis, dead_diaeresis ] }; key { [ dead_tilde, dead_circumflex ] }; key { [ dead_acute, dead_grave ] }; }; partial alphanumeric_keys xkb_symbols "mac_nodeadkeys" { include "pt(mac)" name[Group1]= "Portuguese (Macintosh, eliminate dead keys)"; key { [ plus, asterisk, quotedbl, quotedbl ] }; key { [ asciitilde, asciicircum ] }; key { [ acute, grave ] }; }; // // Teclado Nativo Portugues 2005-07-19 // Portuguese 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]="Portuguese (Nativo)"; // Numeric row key { [ plus, asterisk, dead_diaeresis, plusminus ] }; key { [ 1, exclam, onesuperior, exclamdown ] }; key { [ 2, quotedbl, at, twosuperior ] }; key { [ 3, numbersign, sterling, threesuperior ] }; key { [ 4, dollar, section, onequarter ] }; key { [ 5, percent, cent, 0x01002030 ] }; key { [ 6, ampersand, notsign, diaeresis ] }; key { [ 7, slash, braceleft, 0x0100032D ] }; key { [ 8, parenleft, bracketleft, 0x01000331 ] }; key { [ 9, parenright, bracketright, dead_horn ] }; key { [ 0, equal, braceright, dead_hook ] }; key { [ masculine, ordfeminine, dead_ogonek, 0x01000326 ] }; key { [ less, greater, dead_cedilla, dead_abovering ] }; // Upper row key { [ apostrophe, question, degree, questiondown ] }; key { [ comma, semicolon, 0x01000329, 0x01000315 ] }; key { [ period, colon, 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, dead_caron, dead_doubleacute ] }; 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, dead_macron, dead_breve ] }; key { [ backslash, bar, dead_belowdot, dead_abovedot ] }; // Lower row key { [ guillemotleft, guillemotright, 0x01002039, 0x0100203A ] }; key { [ y, Y, yen, yen ] }; key { [ ccedilla, Ccedilla ] }; key { [ j, J, 0x01000292, 0x010001B7 ] }; key { [ b, B, apostrophe, quotedbl ] }; key { [ k, K, currency, brokenbar ] }; 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 { [ space, space, nobreakspace, nobreakspace ] }; // Configures the use of the AltGr key include "level3(ralt_switch)" }; // // Teclado Nativo Portugues para o teclado estadunidense 2005-07-19 // Portuguese Nativo Keyboard for USA keyboards // // Ari Caldeira ari@tecladobrasileiro.com.br // partial alphanumeric_keys xkb_symbols "nativo-us" { include "pt(nativo)" name[Group1]="Portuguese (Nativo for USA keyboards)"; // Lower row key { [ y, Y, ccedilla, Ccedilla ] }; key { [ guillemotleft, guillemotright, 0x01002039, 0x0100203A ] }; }; // // Teclado Nativo Portugues para digitacao em Esperanto 2005-07-19 // Portuguese Nativo Keyboard for typing Esperanto // // Ari Caldeira ari@tecladobrasileiro.com.br // partial alphanumeric_keys xkb_symbols "nativo-epo" { include "pt(nativo)" name[Group1]="Esperanto (Portugal, Nativo)"; // 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 ] }; };