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