1# Copyright (C) 2015 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15#
16# Spanish (Latin) keyboard layout.
17#
18
19type OVERLAY
20
21### ROW 1
22
23key 1 {
24    label:                              '1'
25    base:                               '1'
26    shift:                              '!'
27    ralt:                               '|'
28    ralt+ctrl:                          replace ESCAPE
29}
30
31key 2 {
32    label:                              '2'
33    base:                               '2'
34    shift:                              '"'
35}
36
37key 3 {
38    label:                              '3'
39    base:                               '3'
40    shift:                              '#'
41}
42
43key 4 {
44    label:                              '4'
45    base:                               '4'
46    shift:                              '$'
47}
48
49key 5 {
50    label:                              '5'
51    base:                               '5'
52    shift:                              '%'
53}
54
55key 6 {
56    label:                              '6'
57    base:                               '6'
58    shift:                              '&'
59}
60
61key 7 {
62    label:                              '7'
63    base:                               '7'
64    shift:                              '/'
65}
66
67key 8 {
68    label:                              '8'
69    base:                               '8'
70    shift:                              '('
71}
72
73key 9 {
74    label:                              '9'
75    base:                               '9'
76    shift:                              ')'
77    ralt:                               '\u00a1'
78}
79
80key 0 {
81    label:                              '0'
82    base:                               '0'
83    shift:                              '='
84    ralt:                               '\u00BF'
85}
86
87key MINUS {
88    label:                              '\''
89    base:                               '\''
90    shift:                              '?'
91    ralt:                               '\\'
92}
93
94### ROW 2
95
96key Q {
97    label:                              'q'
98    base:                               'q'
99    shift, capslock:                    'Q'
100    ralt:                               '@'
101}
102
103key W {
104    label:                              'w'
105    base:                               'w'
106    shift, capslock:                    'W'
107}
108
109key E {
110    label:                              'e'
111    base:                               'e'
112    shift, capslock:                    'E'
113    ralt:                               '\u20ac'
114}
115
116key R {
117    label:                              'r'
118    base:                               'r'
119    shift, capslock:                    'R'
120}
121
122key T {
123    label:                              't'
124    base:                               't'
125    shift, capslock:                    'T'
126}
127
128key Y {
129    label:                              'y'
130    base:                               'y'
131    shift, capslock:                    'Y'
132}
133
134key U {
135    label:                              'u'
136    base:                               'u'
137    shift, capslock:                    'U'
138}
139
140key I {
141    label:                              'i'
142    base:                               'i'
143    shift, capslock:                    'I'
144}
145
146key O {
147    label:                              'o'
148    base:                               'o'
149    shift, capslock:                    'O'
150    ralt+ctrl:                          '['
151    ralt+ctrl+shift:                    '{'
152}
153
154key P {
155    label:                              'p'
156    base:                               'p'
157    shift, capslock:                    'P'
158    ralt:                               '*'
159    ralt+ctrl:                          ']'
160    ralt+ctrl+shift:                    '}'
161}
162
163key EQUALS {
164    label:                              '\u00b4'
165    base:                               '\u0301'
166    shift:                              '\u0308'
167    ralt:                               '+'
168}
169
170### ROW 3
171
172key A {
173    label:                              'a'
174    base:                               'a'
175    shift, capslock:                    'A'
176}
177
178key S {
179    label:                              's'
180    base:                               's'
181    shift, capslock:                    'S'
182}
183
184key D {
185    label:                              'd'
186    base:                               'd'
187    shift, capslock:                    'D'
188}
189
190key F {
191    label:                              'f'
192    base:                               'f'
193    shift, capslock:                    'F'
194}
195
196key G {
197    label:                              'g'
198    base:                               'g'
199    shift, capslock:                    'G'
200}
201
202key H {
203    label:                              'h'
204    base:                               'h'
205    shift, capslock:                    'H'
206}
207
208key J {
209    label:                              'j'
210    base:                               'j'
211    shift, capslock:                    'J'
212}
213
214key K {
215    label:                              'k'
216    base:                               'k'
217    shift, capslock:                    'K'
218}
219
220key L {
221    label:                              'l'
222    base:                               'l'
223    shift, capslock:                    'L'
224}
225
226key SEMICOLON {
227    label:                              '\u00f1'
228    base:                               '\u00f1'
229    shift:                              '\u00d1'
230}
231
232key APOSTROPHE {
233    label:                              '\u02cb'
234    base:                               '\u0300'
235    shift:                              '\u0303'
236    ralt:                               '\u0302'
237}
238
239### ROW 4
240
241key Z {
242    label:                              'z'
243    base:                               'z'
244    shift, capslock:                    'Z'
245}
246
247key X {
248    label:                              'x'
249    base:                               'x'
250    shift, capslock:                    'X'
251}
252
253key C {
254    label:                              'c'
255    base:                               'c'
256    shift, capslock:                    'C'
257}
258
259key V {
260    label:                              'v'
261    base:                               'v'
262    shift, capslock:                    'V'
263}
264
265key B {
266    label:                              'b'
267    base:                               'b'
268    shift, capslock:                    'B'
269}
270
271key N {
272    label:                              'n'
273    base:                               'n'
274    shift, capslock:                    'N'
275}
276
277key M {
278    label:                              'm'
279    base:                               'm'
280    shift, capslock:                    'M'
281}
282
283key COMMA {
284    label:                              ','
285    base:                               ','
286    shift:                              ';'
287    ralt:                               '<'
288}
289
290key PERIOD {
291    label:                              '.'
292    base:                               '.'
293    shift:                              ':'
294    ralt:                               '>'
295}
296
297key SLASH {
298    label:                              '-'
299    base:                               '-'
300    shift:                              '_'
301}
302