// Modified for a real Latin American keyboard by Fabian Mandelbaum. default partial alphanumeric_keys xkb_symbols "basic" { include "latin(type4)" name[Group1]="Spanish (Latin American)"; key { [ 1, exclam, bar, exclamdown ] }; key { [ 3, numbersign, periodcentered, sterling ] }; key { [ 4, dollar, asciitilde, dollar ] }; key { [ 6, ampersand, notsign, fiveeighths ] }; key { [apostrophe, question, backslash, questiondown ] }; key { [questiondown, exclamdown, dead_cedilla, dead_ogonek] }; key { [dead_acute, dead_diaeresis, dead_diaeresis, dead_abovering ] }; key { [ plus, asterisk, asciitilde, dead_macron ] }; key { [ ntilde, Ntilde, asciitilde, dead_doubleacute ] }; key { [ braceleft, bracketleft, dead_circumflex, braceleft] }; key { [ bar, degree, notsign, notsign ] }; key { [braceright, bracketright, dead_grave, braceright ] }; key { [ less, greater, backslash, bar ] }; include "level3(ralt_switch)" }; partial alphanumeric_keys xkb_symbols "nodeadkeys" { include "latam(basic)" name[Group1]="Spanish (Latin American, no dead keys)"; key { [questiondown, exclamdown, cedilla, ogonek ] }; key { [ grave, asciicircum, bracketleft, degree ] }; key { [ plus, asterisk, bracketright, macron ] }; key { [ ntilde, Ntilde, asciitilde, doubleacute ] }; key { [ acute, diaeresis, braceleft, braceleft ] }; key { [ ccedilla, Ccedilla, braceright, breve ] }; key { [ minus, underscore, dead_belowdot, abovedot ] }; }; partial alphanumeric_keys xkb_symbols "deadtilde" { include "latam(basic)" name[Group1]="Spanish (Latin American, dead tilde)"; key { [ plus, asterisk, dead_tilde, dead_macron ] }; }; // Latin American Spanish Dvorak mapping (note R-H exchange) partial alphanumeric_keys xkb_symbols "dvorak" { name[Group1]="Spanish (Latin American, Dvorak)"; key {[ bar, degree, notsign, notsign ]}; key {[ 1, exclam, bar, exclamdown ]}; key {[ 2, quotedbl, at, oneeighth ]}; key {[ 3, numbersign, periodcentered, sterling ]}; key {[ 4, dollar, asciitilde, dollar ]}; key {[ 5, percent, onehalf, threeeighths ]}; key {[ 6, ampersand, notsign, fiveeighths ]}; key {[ 7, slash, braceleft, seveneighths ]}; key {[ 8, parenleft, bracketleft, trademark ]}; key {[ 9, parenright, bracketright, plusminus ]}; key {[ 0, equal, braceright, degree ]}; key {[ apostrophe, question, backslash, questiondown ]}; key {[ questiondown, exclamdown, dead_cedilla, dead_ogonek ]}; key {[ period, colon, at ]}; key {[ comma, semicolon ]}; key {[ ntilde, Ntilde, lstroke, Lstroke ]}; key {[ p, P, paragraph ]}; key {[ y, Y, yen ]}; key {[ f, F, tslash, Tslash ]}; key {[ g, G, dstroke, Dstroke ]}; key {[ c, C, cent, copyright ]}; key {[ h, H, hstroke, Hstroke ]}; key {[ l, L, sterling ]}; key {[ dead_acute, dead_diaeresis, dead_diaeresis, dead_abovering ]}; key {[ plus, asterisk, asciitilde, dead_macron ]}; key {[ a, A, ae, AE ]}; key {[ o, O, oslash, Oslash ]}; key {[ e, E, EuroSign ]}; key {[ u, U, aring, Aring ]}; key {[ i, I, oe, OE ]}; key {[ d, D, eth, ETH ]}; key {[ r, R, registered, trademark ]}; key {[ t, T, thorn, THORN ]}; key {[ n, N, eng, ENG ]}; key {[ s, S, ssharp, section ]}; key {[ braceleft, bracketleft, dead_circumflex, braceleft ]}; key {[ braceright, bracketright, dead_grave, braceright ]}; key {[ less, greater, guillemotleft, guillemotright ]}; key {[ minus, underscore, hyphen, macron ]}; key {[ q, Q, currency ]}; key {[ j, J ]}; key {[ k, K, kra ]}; key {[ x, X, multiply, division ]}; key {[ b, B ]}; key {[ m, M, mu ]}; key {[ w, W ]}; key {[ v, V ]}; key {[ z, Z ]}; include "level3(ralt_switch)" }; // Latin American Spanish Colemak mapping (inspired by DreymaR) partial alphanumeric_keys xkb_symbols "colemak" { name[Group1]="Spanish (Latin American, Colemak)"; key {[ bar, degree, notsign, notsign ]}; key {[ 1, exclam, bar, exclamdown ]}; key {[ 2, quotedbl, at, oneeighth ]}; key {[ 3, numbersign, periodcentered, sterling ]}; key {[ 4, dollar, asciitilde, dollar ]}; key {[ 5, percent, onehalf, threeeighths ]}; key {[ 6, ampersand, notsign, fiveeighths ]}; key {[ 7, slash, braceleft, seveneighths ]}; key {[ 8, parenleft, bracketleft, trademark ]}; key {[ 9, parenright, bracketright, plusminus ]}; key {[ 0, equal, braceright, degree ]}; key {[ apostrophe, question, backslash, questiondown ]}; key {[ questiondown, exclamdown, dead_cedilla, dead_ogonek ]}; key {[ q, Q, U201A, U201E ]}; key {[ w, W, U2018, U201C ]}; key {[ f, F, U2019, U201D ]}; key {[ p, P, U2293, paragraph ]}; key {[ g, G, eng, ENG ]}; key {[ j, J, U222B, U03A3 ]}; key {[ l, L, lstroke, Lstroke ]}; key {[ u, U, U2039, guillemotleft ]}; key {[ y, Y, U203A, guillemotright ]}; key {[ ntilde, Ntilde, asciitilde, U02EE ]}; key {[ dead_acute, dead_diaeresis, dead_diaeresis, dead_abovering ]}; key {[ plus, asterisk, asciitilde, dead_macron ]}; key {[ a, A, ae, AE ]}; key {[ r, R, registered, trademark ]}; key {[ s, S, ssharp, section ]}; key {[ t, T, thorn, THORN ]}; key {[ d, D, eth, ETH ]}; key {[ h, H, hstroke, Hstroke ]}; key {[ n, N, hyphen, U2190 ]}; key {[ e, E, EuroSign, U2191 ]}; key {[ i, I, U2015, U2192 ]}; key {[ o, O, U00BA, U00AA ]}; key {[ braceleft, bracketleft, dead_circumflex, braceleft ]}; key {[ braceright, bracketright, dead_grave, braceright ]}; key {[ less, greater, bar, U00A6 ]}; key {[ z, Z, U0292, U01B7 ]}; key {[ x, X, U2020, U2021 ]}; key {[ c, C, cent, copyright ]}; key {[ v, V, division, U03B3 ]}; key {[ b, B, U2022, U03B2 ]}; key {[ k, K, U00E7, U00C7 ]}; key {[ m, M, multiply, U2193 ]}; key {[ comma, semicolon, hyphen, multiply ]}; key {[ period, colon, U0323, division ]}; key {[ minus, underscore ]}; include "level3(ralt_switch)" };