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    shift+capslock:                     'q'
123}
124
125key W {
126    label:                              'W'
127    base:                               'w'
128    shift, capslock:                    'W'
129    shift+capslock:                     'w'
130}
131
132key E {
133    label:                              'E'
134    base:                               'e'
135    shift, capslock:                    'E'
136    shift+capslock:                     'e'
137    ralt:                               '\u0113'
138    shift+ralt, capslock+ralt:          '\u0112'
139    shift+capslock+ralt:                '\u0113'
140}
141
142key R {
143    label:                              'R'
144    base:                               'r'
145    shift, capslock:                    'R'
146    shift+capslock:                     'r'
147    ralt:                               '\u0157'
148    shift+ralt, capslock+ralt:          '\u0156'
149    shift+capslock+ralt:                '\u0157'
150}
151
152key T {
153    label:                              'T'
154    base:                               't'
155    shift, capslock:                    'T'
156    shift+capslock:                     't'
157}
158
159key Y {
160    label:                              'Y'
161    base:                               'y'
162    shift, capslock:                    'Y'
163    shift+capslock:                     'y'
164}
165
166key U {
167    label:                              'U'
168    base:                               'u'
169    shift, capslock:                    'U'
170    shift+capslock:                     'u'
171    ralt:                               '\u016b'
172    shift+ralt, capslock+ralt:          '\u016a'
173    shift+capslock+ralt:                '\u016b'
174}
175
176key I {
177    label:                              'I'
178    base:                               'i'
179    shift, capslock:                    'I'
180    shift+capslock:                     'i'
181    ralt:                               '\u012b'
182    shift+ralt, capslock+ralt:          '\u012a'
183    shift+capslock+ralt:                '\u012b'
184}
185
186key O {
187    label:                              'O'
188    base:                               'o'
189    shift, capslock:                    'O'
190    shift+capslock:                     'o'
191    ralt:                               '\u00f5'
192    shift+ralt, capslock+ralt:          '\u00d5'
193    shift+capslock+ralt:                '\u00f5'
194}
195
196key P {
197    label:                              'P'
198    base:                               'p'
199    shift, capslock:                    'P'
200    shift+capslock:                     'p'
201}
202
203key LEFT_BRACKET {
204    label:                              '['
205    base:                               '['
206    shift:                              '{'
207}
208
209key RIGHT_BRACKET {
210    label:                              ']'
211    base:                               ']'
212    shift:                              '}'
213}
214
215
216### ROW 3
217
218key A {
219    label:                              'A'
220    base:                               'a'
221    shift, capslock:                    'A'
222    shift+capslock:                     'a'
223    ralt:                               '\u0101'
224    shift+ralt, capslock+ralt:          '\u0100'
225    shift+capslock+ralt:                '\u0101'
226}
227
228key S {
229    label:                              'S'
230    base:                               's'
231    shift, capslock:                    'S'
232    shift+capslock:                     's'
233    ralt:                               '\u0161'
234    shift+ralt, capslock+ralt:          '\u0160'
235    shift+capslock+ralt:                '\u0161'
236}
237
238key D {
239    label:                              'D'
240    base:                               'd'
241    shift, capslock:                    'D'
242    shift+capslock:                     'd'
243}
244
245key F {
246    label:                              'F'
247    base:                               'f'
248    shift, capslock:                    'F'
249    shift+capslock:                     'f'
250}
251
252key G {
253    label:                              'G'
254    base:                               'g'
255    shift, capslock:                    'G'
256    shift+capslock:                     'g'
257    ralt:                               '\u0123'
258    shift+ralt, capslock+ralt:          '\u0122'
259    shift+capslock+ralt:                '\u0123'
260}
261
262key H {
263    label:                              'H'
264    base:                               'h'
265    shift, capslock:                    'H'
266    shift+capslock:                     'h'
267}
268
269key J {
270    label:                              'J'
271    base:                               'j'
272    shift, capslock:                    'J'
273    shift+capslock:                     'j'
274}
275
276key K {
277    label:                              'K'
278    base:                               'k'
279    shift, capslock:                    'K'
280    shift+capslock:                     'k'
281    ralt:                               '\u0137'
282    shift+ralt, capslock+ralt:          '\u0136'
283    shift+capslock+ralt:                '\u0137'
284}
285
286key L {
287    label:                              'L'
288    base:                               'l'
289    shift, capslock:                    'L'
290    shift+capslock:                     'l'
291    ralt:                               '\u013c'
292    shift+ralt, capslock+ralt:          '\u013b'
293    shift+capslock+ralt:                '\u013c'
294}
295
296key SEMICOLON {
297    label:                              ';'
298    base:                               ';'
299    shift:                              ':'
300}
301
302key APOSTROPHE {
303    label:                              '\''
304    base:                               '\''
305    shift:                              '"'
306    ralt:                               '\u0301'
307    shift+ralt:                         '\u0308'
308}
309
310key POUND {
311    label:                              '\u00b0'
312    base:                               '\u00b0'
313    shift:                              '|'
314}
315
316### ROW 4
317
318key BACKSLASH {
319    label:                              '\\'
320    base:                               '\\'
321    shift:                              '|'
322    ralt:                               '\u00ac'
323    shift+ralt:                         '\u00a6'
324}
325
326key Z {
327    label:                              'Z'
328    base:                               'z'
329    shift, capslock:                    'Z'
330    shift+capslock:                     'z'
331    ralt:                               '\u017e'
332    shift+ralt, capslock+ralt:          '\u017d'
333    shift+capslock+ralt:                '\u017e'
334}
335
336key X {
337    label:                              'X'
338    base:                               'x'
339    shift, capslock:                    'X'
340    shift+capslock:                     'x'
341}
342
343key C {
344    label:                              'C'
345    base:                               'c'
346    shift, capslock:                    'C'
347    shift+capslock:                     'c'
348    ralt:                               '\u010d'
349    shift+ralt, capslock+ralt:          '\u010c'
350    shift+capslock+ralt:                '\u010d'
351}
352
353key V {
354    label:                              'V'
355    base:                               'v'
356    shift, capslock:                    'V'
357    shift+capslock:                     'v'
358}
359
360key B {
361    label:                              'B'
362    base:                               'b'
363    shift, capslock:                    'B'
364    shift+capslock:                     'b'
365}
366
367key N {
368    label:                              'N'
369    base:                               'n'
370    shift, capslock:                    'N'
371    shift+capslock:                     'n'
372    ralt:                               '\u0146'
373    shift+ralt, capslock+ralt:          '\u0145'
374    shift+capslock+ralt:                '\u0146'
375}
376
377key M {
378    label:                              'M'
379    base:                               'm'
380    shift, capslock:                    'M'
381    shift+capslock:                     'm'
382}
383
384key COMMA {
385    label:                              ','
386    base:                               ','
387    shift:                              '<'
388}
389
390key PERIOD {
391    label:                              '.'
392    base:                               '.'
393    shift:                              '>'
394}
395
396key SLASH {
397    label:                              '/'
398    base:                               '/'
399    shift:                              '?'
400    ralt:                               '\u00bf'
401}
402