Home | History | Annotate | Line # | Download | only in symbols
      1 // Modified for a real Latin American keyboard by Fabian Mandelbaum.
      2 default partial alphanumeric_keys
      3 xkb_symbols "basic" {
      4 
      5     include "latin(type4)"
      6 
      7     name[Group1]="Spanish (Latin American)";
      8 
      9     key <AE01>	{ [         1,     exclam,          bar,   exclamdown ]	};
     10     key <AE03>	{ [         3, numbersign, periodcentered,   sterling ]	};
     11     key <AE04>	{ [         4,     dollar,   asciitilde,       dollar ]	};
     12     key <AE06>	{ [         6,  ampersand,      notsign,  fiveeighths ]	};
     13     key <AE11>	{ [apostrophe,   question,    backslash, questiondown ]	};
     14     key <AE12>	{ [questiondown, exclamdown, dead_cedilla, dead_ogonek]	};
     15 
     16     key <AD11>	{ [dead_acute, dead_diaeresis, dead_diaeresis, dead_abovering ]	};
     17     key <AD12>	{ [      plus,   asterisk,   asciitilde,  dead_macron ]	};
     18 
     19     key <AC10>	{ [    ntilde,     Ntilde,   asciitilde, dead_doubleacute ] };
     20     key <AC11>	{ [ braceleft, bracketleft, dead_circumflex, braceleft]	};
     21     key <TLDE>	{ [       bar,     degree,      notsign,      notsign ]	};
     22 
     23     key <BKSL>	{ [braceright, bracketright, dead_grave,   braceright ]	};
     24 
     25     key <LSGT>	{ [      less,    greater,    backslash,          bar ] };
     26 
     27     include "level3(ralt_switch)"
     28 };
     29 
     30 partial alphanumeric_keys
     31 xkb_symbols "nodeadkeys" {
     32 
     33     include "latam(basic)"
     34 
     35     name[Group1]="Spanish (Latin American, no dead keys)";
     36 
     37     key <AE12>	{ [questiondown, exclamdown,    cedilla,       ogonek ]	};
     38     key <AD11>	{ [     grave, asciicircum, bracketleft,       degree ]	};
     39     key <AD12>	{ [      plus,   asterisk, bracketright,       macron ]	};
     40     key <AC10>	{ [    ntilde,     Ntilde,   asciitilde,  doubleacute ]	};
     41     key <AC11>	{ [     acute,  diaeresis,    braceleft,    braceleft ]	};
     42     key <BKSL>	{ [  ccedilla,   Ccedilla,   braceright,        breve ]	};
     43     key <AB10>	{ [     minus, underscore, dead_belowdot,    abovedot ]	};
     44 };
     45 
     46 partial alphanumeric_keys
     47 xkb_symbols "deadtilde" {
     48 
     49     include "latam(basic)"
     50 
     51     name[Group1]="Spanish (Latin American, dead tilde)";
     52 
     53     key <AD12>	{ [      plus,   asterisk,   dead_tilde,  dead_macron ]	};
     54 };
     55 
     56 // Latin American Spanish Dvorak mapping (note R-H exchange)
     57 partial alphanumeric_keys
     58 xkb_symbols "dvorak" {
     59 
     60     name[Group1]="Spanish (Latin American, Dvorak)";
     61 
     62     key <TLDE> {[          bar,     degree,        notsign,      notsign ]};
     63     key <AE01> {[            1,     exclam,            bar,   exclamdown ]};
     64     key <AE02> {[            2,   quotedbl,             at,    oneeighth ]};
     65     key <AE03> {[            3, numbersign, periodcentered,     sterling ]};
     66     key <AE04> {[            4,     dollar,     asciitilde,       dollar ]};
     67     key <AE05> {[            5,    percent,        onehalf, threeeighths ]};
     68     key <AE06> {[            6,  ampersand,        notsign,  fiveeighths ]};
     69     key <AE07> {[            7,      slash,      braceleft, seveneighths ]};
     70     key <AE08> {[            8,  parenleft,    bracketleft,    trademark ]};
     71     key <AE09> {[            9, parenright,   bracketright,    plusminus ]};
     72     key <AE10> {[            0,      equal,     braceright,       degree ]};
     73     key <AE11> {[   apostrophe,   question,      backslash, questiondown ]};
     74     key <AE12> {[ questiondown, exclamdown,   dead_cedilla,  dead_ogonek ]};
     75 
     76     key <AD01> {[     period,          colon,             at                 ]};
     77     key <AD02> {[      comma,      semicolon                                 ]};
     78     key <AD03> {[     ntilde,         Ntilde,        lstroke,        Lstroke ]};
     79     key <AD04> {[          p,              P,      paragraph                 ]};
     80     key <AD05> {[          y,              Y,            yen                 ]};
     81     key <AD06> {[          f,              F,         tslash,         Tslash ]};
     82     key <AD07> {[          g,              G,        dstroke,        Dstroke ]};
     83     key <AD08> {[          c,              C,           cent,      copyright ]};
     84     key <AD09> {[          h,              H,        hstroke,        Hstroke ]};
     85     key <AD10> {[          l,              L,       sterling                 ]};
     86     key <AD11> {[ dead_acute, dead_diaeresis, dead_diaeresis, dead_abovering ]};
     87     key <AD12> {[       plus,       asterisk,     asciitilde,    dead_macron ]};
     88 
     89     key <AC01> {[          a,            A,              ae,         AE ]};
     90     key <AC02> {[          o,            O,          oslash,     Oslash ]};
     91     key <AC03> {[          e,            E,        EuroSign             ]};
     92     key <AC04> {[          u,            U,           aring,      Aring ]};
     93     key <AC05> {[          i,            I,              oe,         OE ]};
     94     key <AC06> {[          d,            D,             eth,        ETH ]};
     95     key <AC07> {[          r,            R,      registered,  trademark ]};
     96     key <AC08> {[          t,            T,           thorn,      THORN ]};
     97     key <AC09> {[          n,            N,             eng,        ENG ]};
     98     key <AC10> {[          s,            S,          ssharp,    section ]};
     99     key <AC11> {[  braceleft,  bracketleft, dead_circumflex,  braceleft ]};
    100     key <BKSL> {[ braceright, bracketright,      dead_grave, braceright ]};
    101 
    102     key <LSGT> {[       less,    greater, guillemotleft, guillemotright ]};
    103     key <AB01> {[      minus, underscore,        hyphen, macron         ]};
    104     key <AB02> {[          q,          Q,      currency                 ]};
    105     key <AB03> {[          j,          J                                ]};
    106     key <AB04> {[          k,          K,           kra                 ]};
    107     key <AB05> {[          x,          X,       multiply, division      ]};
    108     key <AB06> {[          b,          B                                ]};
    109     key <AB07> {[          m,          M,            mu                 ]};
    110     key <AB08> {[          w,          W                                ]};
    111     key <AB09> {[          v,          V                                ]};
    112     key <AB10> {[          z,          Z                                ]};
    113 
    114     include "level3(ralt_switch)"
    115 };
    116 
    117 // Latin American Spanish Colemak mapping (inspired by DreymaR)
    118 partial alphanumeric_keys
    119 xkb_symbols "colemak" {
    120 
    121     name[Group1]="Spanish (Latin American, Colemak)";
    122 
    123     key <TLDE> {[          bar,     degree,        notsign,      notsign ]};
    124     key <AE01> {[            1,     exclam,            bar,   exclamdown ]};
    125     key <AE02> {[            2,   quotedbl,             at,    oneeighth ]};
    126     key <AE03> {[            3, numbersign, periodcentered,     sterling ]};
    127     key <AE04> {[            4,     dollar,     asciitilde,       dollar ]};
    128     key <AE05> {[            5,    percent,        onehalf, threeeighths ]};
    129     key <AE06> {[            6,  ampersand,        notsign,  fiveeighths ]};
    130     key <AE07> {[            7,      slash,      braceleft, seveneighths ]};
    131     key <AE08> {[            8,  parenleft,    bracketleft,    trademark ]};
    132     key <AE09> {[            9, parenright,   bracketright,    plusminus ]};
    133     key <AE10> {[            0,      equal,     braceright,       degree ]};
    134     key <AE11> {[   apostrophe,   question,      backslash, questiondown ]};
    135     key <AE12> {[ questiondown, exclamdown,   dead_cedilla,  dead_ogonek ]};
    136 
    137     key <AD01> {[          q,              Q,         U201A,         U201E ]};
    138     key <AD02> {[          w,              W,         U2018,         U201C ]};
    139     key <AD03> {[          f,              F,         U2019,         U201D ]};
    140     key <AD04> {[          p,              P,         U2293,      paragraph ]};
    141     key <AD05> {[          g,              G,            eng,            ENG ]};
    142     key <AD06> {[          j,              J,         U222B,         U03A3 ]};
    143     key <AD07> {[          l,              L,        lstroke,        Lstroke ]};
    144     key <AD08> {[          u,              U,         U2039,  guillemotleft ]};
    145     key <AD09> {[          y,              Y,         U203A, guillemotright ]};
    146     key <AD10> {[     ntilde,         Ntilde,     asciitilde,         U02EE ]};
    147     key <AD11> {[ dead_acute, dead_diaeresis, dead_diaeresis, dead_abovering ]};
    148     key <AD12> {[       plus,       asterisk,     asciitilde,    dead_macron ]};
    149 
    150     key <AC01> {[          a,            A,              ae,         AE ]};
    151     key <AC02> {[          r,            R,      registered,  trademark ]};
    152     key <AC03> {[          s,            S,          ssharp,    section ]};
    153     key <AC04> {[          t,            T,           thorn,      THORN ]};
    154     key <AC05> {[          d,            D,             eth,        ETH ]};
    155     key <AC06> {[          h,            H,         hstroke,    Hstroke ]};
    156     key <AC07> {[          n,            N,          hyphen,     U2190 ]};
    157     key <AC08> {[          e,            E,        EuroSign,     U2191 ]};
    158     key <AC09> {[          i,            I,          U2015,     U2192 ]};
    159     key <AC10> {[          o,            O,          U00BA,     U00AA ]};
    160     key <AC11> {[  braceleft,  bracketleft, dead_circumflex,  braceleft ]};
    161     key <BKSL> {[ braceright, bracketright,      dead_grave, braceright ]};
    162 
    163     key <LSGT> {[       less,      greater,             bar,     U00A6 ]};
    164     key <AB01> {[          z,            Z,          U0292,     U01B7 ]};
    165     key <AB02> {[          x,            X,          U2020,     U2021 ]};
    166     key <AB03> {[          c,            C,            cent,  copyright ]};
    167     key <AB04> {[          v,            V,        division,     U03B3 ]};
    168     key <AB05> {[          b,            B,          U2022,     U03B2 ]};
    169     key <AB06> {[          k,            K,          U00E7,     U00C7 ]};
    170     key <AB07> {[          m,            M,        multiply,     U2193 ]};
    171     key <AB08> {[      comma,    semicolon,          hyphen,   multiply ]};
    172     key <AB09> {[     period,        colon,          U0323,   division ]};
    173     key <AB10> {[      minus,   underscore                              ]};
    174 
    175     include "level3(ralt_switch)"
    176 };
    177