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    ralt:                               'q'
130    ralt+shift, ralt+capslock:          'Q'
131}
132
133key W {
134    label:                              '\u0426'
135    base:                               '\u0446'
136    shift, capslock:                    '\u0426'
137    ralt:                               'w'
138    ralt+shift, ralt+capslock:          'W'
139}
140
141key E {
142    label:                              '\u0423'
143    base:                               '\u0443'
144    shift, capslock:                    '\u0423'
145    ralt:                               'e'
146    ralt+shift, ralt+capslock:          'E'
147}
148
149key R {
150    label:                              '\u041a'
151    base:                               '\u043a'
152    shift, capslock:                    '\u041a'
153    ralt:                               'r'
154    ralt+shift, ralt+capslock:          'R'
155}
156
157key T {
158    label:                              '\u0415'
159    base:                               '\u0435'
160    shift, capslock:                    '\u0415'
161    ralt:                               't'
162    ralt+shift, ralt+capslock:          'T'
163}
164
165key Y {
166    label:                              '\u041d'
167    base:                               '\u043d'
168    shift, capslock:                    '\u041d'
169    ralt:                               'y'
170    ralt+shift, ralt+capslock:          'Y'
171}
172
173key U {
174    label:                              '\u0413'
175    base:                               '\u0433'
176    shift, capslock:                    '\u0413'
177    ralt:                               'u'
178    ralt+shift, ralt+capslock:          'U'
179}
180
181key I {
182    label:                              '\u0428'
183    base:                               '\u0448'
184    shift, capslock:                    '\u0428'
185    ralt:                               'i'
186    ralt+shift, ralt+capslock:          'I'
187}
188
189key O {
190    label:                              '\u0429'
191    base:                               '\u0449'
192    shift, capslock:                    '\u0429'
193    ralt:                               'o'
194    ralt+shift, ralt+capslock:          'O'
195}
196
197key P {
198    label:                              '\u0417'
199    base:                               '\u0437'
200    shift, capslock:                    '\u0417'
201    ralt:                               'p'
202    ralt+shift, ralt+capslock:          'P'
203}
204
205key LEFT_BRACKET {
206    label:                              '\u0425'
207    base:                               '\u0445'
208    shift, capslock:                    '\u0425'
209    ralt:                               '['
210    ralt+shift:                         '{'
211}
212
213key RIGHT_BRACKET {
214    label:                              '\u042a'
215    base:                               '\u044a'
216    shift, capslock:                    '\u042a'
217    ralt:                               ']'
218    ralt+shift:                         '}'
219}
220
221### ROW 3
222
223key A {
224    label:                              '\u0424'
225    base:                               '\u0444'
226    shift, capslock:                    '\u0424'
227    ralt:                               'a'
228    ralt+shift, ralt+capslock:          'A'
229}
230
231key S {
232    label:                              '\u042b'
233    base:                               '\u044b'
234    shift, capslock:                    '\u042b'
235    ralt:                               's'
236    ralt+shift, ralt+capslock:          'S'
237}
238
239key D {
240    label:                              '\u0412'
241    base:                               '\u0432'
242    shift, capslock:                    '\u0412'
243    ralt:                               'd'
244    ralt+shift, ralt+capslock:          'D'
245}
246
247key F {
248    label:                              '\u0410'
249    base:                               '\u0430'
250    shift, capslock:                    '\u0410'
251    ralt:                               'f'
252    ralt+shift, ralt+capslock:          'F'
253}
254
255key G {
256    label:                              '\u041f'
257    base:                               '\u043f'
258    shift, capslock:                    '\u041f'
259    ralt:                               'g'
260    ralt+shift, ralt+capslock:          'G'
261}
262
263key H {
264    label:                              '\u0420'
265    base:                               '\u0440'
266    shift, capslock:                    '\u0420'
267    ralt:                               'h'
268    ralt+shift, ralt+capslock:          'H'
269}
270
271key J {
272    label:                              '\u041e'
273    base:                               '\u043e'
274    shift, capslock:                    '\u041e'
275    ralt:                               'j'
276    ralt+shift, ralt+capslock:          'J'
277}
278
279key K {
280    label:                              '\u041b'
281    base:                               '\u043b'
282    shift, capslock:                    '\u041b'
283    ralt:                               'k'
284    ralt+shift, ralt+capslock:          'K'
285}
286
287key L {
288    label:                              '\u0414'
289    base:                               '\u0434'
290    shift, capslock:                    '\u0414'
291    ralt:                               'l'
292    ralt+shift, ralt+capslock:          'L'
293}
294
295key SEMICOLON {
296    label:                              '\u0416'
297    base:                               '\u0436'
298    shift, capslock:                    '\u0416'
299    ralt:                               ';'
300    ralt+shift:                         ':'
301}
302
303key APOSTROPHE {
304    label:                              '\u042d'
305    base:                               '\u044d'
306    shift, capslock:                    '\u042d'
307    ralt:                               '\''
308    ralt+shift:                         '"'
309}
310
311key BACKSLASH {
312    label:                              '\u0401'
313    base:                               '\u0451'
314    shift, capslock:                    '\u0401'
315    ralt:                               '\\'
316    ralt+shift:                         '|'
317}
318
319### ROW 4
320
321key PLUS {
322    label:                              '['
323    base:                               '['
324    shift:                              ']'
325    ralt:                               '`'
326    ralt+shift:                         '~'
327}
328
329key Z {
330    label:                              '\u042f'
331    base:                               '\u044f'
332    shift, capslock:                    '\u042f'
333    ralt:                               'z'
334    ralt+shift, ralt+capslock:          'Z'
335}
336
337key X {
338    label:                              '\u0427'
339    base:                               '\u0447'
340    shift, capslock:                    '\u0427'
341    ralt:                               'x'
342    ralt+shift, ralt+capslock:          'X'
343}
344
345key C {
346    label:                              '\u0421'
347    base:                               '\u0441'
348    shift, capslock:                    '\u0421'
349    ralt:                               'c'
350    ralt+shift, ralt+capslock:          'C'
351}
352
353key V {
354    label:                              '\u041c'
355    base:                               '\u043c'
356    shift, capslock:                    '\u041c'
357    ralt:                               'v'
358    ralt+shift, ralt+capslock:          'V'
359}
360
361key B {
362    label:                              '\u0418'
363    base:                               '\u0438'
364    shift, capslock:                    '\u0418'
365    ralt:                               'b'
366    ralt+shift, ralt+capslock:          'B'
367}
368
369key N {
370    label:                              '\u0422'
371    base:                               '\u0442'
372    shift, capslock:                    '\u0422'
373    ralt:                               'n'
374    ralt+shift, ralt+capslock:          'N'
375}
376
377key M {
378    label:                              '\u042c'
379    base:                               '\u044c'
380    shift, capslock:                    '\u042c'
381    ralt:                               'm'
382    ralt+shift, ralt+capslock:          'M'
383}
384
385key COMMA {
386    label:                              '\u0411'
387    base:                               '\u0431'
388    shift, capslock:                    '\u0411'
389    ralt:                               ','
390    ralt+shift:                         '<'
391}
392
393key PERIOD {
394    label:                              '\u042e'
395    base:                               '\u044e'
396    shift, capslock:                    '\u042e'
397    ralt:                               '.'
398    ralt+shift:                         '>'
399}
400
401key SLASH {
402    label:                              '/'
403    base:                               '/'
404    shift:                              '?'
405    ralt:                               '/'
406    ralt+shift:                         '?'
407}
408