2 // Modified for a real Spanish Keyboard by Jon Tombs
5 partial default alphanumeric_keys
12 key <AE01> { [ 1, exclam, bar, exclamdown ] };
13 key <AE03> { [ 3, periodcentered, numbersign, sterling ] };
14 key <AE04> { [ 4, dollar, asciitilde, dollar ] };
15 key <AE06> { [ 6, ampersand, notsign, fiveeighths ] };
16 key <AE11> { [apostrophe, question, backslash, questiondown ] };
17 key <AE12> { [exclamdown, questiondown, dead_tilde, asciitilde ] };
19 key <AD11> { [dead_grave, dead_circumflex, bracketleft, dead_abovering ] };
20 key <AD12> { [ plus, asterisk, bracketright, dead_macron ] };
22 key <AC10> { [ ntilde, Ntilde, asciitilde, dead_doubleacute ] };
23 key <AC11> { [dead_acute, dead_diaeresis, braceleft, braceleft ] };
24 key <TLDE> { [ masculine, ordfeminine, backslash, backslash ] };
26 key <BKSL> { [ ccedilla, Ccedilla, braceright, dead_breve ] };
28 include "level3(ralt_switch)"
31 partial alphanumeric_keys
32 xkb_symbols "Sundeadkeys" {
36 key <AC11> { [dead_acute, dead_diaeresis, braceleft, braceleft ] };
37 key <AD11> { [dead_grave, dead_circumflex, bracketleft, dead_abovering ] };
40 partial alphanumeric_keys
41 xkb_symbols "sundeadkeys" {
43 include "es(Sundeadkeys)"
45 name[Group1]="Spain - Sun dead keys";
48 partial alphanumeric_keys
49 xkb_symbols "nodeadkeys" {
53 name[Group1]="Spain - Eliminate dead keys";
55 key <AD11> { [ grave, asciicircum, bracketleft, degree ] };
56 key <AD12> { [ plus, asterisk, bracketright, macron ] };
57 key <AC10> { [ ntilde, Ntilde, asciitilde, doubleacute ] };
58 key <AC11> { [ acute, diaeresis, braceleft, braceleft ] };
59 key <BKSL> { [ ccedilla, Ccedilla, braceright, breve ] };
60 key <AB10> { [ minus, underscore, dead_belowdot, abovedot ] };
63 // Spanish mapping (note R-H exchange)
64 partial alphanumeric_keys
65 xkb_symbols "dvorak" {
67 name[Group1]="Spain - Dvorak";
69 // Alphanumeric section
70 key <TLDE> {[ masculine, ordfeminine, backslash, degree ]};
71 key <AE01> {[ 1, exclam, bar, onesuperior ]};
72 key <AE02> {[ 2, quotedbl, at, twosuperior ]};
73 key <AE03> {[ 3, periodcentered, numbersign, threesuperior ]};
74 key <AE04> {[ 4, dollar, asciitilde, onequarter ]};
75 key <AE05> {[ 5, percent, brokenbar, fiveeighths ]};
76 key <AE06> {[ 6, ampersand, notsign, threequarters ]};
77 key <AE07> {[ 7, slash, onehalf, seveneighths ]};
78 key <AE08> {[ 8, parenleft, oneeighth, threeeighths ]};
79 key <AE09> {[ 9, parenright, asciicircum ]};
80 key <AE10> {[ 0, equal, grave, dead_doubleacute ]};
81 key <AE11> {[ apostrophe, question, dead_macron, dead_ogonek ]};
82 key <AE12> {[ exclamdown, questiondown, dead_breve, dead_abovedot ]};
84 key <AD01> {[ period, colon ]};
85 key <AD02> {[ comma, semicolon ]};
86 key <AD03> {[ ntilde, Ntilde, lstroke, Lstroke ]};
87 key <AD04> {[ p, P, paragraph ]};
88 key <AD05> {[ y, Y, yen ]};
89 key <AD06> {[ f, F, tslash, Tslash ]};
90 key <AD07> {[ g, G, dstroke, Dstroke ]};
91 key <AD08> {[ c, C, cent, copyright ]};
92 key <AD09> {[ h, H, hstroke, Hstroke ]};
93 key <AD10> {[ l, L, sterling ]};
94 key <AD11> {[ dead_grave, dead_circumflex, bracketleft, dead_caron ]};
95 key <AD12> {[ plus, asterisk, bracketright, plusminus ]};
97 key <AC01> {[ a, A, ae, AE ]};
98 key <AC02> {[ o, O, oslash, Oslash ]};
99 key <AC03> {[ e, E, EuroSign ]};
100 key <AC04> {[ u, U, aring, Aring ]};
101 key <AC05> {[ i, I, oe, OE ]};
102 key <AC06> {[ d, D, eth, ETH ]};
103 key <AC07> {[ r, R, registered, trademark ]};
104 key <AC08> {[ t, T, thorn, THORN ]};
105 key <AC09> {[ n, N, eng, ENG ]};
106 key <AC10> {[ s, S, ssharp, section ]};
107 key <AC11> {[ dead_acute, dead_diaeresis, braceleft, dead_tilde ]};
108 key <BKSL> {[ ccedilla, Ccedilla, braceright, dead_cedilla ]};
110 key <LSGT> {[ less, greater, guillemotleft, guillemotright ]};
111 key <AB01> {[ minus, underscore, hyphen, macron ]};
112 key <AB02> {[ q, Q, currency ]};
113 key <AB03> {[ j, J ]};
114 key <AB04> {[ k, K, kra ]};
115 key <AB05> {[ x, X, multiply, division ]};
116 key <AB06> {[ b, B ]};
117 key <AB07> {[ m, M, mu ]};
118 key <AB08> {[ w, W ]};
119 key <AB09> {[ v, V ]};
120 key <AB10> {[ z, Z ]};
122 include "level3(ralt_switch)"
125 partial alphanumeric_keys
130 name[Group1]="Spain - Catalan variant with middle-dot L";
132 key <AC09> { [ l, L, 0x1000140, 0x100013F ] };
135 partial alphanumeric_keys
140 name[Group1]="Spain - Asturian variant with bottom-dot H and bottom-dot L";
142 key <AC06> { [ h, H, 0x1001E25, 0x1001E24 ] };
143 key <AC09> { [ l, L, 0x1001E37, 0x1001E36 ] };
146 // Copied from macintosh_vndr/es
147 partial alphanumeric_keys
150 // Describes the differences between a very simple mac_US
151 // keyboard and a very simple Spanish keybaord
154 name[Group1]= "Spain - Macintosh";
158 partial alphanumeric_keys
162 name[Group1]="Spain";
164 key <TLDE> { [ masculine, ordfeminine ] };
165 key <AE01> { [ 1, exclam, bar ] };
166 key <AE02> { [ 2, quotedbl, at ] };
167 key <AE03> { [ 3, dead_grave, numbersign, grave ] };
168 key <AE05> { [ 5, percent, asciicircum, dead_circumflex ] };
169 key <AE06> { [ 6, ampersand, notsign ] };
170 key <AE07> { [ 7, slash, backslash ] };
171 key <AE08> { [ 8, parenleft ] };
172 key <AE09> { [ 9, parenright ] };
173 key <AE10> { [ 0, equal ] };
174 key <AE11> { [ apostrophe, question ] };
175 key <AE12> { [ exclamdown, questiondown ] };
177 key <AD03> { [ e, E, EuroSign ] };
178 key <AD11> { [ dead_acute, dead_diaeresis, acute, dead_abovering ] };
179 key <AD12> { [ bracketleft, braceleft ] };
181 key <AC10> { [ ntilde, Ntilde ] };
182 key <AC11> { [ plus, asterisk, dead_tilde ] };
183 key <BKSL> { [ bracketright, braceright, section ] };
185 key <AB08> { [ comma, semicolon ] };
186 key <AB09> { [ period, colon ] };
187 key <AB10> { [ minus, underscore ] };
189 key <I219> { [ less, greater, ISO_Next_Group ] };
191 include "level3(ralt_switch)"
194 partial alphanumeric_keys
195 xkb_symbols "deadtilde" {
199 name[Group1]="Spain - Include dead tilde";
201 key <AE04> { [ 4, dollar, dead_tilde, dollar ] };
204 partial alphanumeric_keys
205 xkb_symbols "olpc2" {
207 // Modified variant of US International layout, specifically for Peru
208 // Contact: Sayamindu Dasgupta <sayamindu@laptop.org>
211 name[Group1]="Spain - OLPC2";
213 key <AE03> { [ 3, numbersign, dead_grave, dead_grave] }; // combining grave
214 key <I236> { [ XF86Start ] };
216 include "level3(ralt_switch)"