summaryrefslogtreecommitdiff
path: root/symbols/latam
blob: 3cce1eacdb07a9d7a959ec0902d96a4256f53f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
// based on a keyboard
// 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 <AE01>	{ [         1,     exclam,          bar,   exclamdown ]	};
    key <AE03>	{ [         3, numbersign, periodcentered,   sterling ]	};
    key <AE04>	{ [         4,     dollar,   asciitilde,       dollar ]	};
    key <AE06>	{ [         6,  ampersand,      notsign,  fiveeighths ]	};
    key <AE11>	{ [apostrophe,   question,    backslash, questiondown ]	};
    key <AE12>	{ [questiondown, exclamdown, dead_cedilla, dead_ogonek]	};

    key <AD11>	{ [dead_acute, dead_diaeresis, dead_diaeresis, dead_abovering ]	};
    key <AD12>	{ [      plus,   asterisk,   asciitilde,  dead_macron ]	};

    key <AC10>	{ [    ntilde,     Ntilde,   asciitilde, dead_doubleacute ] };
    key <AC11>	{ [ braceleft, bracketleft, dead_circumflex, braceleft]	};
    key <TLDE>	{ [       bar,     degree,      notsign,      notsign ]	};

    key <BKSL>	{ [braceright, bracketright, dead_grave,   braceright ]	};

    include "level3(ralt_switch)"
};

partial alphanumeric_keys
xkb_symbols "Sundeadkeys" {
    include "latam(basic)"

    key <AC11>	{ [dead_acute, dead_diaeresis, braceleft, braceleft ]	};
    key <AD11>	{ [dead_grave, dead_circumflex, bracketleft, dead_abovering ] };
};

partial alphanumeric_keys
xkb_symbols "sundeadkeys" {
    include "latam(Sundeadkeys)"
    name[Group1]="Spanish (Latin American, with Sun dead keys)";
};

partial alphanumeric_keys
xkb_symbols "nodeadkeys" {

    include "latam(basic)"

    name[Group1]="Spanish (Latin American, no dead keys)";

    key <AE12>	{ [questiondown, exclamdown,    cedilla,       ogonek ]	};
    key <AD11>	{ [     grave, asciicircum, bracketleft,       degree ]	};
    key <AD12>	{ [      plus,   asterisk, bracketright,       macron ]	};
    key <AC10>	{ [    ntilde,     Ntilde,   asciitilde,  doubleacute ]	};
    key <AC11>	{ [     acute,  diaeresis,    braceleft,    braceleft ]	};
    key <BKSL>	{ [  ccedilla,   Ccedilla,   braceright,        breve ]	};
    key <AB10>	{ [     minus, underscore, dead_belowdot,    abovedot ]	};
};

