1# Copyright (C) 2020 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# Belarusian keyboard layout.
16# This is a typical Belarusian PC keyboard layout.
17# As an added convenience, English characters are accessible using ralt (Alt Gr).
18#
19
20type OVERLAY
21map key 86 BACKSLASH
22### ROW 1
23key GRAVE {
24    label:                              '\u0401'
25    base:                               '\u0451'
26    shift, capslock:                    '\u0401'
27    shift+capslock:                     '\u0451'
28    ralt:                               '`'
29    ralt+shift:                         '~'
30}
31key 1 {
32    label:                              '1'
33    base:                               '1'
34    shift:                              '!'
35    ralt:                               '!'
36}
37key 2 {
38    label:                              '2'
39    base:                               '2'
40    shift:                              '"'
41    ralt:                               '@'
42}
43key 3 {
44    label:                              '3'
45    base:                               '3'
46    shift:                              '\u2116'
47    ralt:                               '#'
48}
49key 4 {
50    label:                              '4'
51    base:                               '4'
52    shift:                              ';'
53    ralt:                               '$'
54}
55key 5 {
56    label:                              '5'
57    base:                               '5'
58    shift:                              '%'
59    ralt:                               '%'
60}
61key 6 {
62    label:                              '6'
63    base:                               '6'
64    shift:                              ':'
65    ralt:                               '^'
66}
67key 7 {
68    label:                              '7'
69    base:                               '7'
70    shift:                              '?'
71    ralt:                               '&'
72}
73key 8 {
74    label:                              '8'
75    base:                               '8'
76    shift:                              '*'
77    ralt:                               '*'
78}
79key 9 {
80    label:                              '9'
81    base:                               '9'
82    shift:                              '('
83    ralt:                               '('
84}
85key 0 {
86    label:                              '0'
87    base:                               '0'
88    shift:                              ')'
89    ralt:                               ')'
90}
91key MINUS {
92    label:                              '-'
93    base:                               '-'
94    shift:                              '_'
95    ralt:                               '-'
96    ralt+shift:                         '_'
97}
98key EQUALS {
99    label:                              '='
100    base:                               '='
101    shift:                              '+'
102    ralt:                               '='
103    ralt+shift:                         '+'
104}
105### ROW 2
106key Q {
107    label:                              '\u0419'
108    base:                               '\u0439'
109    shift, capslock:                    '\u0419'
110    shift+capslock:                     '\u0439'
111    ralt:                               'q'
112    shift+ralt, capslock+ralt:          'Q'
113    shift+capslock+ralt:                'q'
114}
115key W {
116    label:                              '\u0426'
117    base:                               '\u0446'
118    shift, capslock:                    '\u0426'
119    shift+capslock:                     '\u0446'
120    ralt:                               'w'
121    shift+ralt, capslock+ralt:          'W'
122    shift+capslock+ralt:                'w'
123}
124key E {
125    label:                              '\u0423'
126    base:                               '\u0443'
127    shift, capslock:                    '\u0423'
128    shift+capslock:                     '\u0443'
129    ralt:                               'e'
130    shift+ralt, capslock+ralt:          'E'
131    shift+capslock+ralt:                'e'
132}
133key R {
134    label:                              '\u041a'
135    base:                               '\u043a'
136    shift, capslock:                    '\u041a'
137    shift+capslock:                     '\u043a'
138    ralt:                               'r'
139    shift+ralt, capslock+ralt:          'R'
140    shift+capslock+ralt:                'r'
141}
142key T {
143    label:                              '\u0415'
144    base:                               '\u0435'
145    shift, capslock:                    '\u0415'
146    shift+capslock:                     '\u0435'
147    ralt:                               't'
148    shift+ralt, capslock+ralt:          'T'
149    shift+capslock+ralt:                't'
150}
151key Y {
152    label:                              '\u041d'
153    base:                               '\u043d'
154    shift, capslock:                    '\u041d'
155    shift+capslock:                     '\u043d'
156    ralt:                               'y'
157    shift+ralt, capslock+ralt:          'Y'
158    shift+capslock+ralt:                'y'
159}
160key U {
161    label:                              '\u0413'
162    base:                               '\u0433'
163    shift, capslock:                    '\u0413'
164    shift+capslock:                     '\u0433'
165    ralt:                               'u'
166    shift+ralt, capslock+ralt:          'U'
167    shift+capslock+ralt:                'u'
168}
169key I {
170    label:                              '\u0428'
171    base:                               '\u0448'
172    shift, capslock:                    '\u0428'
173    shift+capslock:                     '\u0448'
174    ralt:                               'i'
175    shift+ralt, capslock+ralt:          'I'
176    shift+capslock+ralt:                'i'
177}
178key O {
179    label:                              '\u040E'
180    base:                               '\u045E'
181    shift, capslock:                    '\u040E'
182    shift+capslock:                     '\u045E'
183    ralt:                               'o'
184    shift+ralt, capslock+ralt:          'O'
185    shift+capslock+ralt:                'o'
186}
187key P {
188    label:                              '\u0417'
189    base:                               '\u0437'
190    shift, capslock:                    '\u0417'
191    shift+capslock:                     '\u0437'
192    ralt:                               'p'
193    shift+ralt, capslock+ralt:          'P'
194    shift+capslock+ralt:                'p'
195}
196key LEFT_BRACKET {
197    label:                              '\u0425'
198    base:                               '\u0445'
199    shift, capslock:                    '\u0425'
200    shift+capslock:                     '\u0445'
201    ralt:                               '['
202    shift+ralt:                         '{'
203}
204key RIGHT_BRACKET {
205    label:                              '\u0027'
206    base:                               '\u0027'
207    ralt:                               ']'
208    shift+ralt:                         '}'
209}
210### ROW 3
211key A {
212    label:                              '\u0424'
213    base:                               '\u0444'
214    shift, capslock:                    '\u0424'
215    shift+capslock:                     '\u0444'
216    ralt:                               'a'
217    shift+ralt, capslock+ralt:          'A'
218    shift+capslock+ralt:                'a'
219}
220key S {
221    label:                              '\u042b'
222    base:                               '\u044b'
223    shift, capslock:                    '\u042b'
224    shift+capslock:                     '\u044b'
225    ralt:                               's'
226    shift+ralt, capslock+ralt:          'S'
227    shift+capslock+ralt:                's'
228}
229key D {
230    label:                              '\u0412'
231    base:                               '\u0432'
232    shift, capslock:                    '\u0412'
233    shift+capslock:                     '\u0432'
234    ralt:                               'd'
235    shift+ralt, capslock+ralt:          'D'
236    shift+capslock+ralt:                'd'
237}
238key F {
239    label:                              '\u0410'
240    base:                               '\u0430'
241    shift, capslock:                    '\u0410'
242    shift+capslock:                     '\u0430'
243    ralt:                               'f'
244    shift+ralt, capslock+ralt:          'F'
245    shift+capslock+ralt:                'f'
246}
247key G {
248    label:                              '\u041f'
249    base:                               '\u043f'
250    shift, capslock:                    '\u041f'
251    shift+capslock:                     '\u043f'
252    ralt:                               'g'
253    shift+ralt, capslock+ralt:          'G'
254    shift+capslock+ralt:                'g'
255}
256key H {
257    label:                              '\u0420'
258    base:                               '\u0440'
259    shift, capslock:                    '\u0420'
260    shift+capslock:                     '\u0440'
261    ralt:                               'h'
262    shift+ralt, capslock+ralt:          'H'
263    shift+capslock+ralt:                'h'
264}
265key J {
266    label:                              '\u041e'
267    base:                               '\u043e'
268    shift, capslock:                    '\u041e'
269    shift+capslock:                     '\u043e'
270    ralt:                               'j'
271    shift+ralt, capslock+ralt:          'J'
272    shift+capslock+ralt:                'j'
273}
274key K {
275    label:                              '\u041b'
276    base:                               '\u043b'
277    shift, capslock:                    '\u041b'
278    shift+capslock:                     '\u043b'
279    ralt:                               'k'
280    shift+ralt, capslock+ralt:          'K'
281    shift+capslock+ralt:                'k'
282}
283key L {
284    label:                              '\u0414'
285    base:                               '\u0434'
286    shift, capslock:                    '\u0414'
287    shift+capslock:                     '\u0434'
288    ralt:                               'l'
289    shift+ralt, capslock+ralt:          'L'
290    shift+capslock+ralt:                'l'
291}
292key SEMICOLON {
293    label:                              '\u0416'
294    base:                               '\u0436'
295    shift, capslock:                    '\u0416'
296    shift+capslock:                     '\u0436'
297    ralt:                               ';'
298    shift+ralt:                         ':'
299}
300key APOSTROPHE {
301    label:                              '\u042d'
302    base:                               '\u044d'
303    shift, capslock:                    '\u042d'
304    shift+capslock:                     '\u044d'
305    ralt:                               '\''
306    shift+ralt:                         '"'
307}
308key BACKSLASH {
309    label:                              '\\'
310    base:                               '\\'
311    shift:                              '/'
312    ralt:                               '|'
313}
314### ROW 4
315key Z {
316    label:                              '\u042f'
317    base:                               '\u044f'
318    shift, capslock:                    '\u042f'
319    shift+capslock:                     '\u044f'
320    ralt:                               'z'
321    shift+ralt, capslock+ralt:          'Z'
322    shift+capslock+ralt:                'z'
323}
324key X {
325    label:                              '\u0427'
326    base:                               '\u0447'
327    shift, capslock:                    '\u0427'
328    shift+capslock:                     '\u0447'
329    ralt:                               'x'
330    shift+ralt, capslock+ralt:          'X'
331    shift+capslock+ralt:                'x'
332}
333key C {
334    label:                              '\u0421'
335    base:                               '\u0441'
336    shift, capslock:                    '\u0421'
337    shift+capslock:                      '\u0441'
338    ralt:                               'c'
339    shift+ralt, capslock+ralt:          'C'
340    shift+capslock+ralt:                'c'
341}
342key V {
343    label:                              '\u041c'
344    base:                               '\u043c'
345    shift, capslock:                    '\u041c'
346    shift+capslock:                     '\u043c'
347    ralt:                               'v'
348    shift+ralt, capslock+ralt:          'V'
349    shift+capslock+ralt:                'v'
350}
351key B {
352    label:                              '\u0406'
353    base:                               '\u0456'
354    shift, capslock:                    '\u0406'
355    shift+capslock:                     '\u0456'
356    ralt:                               'b'
357    shift+ralt, capslock+ralt:          'B'
358    shift+capslock+ralt:                'b'
359}
360key N {
361    label:                              '\u0422'
362    base:                               '\u0442'
363    shift, capslock:                    '\u0422'
364    shift+capslock:                     '\u0442'
365    ralt:                               'n'
366    shift+ralt, capslock+ralt:          'N'
367    shift+capslock+ralt:                'n'
368}
369key M {
370    label:                              '\u042c'
371    base:                               '\u044c'
372    shift, capslock:                    '\u042c'
373    shift+capslock:                     '\u044c'
374    ralt:                               'm'
375    shift+ralt, capslock+ralt:          'M'
376    shift+capslock+ralt:                'm'
377}
378key COMMA {
379    label:                              '\u0411'
380    base:                               '\u0431'
381    shift, capslock:                    '\u0411'
382    shift+capslock:                     '\u0431'
383    ralt:                               ','
384    shift+ralt:                         '<'
385}
386key PERIOD {
387    label:                              '\u042e'
388    base:                               '\u044e'
389    shift, capslock:                    '\u042e'
390    shift+capslock:                     '\u044e'
391    ralt:                               '.'
392    shift+ralt:                         '>'
393}
394key SLASH {
395    label:                              '.'
396    base:                               '.'
397    shift:                              ','
398    ralt:                               '/'
399    shift+ralt:                         '?'
400}
401