1# Copyright (C) 2014 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# Latvian (QWERTY-US-intl based) keyboard layout.
17#
18
19type OVERLAY
20
21map key 86 BACKSLASH
22map key 43 POUND
23
24### ROW 1
25
26key GRAVE {
27    label:                              '\u0300'
28    base:                               '\u0300'
29    shift:                              '\u0303'
30    ralt:                               '-'
31}
32
33key 1 {
34    label:                              '1'
35    base:                               '1'
36    shift:                              '!'
37    ralt:                               '\u00a0'
38}
39
40key 2 {
41    label:                              '2'
42    base:                               '2'
43    shift:                              '@'
44    ralt:                               '\u00ab'
45}
46
47key 3 {
48    label:                              '3'
49    base:                               '3'
50    shift:                              '#'
51    ralt:                               '\u00bb'
52}
53
54key 4 {
55    label:                              '4'
56    base:                               '4'
57    shift:                              '$'
58    ralt:                               '\u20ac'
59    ralt+shift:                         '\u00a7'
60}
61
62key 5 {
63    label:                              '5'
64    base:                               '5'
65    shift:                              '%'
66    ralt+shift:                         '\u00b0'
67}
68
69key 6 {
70    label:                              '6'
71    base:                               '6'
72    shift:                              '\u0302'
73    ralt:                               '\u2019'
74}
75
76key 7 {
77    label:                              '7'
78    base:                               '7'
79    shift:                              '&'
80    ralt+shift:                         '\u00b1'
81}
82
83key 8 {
84    label:                              '8'
85    base:                               '8'
86    shift:                              '*'
87    ralt+shift:                         '\u00d7'
88}
89
90key 9 {
91    label:                              '9'
92    base:                               '9'
93    shift:                              '('
94}
95
96key 0 {
97    label:                              '0'
98    base:                               '0'
99    shift:                              ')'
100}
101
102key MINUS {
103    label:                              '-'
104    base:                               '-'
105    shift:                              '_'
106    ralt:                               '\u2013'
107    ralt+shift:                         '\u2014'
108}
109
110key EQUALS {
111    label:                              '='
112    base:                               '='
113    shift:                              '+'
114}
115
116### ROW 2
117
118key Q {
119    label:                              'Q'
120    base:                               'q'
121    shift, capslock:                    'Q'
122}
123
124key W {
125    label:                              'W'
126    base:                               'w'
127    shift, capslock:                    'W'
128}
129
130key E {
131    label:                              'E'
132    base:                               'e'
133    shift, capslock:                    'E'
134    ralt:                               '\u0113'
135    shift+ralt, ralt+capslock:          '\u0112'
136}
137
138key R {
139    label:                              'R'
140    base:                               'r'
141    shift, capslock:                    'R'
142    ralt:                               '\u0157'
143    shift+ralt, ralt+capslock:          '\u0156'
144}
145
146key T {
147    label:                              'T'
148    base:                               't'
149    shift, capslock:                    'T'
150}
151
152key Y {
153    label:                              'Y'
154    base:                               'y'
155    shift, capslock:                    'Y'
156}
157
158key U {
159    label:                              'U'
160    base:                               'u'
161    shift, capslock:                    'U'
162    ralt:                               '\u016b'
163    shift+ralt, ralt+capslock:          '\u016a'
164}
165
166key I {
167    label:                              'I'
168    base:                               'i'
169    shift, capslock:                    'I'
170    ralt:                               '\u012b'
171    shift+ralt, ralt+capslock:          '\u012a'
172}
173
174key O {
175    label:                              'O'
176    base:                               'o'
177    shift, capslock:                    'O'
178    ralt:                               '\u00f5'
179    shift+ralt, ralt+capslock:          '\u00d5'
180}
181
182key P {
183    label:                              'P'
184    base:                               'p'
185    shift, capslock:                    'P'
186}
187
188key LEFT_BRACKET {
189    label:                              '['
190    base:                               '['
191    shift:                              '{'
192}
193
194key RIGHT_BRACKET {
195    label:                              ']'
196    base:                               ']'
197    shift:                              '}'
198}
199
200
201### ROW 3
202
203key A {
204    label:                              'A'
205    base:                               'a'
206    shift, capslock:                    'A'
207    ralt:                               '\u0101'
208    shift+ralt, ralt+capslock:          '\u0100'
209}
210
211key S {
212    label:                              'S'
213    base:                               's'
214    shift, capslock:                    'S'
215    ralt:                               '\u0161'
216    shift+ralt, ralt+capslock:          '\u0160'
217}
218
219key D {
220    label:                              'D'
221    base:                               'd'
222    shift, capslock:                    'D'
223}
224
225key F {
226    label:                              'F'
227    base:                               'f'
228    shift, capslock:                    'F'
229}
230
231key G {
232    label:                              'G'
233    base:                               'g'
234    shift, capslock:                    'G'
235    ralt:                               '\u0123'
236    shift+ralt, ralt+capslock:          '\u0122'
237}
238
239key H {
240    label:                              'H'
241    base:                               'h'
242    shift, capslock:                    'H'
243}
244
245key J {
246    label:                              'J'
247    base:                               'j'
248    shift, capslock:                    'J'
249}
250
251key K {
252    label:                              'K'
253    base:                               'k'
254    shift, capslock:                    'K'
255    ralt:                               '\u0137'
256    shift+ralt, ralt+capslock:          '\u0136'
257}
258
259key L {
260    label:                              'L'
261    base:                               'l'
262    shift, capslock:                    'L'
263    ralt:                               '\u013c'
264    shift+ralt, ralt+capslock:          '\u013b'
265}
266
267key SEMICOLON {
268    label:                              ';'
269    base:                               ';'
270    shift:                              ':'
271}
272
273key APOSTROPHE {
274    label:                              '\''
275    base:                               '\''
276    shift:                              '"'
277    ralt:                               '\u0301'
278    shift+ralt:                         '\u0308'
279}
280
281key POUND {
282    label:                              '\u00b0'
283    base:                               '\u00b0'
284    shift:                              '|'
285}
286
287### ROW 4
288
289key BACKSLASH {
290    label:                              '\\'
291    base:                               '\\'
292    shift:                              '|'
293    ralt:                               '\u00ac'
294    shift+ralt:                         '\u00a6'
295}
296
297key Z {
298    label:                              'Z'
299    base:                               'z'
300    shift, capslock:                    'Z'
301    ralt:                               '\u017e'
302    shift+ralt, ralt+capslock:          '\u017d'
303}
304
305key X {
306    label:                              'X'
307    base:                               'x'
308    shift, capslock:                    'X'
309}
310
311key C {
312    label:                              'C'
313    base:                               'c'
314    shift, capslock:                    'C'
315    ralt:                               '\u010d'
316    shift+ralt, ralt+capslock:          '\u010c'
317}
318
319key V {
320    label:                              'V'
321    base:                               'v'
322    shift, capslock:                    'V'
323}
324
325key B {
326    label:                              'B'
327    base:                               'b'
328    shift, capslock:                    'B'
329}
330
331key N {
332    label:                              'N'
333    base:                               'n'
334    shift, capslock:                    'N'
335    ralt:                               '\u0146'
336    shift+ralt, ralt+capslock:          '\u0145'
337}
338
339key M {
340    label:                              'M'
341    base:                               'm'
342    shift, capslock:                    'M'
343}
344
345key COMMA {
346    label:                              ','
347    base:                               ','
348    shift:                              '<'
349}
350
351key PERIOD {
352    label:                              '.'
353    base:                               '.'
354    shift:                              '>'
355}
356
357key SLASH {
358    label:                              '/'
359    base:                               '/'
360    shift:                              '?'
361    ralt:                               '\u00bf'
362}
363