4 // Modified for a real Spanish Keyboard by Jon Tombs
6 // $XFree86: xc/programs/xkbcomp/symbols/es,v 1.2 2002/11/22 04:03:28 dawes Exp $
8 partial default alphanumeric_keys
11 include "latin(type4)"
15 key <AE01> { [ 1, exclam, bar, exclamdown ] };
16 key <AE03> { [ 3, periodcentered, numbersign, sterling ] };
17 key <AE04> { [ 4, dollar, dead_tilde, dollar ] };
18 key <AE06> { [ 6, ampersand, notsign, fiveeighths ] };
19 key <AE11> { [apostrophe, question, backslash, questiondown ] };
20 key <AE12> { [exclamdown, questiondown, asciitilde, asciitilde ] };
22 key <AD11> { [dead_grave, dead_circumflex, bracketleft, dead_abovering ] };
23 key <AD12> { [ plus, asterisk, bracketright, dead_macron ] };
25 key <AC10> { [ ntilde, Ntilde, asciitilde, dead_doubleacute ] };
26 key <AC11> { [dead_acute, dead_diaeresis, braceleft, braceleft ] };
27 key <TLDE> { [ masculine, ordfeminine, backslash, backslash ] };
29 key <BKSL> { [ ccedilla, Ccedilla, braceright, dead_breve ] };
31 include "level3(ralt_switch)"
34 partial alphanumeric_keys
35 xkb_symbols "Sundeadkeys" {
39 key <AC11> { [SunFA_Acute, SunFA_Diaeresis, braceleft, braceleft ] };
40 key <AD11> { [SunFA_Grave, SunFA_Circum, bracketleft, dead_abovering ] };
43 partial alphanumeric_keys
44 xkb_symbols "sundeadkeys" {
46 include "es(Sundeadkeys)"
48 name[Group1]="Spain - Sun dead keys";
51 partial alphanumeric_keys
52 xkb_symbols "nodeadkeys" {
56 name[Group1]="Spain - Eliminate dead keys";
58 key <AE04> { [ 4, dollar, asciitilde, dollar ] };
59 key <AD11> { [ grave, asciicircum, bracketleft, degree ] };
60 key <AD12> { [ plus, asterisk, bracketright, macron ] };
61 key <AC10> { [ ntilde, Ntilde, asciitilde, doubleacute ] };
62 key <AC11> { [ acute, diaeresis, braceleft, braceleft ] };
63 key <BKSL> { [ ccedilla, Ccedilla, braceright, breve ] };
64 key <AB10> { [ minus, underscore, dead_belowdot, abovedot ] };
67 // Spanish mapping (note R-H exchange)
68 partial alphanumeric_keys
69 xkb_symbols "dvorak" {
71 name[Group1]="Spain - Dvorak";
73 // Alphanumeric section
74 key <TLDE> {[ masculine, ordfeminine, backslash, degree ]};
75 key <AE01> {[ 1, exclam, bar, onesuperior ]};
76 key <AE02> {[ 2, quotedbl, at, twosuperior ]};
77 key <AE03> {[ 3, periodcentered, numbersign, threesuperior ]};
78 key <AE04> {[ 4, dollar, asciitilde, onequarter ]};
79 key <AE05> {[ 5, percent, brokenbar, fiveeighths ]};
80 key <AE06> {[ 6, ampersand, notsign, threequarters ]};
81 key <AE07> {[ 7, slash, onehalf, seveneighths ]};
82 key <AE08> {[ 8, parenleft, oneeighth, threeeighths ]};
83 key <AE09> {[ 9, parenright, asciicircum ]};
84 key <AE10> {[ 0, equal, grave, dead_doubleacute ]};
85 key <AE11> {[ apostrophe, question, dead_macron, dead_ogonek ]};
86 key <AE12> {[ exclamdown, questiondown, dead_breve, dead_abovedot ]};
88 key <AD01> {[ period, colon ]};
89 key <AD02> {[ comma, semicolon ]};
90 key <AD03> {[ ntilde, Ntilde, lstroke, Lstroke ]};
91 key <AD04> {[ p, P, paragraph ]};
92 key <AD05> {[ y, Y, yen ]};
93 key <AD06> {[ f, F, tslash, Tslash ]};
94 key <AD07> {[ g, G, dstroke, Dstroke ]};
95 key <AD08> {[ c, C, cent, copyright ]};
96 key <AD09> {[ h, H, hstroke, Hstroke ]};
97 key <AD10> {[ l, L, sterling ]};
98 key <AD11> {[ dead_grave, dead_circumflex, bracketleft, dead_caron ]};
99 key <AD12> {[ plus, asterisk, bracketright, plusminus ]};
101 key <AC01> {[ a, A, ae, AE ]};
102 key <AC02> {[ o, O, oslash, Oslash ]};
103 key <AC03> {[ e, E, EuroSign ]};
104 key <AC04> {[ u, U, aring, Aring ]};
105 key <AC05> {[ i, I, oe, OE ]};
106 key <AC06> {[ d, D, eth, ETH ]};
107 key <AC07> {[ r, R, registered, trademark ]};
108 key <AC08> {[ t, T, thorn, THORN ]};
109 key <AC09> {[ n, N, eng, ENG ]};
110 key <AC10> {[ s, S, ssharp, section ]};
111 key <AC11> {[ dead_acute, dead_diaeresis, braceleft, dead_tilde ]};
112 key <BKSL> {[ ccedilla, Ccedilla, braceright, dead_cedilla ]};
114 key <LSGT> {[ less, greater, guillemotleft, guillemotright ]};
115 key <AB01> {[ minus, underscore, hyphen, macron ]};
116 key <AB02> {[ q, Q, currency ]};
117 key <AB03> {[ j, J ]};
118 key <AB04> {[ k, K, kra ]};
119 key <AB05> {[ x, X, multiply, division ]};
120 key <AB06> {[ b, B ]};
121 key <AB07> {[ m, M, mu ]};
122 key <AB08> {[ w, W ]};
123 key <AB09> {[ v, V ]};
124 key <AB10> {[ z, Z ]};
126 include "level3(ralt_switch)"
129 partial alphanumeric_keys
134 name[Group1]="Spain - Catalan variant with middle-dot L";
136 key <AC09> { [ l, L, 0x1000140, 0x100013F ] };
140 // Copied from macintosh_vndr/es
141 partial alphanumeric_keys
144 // Describes the differences between a very simple mac_US
145 // keyboard and a very simple Spanish keybaord
148 name[Group1]= "Spain - Macintosh";
152 partial alphanumeric_keys
156 name[Group1]="Spain";
158 key <TLDE> { [ bar, degree ] };
159 key <AE02> { [ 2, quotedbl, at ] };
160 key <AE03> { [ 3, dead_grave, numbersign ] };
161 key <AE05> { [ 5, percent, dead_circumflex ] };
162 key <AE06> { [ 6, ampersand, notsign ] };
163 key <AE07> { [ 7, slash, backslash ] };
164 key <AE08> { [ 8, parenleft ] };
165 key <AE09> { [ 9, parenright ] };
166 key <AE10> { [ 0, equal ] };
167 key <AE11> { [ apostrophe, question ] };
168 key <AE12> { [ exclamdown, questiondown ] };
170 key <AD03> { [ e, E, EuroSign ] };
171 key <AD11> { [ dead_acute, dead_diaeresis ] };
172 key <AD12> { [ bracketleft, braceleft ] };
174 key <AC10> { [ ntilde, Ntilde ] };
175 key <AC11> { [ plus, asterisk, dead_tilde ] };
176 key <BKSL> { [ bracketright, braceright ] };
178 key <AB08> { [ comma, semicolon ] };
179 key <AB09> { [ period, colon ] };
180 key <AB10> { [ minus, underscore ] };
182 key <I219> { [ less, greater, ISO_Next_Group ] };
184 include "level3(ralt_switch)"