Updated lk layout
[xorg/xkeyboard-config] / symbols / es
1 // based on a keyboard
2 // Modified for a real Spanish Keyboard by Jon Tombs
3 //
4
5 partial default alphanumeric_keys
6 xkb_symbols "basic" {
7
8     include "latin(type4)"
9
10     name[Group1]="Spain";
11
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 ] };
18
19     key <AD11>  { [dead_grave, dead_circumflex, bracketleft, dead_abovering ] };
20     key <AD12>  { [      plus,   asterisk, bracketright,  dead_macron ] };
21
22     key <AC10>  { [    ntilde, Ntilde,   asciitilde, dead_doubleacute ] };
23     key <AC11>  { [dead_acute, dead_diaeresis, braceleft,   braceleft ] };
24     key <TLDE>  { [ masculine, ordfeminine,    backslash,   backslash ] };
25
26     key <BKSL>  { [  ccedilla,   Ccedilla,   braceright,   dead_breve ] };
27
28     include "level3(ralt_switch)"
29 };
30
31 partial alphanumeric_keys
32 xkb_symbols "Sundeadkeys" {
33
34     include "es(basic)"
35
36     key <AC11>  { [dead_acute, dead_diaeresis, braceleft, braceleft ]   };
37     key <AD11>  { [dead_grave, dead_circumflex, bracketleft, dead_abovering ] };
38 };
39
40 partial alphanumeric_keys
41 xkb_symbols "sundeadkeys" {
42
43     include "es(Sundeadkeys)"
44
45     name[Group1]="Spain - Sun dead keys";
46 };
47
48 partial alphanumeric_keys
49 xkb_symbols "nodeadkeys" {
50
51     include "es(basic)"
52
53     name[Group1]="Spain - Eliminate dead keys";
54
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 ] };
61 };
62
63 // Spanish mapping (note R-H exchange)
64 partial alphanumeric_keys
65 xkb_symbols "dvorak" {
66
67     name[Group1]="Spain - Dvorak";
68
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   ]};
83
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         ]};
96
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        ]};
109
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                                         ]};
121
122     include "level3(ralt_switch)"
123 };
124
125 partial alphanumeric_keys
126 xkb_symbols "cat" {
127
128     include "es(basic)"
129
130     name[Group1]="Spain - Catalan variant with middle-dot L";
131
132     key <AC09>  { [         l,      L,          0x1000140,  0x100013F ] };
133 };
134
135 partial alphanumeric_keys
136 xkb_symbols "ast" {
137
138     include "es(basic)"
139
140     name[Group1]="Spain - Asturian variant with bottom-dot H and bottom-dot L";
141
142     key <AC06>  { [         h,      H,          0x1001E25,  0x1001E24 ] };
143     key <AC09>  { [         l,      L,          0x1001E37,  0x1001E36 ] };
144 };
145
146 // Copied from macintosh_vndr/es
147 partial alphanumeric_keys 
148 xkb_symbols "mac" {
149
150     // Describes the differences between a very simple mac_US
151     // keyboard and a very simple Spanish keybaord
152
153     include "es"
154     name[Group1]= "Spain - Macintosh";
155
156 };
157
158 partial alphanumeric_keys
159 xkb_symbols "olpc" {
160
161     include "us(basic)"
162     name[Group1]="Spain";
163
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                  ] };
176
177     key <AD03> { [            e,              E,        EuroSign ] };
178     key <AD11> { [   dead_acute, dead_diaeresis,           acute,   dead_abovering  ] };
179     key <AD12> { [  bracketleft,      braceleft                  ] };
180
181     key <AC10> { [       ntilde,        Ntilde                  ] };
182     key <AC11> { [         plus,       asterisk,      dead_tilde ] };
183     key <BKSL> { [ bracketright,     braceright,      section    ] };
184
185     key <AB08> { [        comma,      semicolon                  ] };
186     key <AB09> { [       period,          colon                  ] };
187     key <AB10> { [        minus,     underscore                  ] };
188   
189     key <I219> { [         less,        greater,  ISO_Next_Group ] };
190
191     include "level3(ralt_switch)"
192 };
193
194 partial alphanumeric_keys
195 xkb_symbols "deadtilde" {
196
197     include "es(basic)"
198
199     name[Group1]="Spain - Include dead tilde";
200
201     key <AE04>  { [         4,     dollar,   dead_tilde,       dollar ] };
202 };
203
204 partial alphanumeric_keys
205 xkb_symbols "olpc2" {
206
207     // Modified variant of US International layout, specifically for Peru
208     // Contact: Sayamindu Dasgupta <sayamindu@laptop.org>
209
210     include "us(olpc)"
211     name[Group1]="Spain - OLPC2";
212
213     key <AE03> { [  3, numbersign,   dead_grave,  dead_grave] }; // combining grave
214     key <I236>  { [ XF86Start ] };
215
216     include "level3(ralt_switch)"
217 };