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