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