partial alphanumeric_keys
xkb_symbols "deadtilde" {

    include "latam(basic)"

    name[Group1]="Spanish (Latin American, dead tilde)";

    key <AD12>	{ [      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 <TLDE> {[          bar,     degree,        notsign,      notsign ]};
    key <AE01> {[            1,     exclam,            bar,   exclamdown ]};
    key <AE02> {[            2,   quotedbl,             at,    oneeighth ]};
    key <AE03> {[            3, numbersign, periodcentered,     sterling ]};
    key <AE04> {[            4,     dollar,     asciitilde,       dollar ]};
    key <AE05> {[            5,    percent,        onehalf, threeeighths ]};
    key <AE06> {[            6,  ampersand,        notsign,  fiveeighths ]};
    key <AE07> {[            7,      slash,      braceleft, seveneighths ]};
    key <AE08> {[            8,  parenleft,    bracketleft,    trademark ]};
    key <AE09> {[            9, parenright,   bracketright,    plusminus ]};
    key <AE10> {[            0,      equal,     braceright,       degree ]};
    key <AE11> {[   apostrophe,   question,      backslash, questiondown ]};
    key <AE12> {[ questiondown, exclamdown,   dead_cedilla,  dead_ogonek ]};

    key <AD01> {[     period,          colon,             at                 ]};
    key <AD02> {[      comma,      semicolon                                 ]};
    key <AD03> {[     ntilde,         Ntilde,        lstroke,        Lstroke ]};
    key <AD04> {[          p,              P,      paragraph                 ]};
    key <AD05> {[          y,              Y,            yen                 ]};
    key <AD06> {[          f,              F,         tslash,         Tslash ]};
    key <AD07> {[          g,              G,        dstroke,        Dstroke ]};
    key <AD08> {[          c,              C,           cent,      copyright ]};
    key <AD09> {[          h,              H,        hstroke,        Hstroke ]};
    key <AD10> {[          l,              L,       sterling                 ]};
    key <AD11> {[ dead_acute, dead_diaeresis, dead_diaeresis, dead_abovering ]};
    key <AD12> {[       plus,       asterisk,     asciitilde,    dead_macron ]};

    key <AC01> {[          a,            A,              ae,         AE ]};
    key <AC02> {[          o,            O,          oslash,     Oslash ]};
    key <AC03> {[          e,            E,        EuroSign             ]};
    key <AC04> {[          u,            U,           aring,      Aring ]};
    key <AC05> {[          i,            I,              oe,         OE ]};
    key <AC06> {[          d,            D,             eth,        ETH ]};
    key <AC07> {[          r,            R,      registered,  trademark ]};
    key <AC08> {[          t,            T,           thorn,      THORN ]};
    key <AC09> {[          n,            N,             eng,        ENG ]};
    key <AC10> {[          s,            S,          ssharp,    section ]};
    key <AC11> {[  braceleft,  bracketleft, dead_circumflex,  braceleft ]};
    key <BKSL> {[ braceright, bracketright,      dead_grave, braceright ]};

    key <LSGT> {[       less,    greater, guillemotleft, guillemotright ]};
    key <AB01> {[      minus, underscore,        hyphen, macron         ]};
    key <AB02> {[          q,          Q,      currency                 ]};
    key <AB03> {[          j,          J                                ]};
    key <AB04> {[          k,          K,           kra                 ]};
    key <AB05> {[          x,          X,       multiply, division      ]};
    key <AB06> {[          b,          B                                ]};
    key <AB07> {[          m,          M,            mu                 ]};
    key <AB08> {[          w,          W                                ]};
    key <AB09> {[          v,          V                                ]};
    key <AB10> {[          z,          Z                                ]};

    include "level3(ralt_switch)"
};

// Latin American Spanish Colemak mapping (by eDreymaR)
partial alphanumeric_keys
xkb_symbols "colemak" {

    name[Group1]="Spanish (Latin American, Colemak)";

    key <TLDE> {[          bar,     degree,        notsign,      notsign ]};
    key <AE01> {[            1,     exclam,            bar,   exclamdown ]};
    key <AE02> {[            2,   quotedbl,             at,    oneeighth ]};
    key <AE03> {[            3, numbersign, periodcentered,     sterling ]};
    key <AE04> {[            4,     dollar,     asciitilde,       dollar ]};
    key <AE05> {[            5,    percent,        onehalf, threeeighths ]};
    key <AE06> {[            6,  ampersand,        notsign,  fiveeighths ]};
    key <AE07> {[            7,      slash,      braceleft, seveneighths ]};
    key <AE08> {[            8,  parenleft,    bracketleft,    trademark ]};
    key <AE09> {[            9, parenright,   bracketright,    plusminus ]};
    key <AE10> {[            0,      equal,     braceright,       degree ]};
    key <AE11> {[   apostrophe,   question,      backslash, questiondown ]};
    key <AE12> {[ questiondown, exclamdown,   dead_cedilla,  dead_ogonek ]};

    key <AD01> {[          q,              Q,         U201A,         U201E ]};
    key <AD02> {[          w,              W,         U2018,         U201C ]};
    key <AD03> {[          f,              F,         U2019,         U201D ]};
    key <AD04> {[          p,              P,         U2293,      paragraph ]};
    key <AD05> {[          g,              G,            eng,            ENG ]};
    key <AD06> {[          j,              J,         U222B,         U03A3 ]};
    key <AD07> {[          l,              L,        lstroke,        Lstroke ]};
    key <AD08> {[          u,              U,         U2039,  guillemotleft ]};
    key <AD09> {[          y,              Y,         U203A, guillemotright ]};
    key <AD10> {[     ntilde,         Ntilde,     asciitilde,         U02EE ]};
    key <AD11> {[ dead_acute, dead_diaeresis, dead_diaeresis, dead_abovering ]};
    key <AD12> {[       plus,       asterisk,     asciitilde,    dead_macron ]};

    key <AC01> {[          a,            A,              ae,         AE ]};
    key <AC02> {[          r,            R,      registered,  trademark ]};
    key <AC03> {[          s,            S,          ssharp,    section ]};
    key <AC04> {[          t,            T,           thorn,      THORN ]};
    key <AC05> {[          d,            D,             eth,        ETH ]};
    key <AC06> {[          h,            H,         hstroke,    Hstroke ]};
    key <AC07> {[          n,            N,          hyphen,     U2190 ]};
    key <AC08> {[          e,            E,        EuroSign,     U2191 ]};
    key <AC09> {[          i,            I,          U2015,     U2192 ]};
    key <AC10> {[          o,            O,          U00BA,     U00AA ]};
    key <AC11> {[  braceleft,  bracketleft, dead_circumflex,  braceleft ]};
    key <BKSL> {[ braceright, bracketright,      dead_grave, braceright ]};

    key <LSGT> {[       less,      greater,             bar,     U00A6 ]};
    key <AB01> {[          z,            Z,          U0292,     U01B7 ]};
    key <AB02> {[          x,            X,          U2020,     U2021 ]};
    key <AB03> {[          c,            C,            cent,  copyright ]};
    key <AB04> {[          v,            V,        division,     U03B3 ]};
    key <AB05> {[          b,            B,          U2022,     U03B2 ]};
    key <AB06> {[          k,            K,          U00E7,     U00C7 ]};
    key <AB07> {[          m,            M,        multiply,     U2193 ]};
    key <AB08> {[      comma,    semicolon,          hyphen,   multiply ]};
    key <AB09> {[     period,        colon,          U0323,   division ]};
    key <AB10> {[      minus,   underscore                              ]};

    include "level3(ralt_switch)"
};


// Latin American Spanish Colemak mapping (by eDreymaR), customized to
// keep WASD in a qwerty-like layout
partial alphanumeric_keys
xkb_symbols "colemak-gaming" {

    name[Group1]="Spanish (Latin American, Colemak for gaming)";

    key <TLDE> {[          bar,     degree,        notsign,      notsign ]};
    key <AE01> {[            1,     exclam,            bar,   exclamdown ]};
    key <AE02> {[            2,   quotedbl,             at,    oneeighth ]};
    key <AE03> {[            3, numbersign, periodcentered,     sterling ]};
    key <AE04> {[            4,     dollar,     asciitilde,       dollar ]};
    key <AE05> {[            5,    percent,        onehalf, threeeighths ]};
    key <AE06> {[            6,  ampersand,        notsign,  fiveeighths ]};
    key <AE07> {[            7,      slash,      braceleft, seveneighths ]};
    key <AE08> {[            8,  parenleft,    bracketleft,    trademark ]};
    key <AE09> {[            9, parenright,   bracketright,    plusminus ]};
    key <AE10> {[            0,      equal,     braceright,       degree ]};
    key <AE11> {[   apostrophe,   question,      backslash, questiondown ]};
    key <AE12> {[ questiondown, exclamdown,   dead_cedilla,  dead_ogonek ]};

    key <AD01> {[          q,              Q,         U201A,         U201E ]};
    key <AD02> {[          w,              W,         U2018,         U201C ]};
    key <AD03> {[          f,              F,         U2019,         U201D ]};
    key <AD04> {[          p,              P,         U2293,      paragraph ]};
    key <AD05> {[          g,              G,            eng,            ENG ]};
    key <AD06> {[          j,              J,         U222B,         U03A3 ]};
    key <AD07> {[          l,              L,        lstroke,        Lstroke ]};
    key <AD08> {[          u,              U,         U2039,  guillemotleft ]};
    key <AD09> {[          y,              Y,         U203A, guillemotright ]};
    key <AD10> {[     ntilde,         Ntilde,     asciitilde,         U02EE ]};
    key <AD11> {[ dead_acute, dead_diaeresis, dead_diaeresis, dead_abovering ]};
    key <AD12> {[       plus,       asterisk,     asciitilde,    dead_macron ]};

    key <AC01> {[          a,            A,              ae,         AE ]};
    key <AC02> {[          s,            S,          ssharp,    section ]};
    key <AC03> {[          d,            D,             eth,        ETH ]};
    key <AC04> {[          t,            T,           thorn,      THORN ]};
    key <AC05> {[          r,            R,      registered,  trademark ]};
    key <AC06> {[          h,            H,         hstroke,    Hstroke ]};
    key <AC07> {[          n,            N,          hyphen,     U2190 ]};
    key <AC08> {[          e,            E,        EuroSign,     U2191 ]};
    key <AC09> {[          i,            I,          U2015,     U2192 ]};
    key <AC10> {[          o,            O,          U00BA,     U00AA ]};
    key <AC11> {[  braceleft,  bracketleft, dead_circumflex,  braceleft ]};
    key <BKSL> {[ braceright, bracketright,      dead_grave, braceright ]};

    key <LSGT> {[       less,      greater,             bar,     U00A6 ]};
    key <AB01> {[          z,            Z,          U0292,     U01B7 ]};
    key <AB02> {[          x,            X,          U2020,     U2021 ]};
    key <AB03> {[          c,            C,            cent,  copyright ]};
    key <AB04> {[          v,            V,        division,     U03B3 ]};
    key <AB05> {[          b,            B,          U2022,     U03B2 ]};
    key <AB06> {[          k,            K,          U00E7,     U00C7 ]};
    key <AB07> {[          m,            M,        multiply,     U2193 ]};
    key <AB08> {[      comma,    semicolon,          hyphen,   multiply ]};
    key <AB09> {[     period,        colon,          U0323,   division ]};
    key <AB10> {[      minus,   underscore                              ]};

    include "level3(ralt_switch)"
};