• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Keyboard layouts for Russia.
2// AEN <aen@logic.ru>
3// 2001/12/23 by Leon Kanter <leon@blackcatlinux.com>
4// 2005/12/09 Valery Inozemtsev <shrek@altlinux.ru>
5// 2018/07/15 @a13 (a.k.a. @dbvvmpg) and Stepanenko Andrey <ftvkyo2011@yandex.ru>
6
7// Windows layout
8default partial alphanumeric_keys
9xkb_symbols "winkeys" {
10
11    include "ru(common)"
12    name[Group1]= "Russian";
13
14    key <AE03> { [           3,  numerosign  ] };
15    key <AE04> { [           4,   semicolon  ] };
16    key <AE05> { [           5,     percent  ] };
17    key <AE06> { [           6,       colon  ] };
18    key <AE07> { [           7,    question  ] };
19    key <AE08> { [           8,    asterisk, U20BD  ] };
20
21    key <AB10> { [      period,       comma  ] };
22    key <BKSL> { [   backslash,       slash  ] };
23};
24
25hidden partial alphanumeric_keys
26xkb_symbols "common" {
27
28    key <AE01> { [           1,      exclam  ] };
29    key <AE02> { [           2,    quotedbl  ] };
30    key <AE03> { [           3,  numbersign  ] };
31    key <AE04> { [           4,    asterisk  ] };
32    key <AE05> { [           5,       colon  ] };
33    key <AE06> { [           6,       comma  ] };
34    key <AE07> { [           7,      period  ] };
35    key <AE08> { [           8,   semicolon  ] };
36    key <AE09> { [           9,   parenleft  ] };
37    key <AE10> { [           0,  parenright  ] };
38    key <AE11> { [       minus,  underscore  ] };
39    key <AE12> { [       equal,        plus  ] };
40    key <BKSL> { [   backslash,         bar  ] };
41
42    key <AB10> { [       slash,    question  ] };
43    key <LSGT> { [       slash,         bar  ] };
44
45    key <TLDE> { [       Cyrillic_io,       Cyrillic_IO  ] };
46    key <AD01> { [   Cyrillic_shorti,   Cyrillic_SHORTI  ] };
47    key <AD02> { [      Cyrillic_tse,      Cyrillic_TSE  ] };
48    key <AD03> { [        Cyrillic_u,        Cyrillic_U  ] };
49    key <AD04> { [       Cyrillic_ka,       Cyrillic_KA  ] };
50    key <AD05> { [       Cyrillic_ie,       Cyrillic_IE  ] };
51    key <AD06> { [       Cyrillic_en,       Cyrillic_EN  ] };
52    key <AD07> { [      Cyrillic_ghe,      Cyrillic_GHE  ] };
53    key <AD08> { [      Cyrillic_sha,      Cyrillic_SHA  ] };
54    key <AD09> { [    Cyrillic_shcha,    Cyrillic_SHCHA  ] };
55    key <AD10> { [       Cyrillic_ze,       Cyrillic_ZE  ] };
56    key <AD11> { [       Cyrillic_ha,       Cyrillic_HA  ] };
57    key <AD12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN  ] };
58
59    key <AC01> { [       Cyrillic_ef,       Cyrillic_EF  ] };
60    key <AC02> { [     Cyrillic_yeru,     Cyrillic_YERU  ] };
61    key <AC03> { [       Cyrillic_ve,       Cyrillic_VE  ] };
62    key <AC04> { [        Cyrillic_a,        Cyrillic_A  ] };
63    key <AC05> { [       Cyrillic_pe,       Cyrillic_PE  ] };
64    key <AC06> { [       Cyrillic_er,       Cyrillic_ER  ] };
65    key <AC07> { [        Cyrillic_o,        Cyrillic_O  ] };
66    key <AC08> { [       Cyrillic_el,       Cyrillic_EL  ] };
67    key <AC09> { [       Cyrillic_de,       Cyrillic_DE  ] };
68    key <AC10> { [      Cyrillic_zhe,      Cyrillic_ZHE  ] };
69    key <AC11> { [        Cyrillic_e,        Cyrillic_E  ] };
70
71    key <AB01> { [       Cyrillic_ya,       Cyrillic_YA  ] };
72    key <AB02> { [      Cyrillic_che,      Cyrillic_CHE  ] };
73    key <AB03> { [       Cyrillic_es,       Cyrillic_ES  ] };
74    key <AB04> { [       Cyrillic_em,       Cyrillic_EM  ] };
75    key <AB05> { [        Cyrillic_i,        Cyrillic_I  ] };
76    key <AB06> { [       Cyrillic_te,       Cyrillic_TE  ] };
77    key <AB07> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN  ] };
78    key <AB08> { [       Cyrillic_be,       Cyrillic_BE  ] };
79    key <AB09> { [       Cyrillic_yu,       Cyrillic_YU  ] };
80
81    include "kpdl(comma)"
82};
83
84partial alphanumeric_keys
85xkb_symbols "legacy" {
86
87    include "ru(common)"
88    name[Group1]= "Russian (legacy)";
89};
90
91partial alphanumeric_keys
92xkb_symbols "olpc" {
93
94    include "ru(common)"
95
96    key <TLDE> { [  0x01000451,   0x01000401,       grave  ] };  // Ñ‘, Ð
97    key <AE03> { [           3,   numbersign,  0x01002116  ] };  // â„–
98    key <AE04> { [           4,       dollar,   semicolon  ] };
99    key <AE06> { [           6,  asciicircum,       colon  ] };
100    key <AE07> { [           7,    ampersand               ] };
101    key <AE09> { [           9,    parenleft,       acute  ] };
102    key <AC12> { [   backslash,          bar,       slash  ] };
103
104    include "group(olpc)"
105};
106
107partial alphanumeric_keys
108xkb_symbols "typewriter" {
109
110    include "ru(common)"
111    name[Group1]= "Russian (typewriter)";
112
113    key <TLDE> { [         bar,        plus  ] };
114    key <AE01> { [  numerosign,           1  ] };
115    key <AE02> { [       minus,           2  ] };
116    key <AE03> { [       slash,           3  ] };
117    key <AE04> { [    quotedbl,           4  ] };
118    key <AE05> { [       colon,           5  ] };
119    key <AE06> { [       comma,           6  ] };
120    key <AE07> { [      period,           7  ] };
121    key <AE08> { [  underscore,           8  ] };
122    key <AE09> { [    question,           9  ] };
123    key <AE10> { [     percent,           0  ] };
124    key <AE11> { [      exclam,       equal  ] };
125    key <AE12> { [   semicolon,   backslash  ] };
126
127    key <BKSL> { [  parenright,   parenleft  ] };
128
129    key <AD12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN  ] };
130    key <AB10> { [       Cyrillic_io,       Cyrillic_IO  ] };
131};
132
133partial alphanumeric_keys
134xkb_symbols "typewriter-legacy" {
135
136    include "ru(common)"
137    name[Group1]= "Russian (typewriter, legacy)";
138
139    key <TLDE> { [  apostrophe,    quotedbl  ] };
140    key <AE01> { [      exclam,           1  ] };
141    key <AE02> { [  numerosign,           2  ] };
142    key <AE03> { [       slash,           3  ] };
143    key <AE04> { [   semicolon,           4  ] };
144    key <AE05> { [       colon,           5  ] };
145    key <AE06> { [       comma,           6  ] };
146    key <AE07> { [      period,           7  ] };
147    key <AE08> { [  underscore,           8  ] };
148    key <AE09> { [    question,           9  ] };
149    key <AE10> { [     percent,           0  ] };
150
151    key <BKSL> { [   parenleft,  parenright  ] };
152
153    key <AD12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN  ] };
154    key <AB10> { [       Cyrillic_io,       Cyrillic_IO  ] };
155};
156
157partial alphanumeric_keys
158xkb_symbols "phonetic" {
159
160    name[Group1]= "Russian (phonetic)";
161
162    key <AE01> { [           1,      exclam  ] };
163    key <AE02> { [           2,          at  ] };
164    key <AE03> { [           3, Cyrillic_io  ] };
165    key <AE04> { [           4, Cyrillic_IO  ] };
166    key <AE05> { [           5, Cyrillic_hardsign  ] };
167    key <AE06> { [           6, Cyrillic_HARDSIGN  ] };
168    key <AE07> { [           7,   ampersand  ] };
169    key <AE08> { [           8,    asterisk  ] };
170    key <AE09> { [           9,   parenleft  ] };
171    key <AE10> { [           0,  parenright  ] };
172    key <AE11> { [       minus,  underscore  ] };
173
174    key <AB09> { [      period,     greater  ] };
175    key <AB10> { [       slash,    question  ] };
176    key <AB08> { [       comma,        less  ] };
177    key <AC10> { [   semicolon,       colon  ] };
178    key <AC11> { [  apostrophe,    quotedbl  ] };
179    key <LSGT> { [         bar,   brokenbar  ] };
180
181    key <TLDE> { [       Cyrillic_yu,       Cyrillic_YU  ] };
182    key <LatQ> { [       Cyrillic_ya,       Cyrillic_YA  ] };
183    key <LatZ> { [       Cyrillic_ze,       Cyrillic_ZE  ] };
184    key <LatS> { [       Cyrillic_es,       Cyrillic_ES  ] };
185    key <LatA> { [        Cyrillic_a,        Cyrillic_A  ] };
186    key <LatW> { [       Cyrillic_ve,       Cyrillic_VE  ] };
187    key <LatC> { [      Cyrillic_tse,      Cyrillic_TSE  ] };
188    key <LatX> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN  ] };
189    key <LatD> { [       Cyrillic_de,       Cyrillic_DE  ] };
190    key <LatE> { [       Cyrillic_ie,       Cyrillic_IE  ] };
191    key <LatV> { [      Cyrillic_zhe,      Cyrillic_ZHE  ] };
192    key <LatF> { [       Cyrillic_ef,       Cyrillic_EF  ] };
193    key <LatT> { [       Cyrillic_te,       Cyrillic_TE  ] };
194    key <LatR> { [       Cyrillic_er,       Cyrillic_ER  ] };
195    key <LatN> { [       Cyrillic_en,       Cyrillic_EN  ] };
196    key <LatB> { [       Cyrillic_be,       Cyrillic_BE  ] };
197    key <LatH> { [       Cyrillic_ha,       Cyrillic_HA  ] };
198    key <LatG> { [      Cyrillic_ghe,      Cyrillic_GHE  ] };
199    key <LatY> { [     Cyrillic_yeru,     Cyrillic_YERU  ] };
200    key <LatM> { [       Cyrillic_em,       Cyrillic_EM  ] };
201    key <LatJ> { [   Cyrillic_shorti,   Cyrillic_SHORTI  ] };
202    key <LatU> { [        Cyrillic_u,        Cyrillic_U  ] };
203    key <LatK> { [       Cyrillic_ka,       Cyrillic_KA  ] };
204    key <LatI> { [        Cyrillic_i,        Cyrillic_I  ] };
205    key <LatO> { [        Cyrillic_o,        Cyrillic_O  ] };
206    key <LatL> { [       Cyrillic_el,       Cyrillic_EL  ] };
207    key <LatP> { [       Cyrillic_pe,       Cyrillic_PE  ] };
208
209    key <AD11> { [      Cyrillic_sha,      Cyrillic_SHA  ] };
210    key <AE12> { [      Cyrillic_che,      Cyrillic_CHE  ] };
211    key <AD12> { [    Cyrillic_shcha,    Cyrillic_SHCHA  ] };
212    key <BKSL> { [        Cyrillic_e,        Cyrillic_E  ] };
213};
214
215partial alphanumeric_keys
216xkb_symbols "phonetic_winkeys" {
217
218    include "ru(phonetic)"
219    name[Group1]= "Russian (phonetic, Windows)";
220
221    key <LatX> { [       Cyrillic_ha,       Cyrillic_HA  ] };
222    key <LatH> { [      Cyrillic_che,      Cyrillic_CHE  ] };
223    key <AE12> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN  ] };
224};
225
226partial alphanumeric_keys
227xkb_symbols "phonetic_YAZHERTY" {
228    include "ru(phonetic_winkeys)"
229    name[Group1]= "Russian (phonetic, YAZHERTY)";
230    key	<LatW> {	[     Cyrillic_zhe,     Cyrillic_ZHE	]	};
231    key	<LatV> {	[    Cyrillic_ve,    Cyrillic_VE	]	};
232};
233
234
235partial alphanumeric_keys
236xkb_symbols "tt" {
237
238    include "ru(winkeys)"
239    name[Group1]= "Tatar";
240
241    key.type[group1]="FOUR_LEVEL";
242
243    key <TLDE> { [           Cyrillic_shha,           Cyrillic_SHHA,        Cyrillic_io,        Cyrillic_IO  ] };
244    key <AD02> { [          Cyrillic_o_bar,          Cyrillic_O_bar,       Cyrillic_tse,       Cyrillic_TSE  ] };
245    key <AD09> { [          Cyrillic_schwa,          Cyrillic_SCHWA,     Cyrillic_shcha,     Cyrillic_SHCHA  ] };
246    key <AD12> { [     Cyrillic_u_straight,     Cyrillic_U_straight,  Cyrillic_hardsign,  Cyrillic_HARDSIGN  ] };
247    key <AC10> { [   Cyrillic_en_descender,   Cyrillic_EN_descender,       Cyrillic_zhe,       Cyrillic_ZHE  ] };
248    key <AB07> { [  Cyrillic_zhe_descender,  Cyrillic_ZHE_descender,  Cyrillic_softsign,  Cyrillic_SOFTSIGN  ] };
249
250    include "level3(ralt_switch)"
251};
252
253partial alphanumeric_keys
254xkb_symbols "os_legacy" {
255
256    include "ru(common)"
257    name[Group1]= "Ossetian (legacy)";
258
259    key <TLDE> { [  Cyrillic_e,  Cyrillic_E                              ] };
260    key <AC07> { [  Cyrillic_o,  Cyrillic_O,  Cyrillic_io,  Cyrillic_IO  ] };
261    key <AC11> { [  0x010004D5,  0x010004D4                              ] };
262};
263
264partial alphanumeric_keys
265xkb_symbols "os_winkeys" {
266
267    include "ru(winkeys)"
268    name[Group1]= "Ossetian (Windows)";
269
270    key <TLDE> { [  Cyrillic_e,  Cyrillic_E                              ] };
271    key <AC07> { [  Cyrillic_o,  Cyrillic_O,  Cyrillic_io,  Cyrillic_IO  ] };
272    key <AC11> { [  0x010004D5,  0x010004D4                              ] };
273};
274
275partial alphanumeric_keys
276xkb_symbols "cv" {
277
278    include "ru(winkeys)"
279    name[Group1]= "Chuvash";
280
281    key.type[group1]="FOUR_LEVEL";
282
283    key <AD03> { [   Cyrillic_u,   Cyrillic_U,  0x010004f3,  0x010004f2 ] };
284    key <AD05> { [  Cyrillic_ie,  Cyrillic_IE,  0x010004d7,  0x010004d6 ] };
285    key <AC04> { [   Cyrillic_a,   Cyrillic_A,  0x010004d1,  0x010004d0 ] };
286    key <AB03> { [  Cyrillic_es,  Cyrillic_ES,  0x010004ab,  0x010004aa ] };
287
288    include "level3(ralt_switch)"
289};
290
291partial alphanumeric_keys
292xkb_symbols "udm" {
293
294    include "ru(winkeys)"
295    name[Group1]= "Udmurt";
296
297    key.type[group1]="FOUR_LEVEL";
298
299    key <AE01> { [    question,      exclam,   1,   1  ] };
300    key <AE02> { [   parenleft,    quotedbl,   2,   2  ] };
301    key <AE03> { [  parenright,  numerosign,   3,   3  ] };
302    key <AE04> { [       colon,   semicolon,   4,   4  ] };
303    key <AE05> { [    asterisk,     percent,   5,   5  ] };
304    key <AE06> { [  0x010004dd,  0x010004dc,   6,   6  ] };
305    key <AE07> { [  0x010004e7,  0x010004e6,   7,   7  ] };
306    key <AE08> { [  0x010004f5,  0x010004f4,   8,   8  ] };
307    key <AE09> { [  0x010004e5,  0x010004e4,   9,   9  ] };
308    key <AE10> { [  0x010004df,  0x010004de,   0,   0  ] };
309
310    include "level3(ralt_switch)"
311};
312
313partial alphanumeric_keys
314xkb_symbols "cv_latin" {
315
316    include "us(alt-intl)"
317    name[Group1]= "Chuvash (Latin)";
318
319    key.type[group1]="FOUR_LEVEL";
320
321    key <AD01> { [   q,   Q,   0x01000161,   0x01000160  ] };
322    key <AD02> { [   w,   W,   udiaeresis,   Udiaeresis  ] };
323    key <AD03> { [   e,   E,   0x01000115,   0x01000114  ] };
324    key <AD07> { [   u,   U,   udiaeresis,   Udiaeresis  ] };
325    key <AD08> { [   i,   I,   0x0100012d,   0x0100012c  ] };
326    key <AD09> { [   o,   O,   odiaeresis,   Odiaeresis  ] };
327    key <AC01> { [   a,   A,       abreve,       Abreve  ] };
328    key <AC02> { [   s,   S,     scedilla,     Scedilla  ] };
329    key <AC05> { [   g,   G,       gbreve,       Gbreve  ] };
330    key <AC07> { [   j,   J,   0x01000131,   0x01000130  ] };
331    key <AB03> { [   c,   C,     ccedilla,     Ccedilla  ] };
332
333    include "level3(ralt_switch)"
334};
335
336// Komi language layout
337// Vlad Shakhov <lumpen.intellectual@gmail.com>
338// last changes 2007/10/23
339partial alphanumeric_keys
340xkb_symbols "kom" {
341
342    include "ru(winkeys)"
343    name[Group1]= "Komi";
344
345    key.type[group1]="FOUR_LEVEL_ALPHABETIC";
346
347    // cyrilllic o with diaeresis
348    key <AC07> { [  Cyrillic_o,  Cyrillic_O,        U04E7,        U04E6  ] };
349
350    // hard I as additional key for soft Cyrillic_I
351    key <AB05> { [  Cyrillic_i,  Cyrillic_I,  Ukrainian_i,  Ukrainian_I  ] };
352
353    include "level3(ralt_switch)"
354};
355
356// Yakut language layout
357// 2008/04/23 Yakov Aleksandrov <bertjickty@yandex.ru>
358// 2008/04/23 Anatoliy Zhozhikov <jav@sitc.ru>
359// 2008/04/23 Aleksandr Varlamov
360partial alphanumeric_keys
361xkb_symbols "sah" {
362
363    include "ru(winkeys)"
364    name[Group1]= "Yakut";
365
366    key.type[group1]="FOUR_LEVEL_ALPHABETIC";
367
368    key <TLDE> { [  Cyrillic_io,      Cyrillic_IO,      U04EB,                U04EA                ] };
369    key <AD01> { [  Cyrillic_shorti,  Cyrillic_SHORTI,  U048B,                U048A                ] };
370    key <AD03> { [  Cyrillic_u,       Cyrillic_U,       Cyrillic_u_straight,  Cyrillic_U_straight  ] };
371    key <AD04> { [  Cyrillic_ka,      Cyrillic_KA,      U04C4,                U04C3                ] };
372    key <AD06> { [  Cyrillic_en,      Cyrillic_EN,      U04A5,                U04A4                ] };
373    key <AD07> { [  Cyrillic_ghe,     Cyrillic_GHE,     U0495,                U0494                ] };
374    key <AD10> { [  Cyrillic_ze,      Cyrillic_ZE,      U04E1,                U04E0                ] };
375    key <AD11> { [  Cyrillic_ha,      Cyrillic_HA,      Cyrillic_shha,        Cyrillic_SHHA        ] };
376    key <AC07> { [  Cyrillic_o,       Cyrillic_O,       Cyrillic_o_bar,       Cyrillic_O_bar       ] };
377    key <AC10> { [  Cyrillic_zhe,     Cyrillic_ZHE,     U0461,                U0460                ] };
378    key <AB02> { [  Cyrillic_che,     Cyrillic_CHE,     Cyrillic_u_macron,    Cyrillic_U_macron    ] };
379    key <AB04> { [  Cyrillic_em,      Cyrillic_EM,      U04C8,                U04C7                ] };
380    key <AB05> { [  Cyrillic_i,       Cyrillic_I,       Cyrillic_i_macron,    Cyrillic_I_macron    ] };
381
382    include "level3(ralt_switch)"
383};
384
385
386//Kalmyk language layout
387//based on the Kalmyk language layout: http://soft.oyrat.org/
388//Nikolay Korneev <halmg@oyrat.org>
389//Toli Miron <mirontoli@gmail.com>
390partial alphanumeric_keys
391xkb_symbols "xal" {
392
393    include "ru(winkeys)"
394    name[Group1]= "Kalmyk";
395
396    key.type[group1]="FOUR_LEVEL";
397
398    key <AE01> { [               question,                 exclam,             1  ] };
399    key <AE02> { [             numerosign,               quotedbl,             2  ] };
400    key <AE03> { [    Cyrillic_u_straight,    Cyrillic_U_straight,             3  ] };
401    key <AE04> { [         Cyrillic_schwa,         Cyrillic_SCHWA,             4  ] };
402    key <AE05> { [               asterisk,                percent,             5  ] };
403    key <AE06> { [  Cyrillic_en_descender,  Cyrillic_EN_descender,             6  ] };
404    key <AE07> { [         Cyrillic_o_bar,         Cyrillic_O_bar,             7  ] };
405    key <AE08> { [          Cyrillic_shha,          Cyrillic_SHHA,             8  ] };
406    key <AE09> { [ Cyrillic_zhe_descender, Cyrillic_ZHE_descender,             9  ] };
407    key <AE10> { [              semicolon,                  colon,             0  ] };
408
409    key <TLDE> { [              parenleft,             parenright,   Cyrillic_io,  Cyrillic_IO    ] };
410
411    key <AD02> { [           Cyrillic_tse,           Cyrillic_TSE,        dollar  ] };
412    key <AD03> { [             Cyrillic_u,             Cyrillic_U,      EuroSign  ] };
413    key <AD04> { [            Cyrillic_ka,            Cyrillic_KA,    registered  ] };
414    key <AD05> { [            Cyrillic_ie,            Cyrillic_IE,     trademark  ] };
415    key <AD11> { [            Cyrillic_ha,            Cyrillic_HA,   bracketleft  ] };
416    key <AD12> { [      Cyrillic_hardsign,      Cyrillic_HARDSIGN,  bracketright  ] };
417    key <AC11> { [             Cyrillic_e,             Cyrillic_E,    apostrophe  ] };
418    key <AB03> { [            Cyrillic_es,            Cyrillic_ES,     copyright  ] };
419    key <AB08> { [            Cyrillic_be,            Cyrillic_BE,          less  ] };
420    key <AB09> { [            Cyrillic_yu,            Cyrillic_YU,       greater  ] };
421
422    include "level3(ralt_switch)"
423};
424
425partial alphanumeric_keys
426xkb_symbols "dos" {
427
428    include "ru(common)"
429    name[Group1]= "Russian (DOS)";
430
431    key <TLDE> { [   parenright,  parenleft   ] };
432    key <AE04> { [   4,           currency    ] };
433    key <AE09> { [   9,           question    ] };
434    key <AE10> { [   0,           percent     ] };
435
436    key <AB10> { [   Cyrillic_io, Cyrillic_IO ] };
437};
438
439partial alphanumeric_keys
440xkb_symbols "bak" {
441
442    include "ru(winkeys)"
443    name[Group1]= "Bashkirian";
444
445    key.type[group1]="FOUR_LEVEL";
446
447    key <TLDE> { [         Cyrillic_schwa,         Cyrillic_SCHWA,  Cyrillic_io,   Cyrillic_IO  ] };
448    key <AE01> { [                 exclam,               quotedbl,            1,             1  ] };
449    key <AE02> { [         Cyrillic_o_bar,         Cyrillic_O_bar,            2,             2  ] };
450    key <AE03> { [             0x010004a1,             0x010004a0,            3,             3  ] };
451    key <AE04> { [       Cyrillic_ghe_bar,       Cyrillic_GHE_bar,            4,             4  ] };
452    key <AE05> { [             0x010004ab,             0x010004aa,            5,             5  ] };
453    key <AE06> { [                  colon,              semicolon,            6,             6  ] };
454    key <AE07> { [             0x01000499,             0x01000498,            7,             7  ] };
455    key <AE08> { [          Cyrillic_shha,          Cyrillic_SHHA,            8,             8  ] };
456    key <AE09> { [               question,              parenleft,            9,             9  ] };
457    key <AE10> { [             numerosign,             parenright,            0,             0  ] };
458    key <AE11> { [                  minus,                percent,        minus,    underscore  ] };
459    key <AE12> { [    Cyrillic_u_straight,    Cyrillic_U_straight,        equal,          plus  ] };
460    key <BKSL> { [  Cyrillic_en_descender,  Cyrillic_EN_descender,    backslash,         slash  ] };
461
462    include "level3(ralt_switch)"
463};
464
465// Serbian characters are added as third-level symbols to Russian keyboard layout.
466partial alphanumeric_keys
467xkb_symbols "srp" {
468
469    include "ru(common)"
470    name[Group1]= "Serbian (Russia)";
471
472    key <AE03> { [               3,      numerosign                ] };
473    key <AE04> { [               4,       semicolon                ] };
474    key <AE05> { [               5,         percent                ] };
475    key <AE06> { [               6,           colon                ] };
476    key <AE07> { [               7,        question                ] };
477    key <AE08> { [               8,        asterisk                ] };
478    key <AB10> { [          period,           comma                ] };
479    key <BKSL> { [       backslash,           slash                ] };
480    key <AD01> { [ Cyrillic_shorti, Cyrillic_SHORTI,  U458,  U408  ] };
481    key <AD06> { [     Cyrillic_en,     Cyrillic_EN,  U45A,  U40A  ] };
482    key <AC08> { [     Cyrillic_el,     Cyrillic_EL,  U459,  U409  ] };
483    key <AC09> { [     Cyrillic_de,     Cyrillic_DE,  U45F,  U40F  ] };
484    key <AC10> { [    Cyrillic_zhe,    Cyrillic_ZHE,  U452,  U402  ] };
485    key <AB02> { [    Cyrillic_che,    Cyrillic_CHE,  U45B,  U40B  ] };
486
487    include "level3(ralt_switch)"
488};
489
490// Mari language layout
491// http://www.marlamuter.com/
492// Last edit by Viatcheslav Kileev (slavakileev@yandex.ru)
493partial alphanumeric_keys
494xkb_symbols "chm" {
495
496    include "ru(winkeys)"
497    name[Group1]= "Mari";
498
499    key.type[group1]="FOUR_LEVEL_ALPHABETIC";
500
501    key <AC04> { [   Cyrillic_a,   Cyrillic_A,   U04D3,   U04D2  ] };
502    key <AD03> { [   Cyrillic_u,   Cyrillic_U,   U04F1,   U04F0  ] };
503    key <AC02> { [ Cyrillic_yeru, Cyrillic_YERU, U04F9,   U04F8  ] };
504    key <AD06> { [   Cyrillic_en,  Cyrillic_EN,  U04A5,   U04A4  ] };
505    key <AC07> { [   Cyrillic_o,   Cyrillic_O,   U04E7,   U04E6  ] };
506
507    include "level3(ralt_switch)"
508};
509
510partial alphanumeric_keys
511xkb_symbols "phonetic_azerty" {
512
513    include "level3(ralt_switch)"
514
515    name[Group1]= "Russian (phonetic, AZERTY)";
516
517     key <AE01>	{ [ ampersand,          1,  onesuperior,   exclamdown ]	};
518     key <AE02>	{ [    eacute,          2,   asciitilde,    oneeighth ]	};
519     key <AE03>	{ [  quotedbl,          3,   numbersign,     sterling ]	};
520     key <AE04>	{ [apostrophe,          4,    braceleft,       dollar ]	};
521     key <AE05>	{ [ parenleft,          5,  bracketleft, threeeighths ]	};
522     key <AE06>	{ [     minus,          6,          bar,  fiveeighths ]	};
523     key <AE07>	{ [    egrave,          7,        grave, seveneighths ]	};
524     key <AE08>	{ [underscore,          8,    backslash,    trademark ]	};
525     key <AE09>	{ [  ccedilla,          9,  asciicircum,    plusminus ]	};
526     key <AE10>	{ [    agrave,          0,           at,       degree ]	};
527     key <AE11>	{ [parenright,     degree, bracketright, questiondown ]	};
528     key <AE12>	{ [     equal,       plus,   braceright,  dead_ogonek ]	};
529
530     key <AB07> { [     comma,   question,        acute,  doubleacute ] };
531     key <AB08>	{ [ semicolon,     period, horizconnector,   multiply ]	};
532     key <AB09>	{ [     colon,      slash, periodcentered,   division ]	};
533     key <AB10>	{ [    exclam,    section, dead_belowdot, dead_abovedot ] };
534
535     key <AC11>  { [    ugrave,    percent,  asciicircum,        caron ] };
536     key	<LSGT> {	[	      bar,	 brokenbar	]	};
537
538     key	<TLDE> {	[     Cyrillic_yu,     Cyrillic_YU	]	};
539     key	<AC01> {	[     Cyrillic_ya,     Cyrillic_YA	]	}; // Q
540     key	<AD02> {	[     Cyrillic_ze,     Cyrillic_ZE	]	}; // Z
541     key	<LatS> {	[     Cyrillic_es,     Cyrillic_ES	]	};
542     key	<AD01> {	[      Cyrillic_a,	Cyrillic_A	]	};
543     key	<AB01> {	[     Cyrillic_ve,     Cyrillic_VE	]	}; // W
544     key	<LatC> {	[    Cyrillic_tse,    Cyrillic_TSE	]	};
545     key	<LatX> {	[Cyrillic_softsign,Cyrillic_SOFTSIGN	]	};
546     key	<LatD> {	[     Cyrillic_de,     Cyrillic_DE	]	};
547     key	<LatE> {	[     Cyrillic_ie,     Cyrillic_IE	]	};
548     key	<LatV> {	[    Cyrillic_zhe,    Cyrillic_ZHE	]	};
549     key	<LatF> {	[     Cyrillic_ef,     Cyrillic_EF	]	};
550     key	<LatT> {	[     Cyrillic_te,     Cyrillic_TE	]	};
551     key	<LatR> {	[     Cyrillic_er,     Cyrillic_ER	]	};
552     key	<LatN> {	[     Cyrillic_en,     Cyrillic_EN	]	};
553     key	<LatB> {	[     Cyrillic_be,     Cyrillic_BE	]	};
554     key	<LatH> {	[     Cyrillic_ha,     Cyrillic_HA	]	};
555     key	<LatG> {	[    Cyrillic_ghe,    Cyrillic_GHE	]	};
556     key	<LatY> {	[   Cyrillic_yeru,   Cyrillic_YERU	]	};
557     key	<AC10> {	[     Cyrillic_em,     Cyrillic_EM	]	}; // M
558     key	<LatJ> {	[ Cyrillic_shorti, Cyrillic_SHORTI	]	};
559     key	<LatU> {	[      Cyrillic_u,	Cyrillic_U	]	};
560     key	<LatK> {	[     Cyrillic_ka,     Cyrillic_KA	]	};
561     key	<LatI> {	[      Cyrillic_i,	Cyrillic_I	]	};
562     key	<LatO> {	[      Cyrillic_o,	Cyrillic_O	]	};
563     key	<LatL> {	[     Cyrillic_el,     Cyrillic_EL	]	};
564     key	<LatP> {	[     Cyrillic_pe,     Cyrillic_PE	]	};
565
566    key	<AD11> {	[    Cyrillic_sha,    Cyrillic_SHA	]	};
567    key	<AE12> {	[    Cyrillic_che,    Cyrillic_CHE	]	};
568    key	<AD12> {	[  Cyrillic_shcha,  Cyrillic_SHCHA	]	};
569    key	<BKSL> {	[      Cyrillic_e,	Cyrillic_E	]	};
570};
571
572// Russian dvorak phonetic layout
573// Oleg Zalizniak <ramaloke at gmail.com>
574partial alphanumeric_keys
575xkb_symbols "phonetic_dvorak" {
576    include "level3(ralt_switch)"
577
578    name[Group1]= "Russian (phonetic, Dvorak)";
579
580    key <TLDE> { [ Cyrillic_yu, Cyrillic_YU ] };
581
582    key <AE01> { [ 1, exclam ] };
583    key <AE02> { [ 2, at ] };
584    key <AE03> { [ 3, Cyrillic_io ] };
585    key <AE04> { [ 4, Cyrillic_IO ] };
586    key <AE05> { [ 5, Cyrillic_hardsign ] };
587    key <AE06> { [ 6, Cyrillic_HARDSIGN ] };
588    key <AE07> { [ 7, ampersand ] };
589    key <AE08> { [ 8, asterisk ] };
590    key <AE09> { [ 9, parenleft ] };
591    key <AE10> { [ 0, parenright ] };
592    key <AE11> { [ Cyrillic_sha, Cyrillic_SHA ] };
593    key <AE12> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
594    key <BKSL> { [ Cyrillic_e, Cyrillic_E ] };
595
596    key <AD01> { [ apostrophe, quotedbl, dead_acute, dead_diaeresis ] };
597    key <AD02> { [ comma, less, dead_cedilla, dead_caron ] };
598    key <AD03> { [ period, greater, dead_abovedot, periodcentered ] };
599    key <AD04> { [ Cyrillic_pe, Cyrillic_PE ] };
600    key <AD05> { [ Cyrillic_yeru, Cyrillic_YERU ] };
601    key <AD06> { [ Cyrillic_ef, Cyrillic_EF ] };
602    key <AD07> { [ Cyrillic_ghe, Cyrillic_GHE ] };
603    key <AD08> { [ Cyrillic_tse, Cyrillic_TSE ] };
604    key <AD09> { [ Cyrillic_er, Cyrillic_ER ] };
605    key <AD10> { [ Cyrillic_el, Cyrillic_EL ] };
606    key <AD11> { [ slash, question ] };
607    key <AD12> { [ Cyrillic_che, Cyrillic_CHE ] };
608
609    key <AC01> { [ Cyrillic_a, Cyrillic_A ] };
610    key <AC02> { [ Cyrillic_o, Cyrillic_O ] };
611    key <AC03> { [ Cyrillic_ie, Cyrillic_IE ] };
612    key <AC04> { [ Cyrillic_u, Cyrillic_U ] };
613    key <AC05> { [ Cyrillic_i, Cyrillic_I ] };
614    key <AC06> { [ Cyrillic_de, Cyrillic_DE ] };
615    key <AC07> { [ Cyrillic_ha, Cyrillic_HA ] };
616    key <AC08> { [ Cyrillic_te, Cyrillic_TE ] };
617    key <AC09> { [ Cyrillic_en, Cyrillic_EN ] };
618    key <AC10> { [ Cyrillic_es, Cyrillic_ES ] };
619    key <AC11> { [ minus, underscore ] };
620
621    key <AB01> { [ semicolon, colon, dead_ogonek, dead_doubleacute ] };
622    key <AB02> { [ Cyrillic_ya, Cyrillic_YA ] };
623    key <AB03> { [ Cyrillic_shorti, Cyrillic_SHORTI ] };
624    key <AB04> { [ Cyrillic_ka, Cyrillic_KA ] };
625    key <AB05> { [Cyrillic_softsign,Cyrillic_SOFTSIGN ] };
626    key <AB06> { [ Cyrillic_be, Cyrillic_BE ] };
627    key <AB07> { [ Cyrillic_em, Cyrillic_EM ] };
628    key <AB08> { [ Cyrillic_ve, Cyrillic_VE ] };
629    key <AB09> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
630    key <AB10> { [ Cyrillic_ze, Cyrillic_ZE ] };
631};
632
633partial alphanumeric_keys
634xkb_symbols "phonetic_fr" {
635
636    include "fr"
637    include "ru(phonetic_azerty)"
638
639    name[Group1]= "Russian (phonetic, French)";
640};
641
642// EXTRAS:
643
644// Rulemak, Colemak based Russian phonetic layout
645// contact: Geert Hendrickx <geert@hendrickx.be>
646// http://forum.colemak.com/viewtopic.php?id=519
647//
648// ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓
649// │ Ё ``│ ! ˝ │ @   │ №   │ $   │ %   │ ^ ¯ │ &   │ * ₴ │ (   │ )   │ _ — │ Ъ + ┃ ⌫       ┃
650// │ ё ` │ 1 ´ │ 2 ¨ │ 3 # │ 4 ¢ │ 5 € │ 6 ˘ │ 7   │ 8 ₽ │ 9 [ │ 0 ] │ - – │ ъ = ┃Backspace┃
651// ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━┫
652// ┃       ┃ Я Ѣ │ Ж Ѵ │ Ф Ѳ │ П   │ Г Ґ │ й Ј │ Л Љ │ У Ў │ Ы Ї │ Ю : │ Ш { │ Щ } ┃ Enter ┃
653// ┃ Tab ↹ ┃ я ѣ │ ж ѵ │ ф ѳ │ п   │ г ґ │ й ј │ л љ │ у ў │ ы ї │ ю ; │ ш « │ щ » ┃   ⏎   ┃
654// ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓      ┃
655// ┃ ⌫ Back ┃ А   │ Р   │ С   │ Т Ћ │ Д Ђ │ Ч Џ │ Н Њ │ Е Є │ И І │ О   │ Ь " │ Э | ┃      ┃
656// ┃  space ┃ а   │ р   │ с   │ т ћ │ д ђ │ ч џ │ н њ │ е є │ и і │ о   │ ь ' │ э \ ┃      ┃
657// ┣━━━━━━━━┻━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┲━━━┷━━━━━┻━━━━━━┫
658// ┃          ┃ З Ѕ │ Х   │ Ц   │ В   │ Б Ѓ │ К Ќ │ М   │ ;   │ :   │ ? Ӏ ┃                ┃
659// ┃  Shift ⇧ ┃ з ѕ │ х   │ ц   │ в   │ б ѓ │ к ќ │ м   │ , < │ . > │ / ӏ ┃     Shift ⇧    ┃
660// ┣━━━━━━━┳━━┻━━━━┳┷━━━━━┷┱────┴─────┴─────┴─────┴─────┴─────┴┲━━━━┷━━┳━━┻━━━━┳━━━━━━━┳━━━┛
661// ┃       ┃       ┃       ┃                                   ┃       ┃       ┃       ┃
662// ┃ Ctrl  ┃ Meta  ┃  Alt  ┃                Space              ┃AltGr ⇮┃ Menu  ┃ Ctrl  ┃
663// ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹───────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┛
664
665partial alphanumeric_keys
666xkb_symbols "rulemak" {
667
668    name[Group1]= "Russian (Rulemak, phonetic Colemak)";
669
670    key <TLDE> { [     Cyrillic_io,     Cyrillic_IO,           U0300,           U030F ] }; // Combining grave, double grave
671    key <AE01> { [               1,          exclam,           U0301,           U030B ] }; // Combining acute, double acute
672    key <AE02> { [               2,              at,           U0308                  ] }; // Combining diaeresis
673    key <AE03> { [               3,      numerosign,      numbersign                  ] };
674    key <AE04> { [               4,          dollar,            cent                  ] };
675    key <AE05> { [               5,         percent,        EuroSign                  ] };
676    key <AE06> { [               6,     asciicircum,           U0306,           U0304 ] }; // Combining breve, macron
677    key <AE07> { [               7,       ampersand                                   ] };
678    key <AE08> { [               8,        asterisk,           U20BD,           U20B4 ] }; // ruble, hryvnia
679    key <AE09> { [               9,       parenleft,     bracketleft                  ] };
680    key <AE10> { [               0,      parenright,    bracketright                  ] };
681    key <AE11> { [           minus,      underscore,          endash,          emdash ] };
682    key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN,       equal,            plus ] };
683
684    key <AD01> { [     Cyrillic_ya,     Cyrillic_YA,           U0463,           U0462 ] }; // yat
685    key <AD02> { [    Cyrillic_zhe,    Cyrillic_ZHE,           U0475,           U0474 ] }; // izhitsa
686    key <AD03> { [     Cyrillic_ef,     Cyrillic_EF,           U0473,           U0472 ] }; // fita
687    key <AD04> { [     Cyrillic_pe,     Cyrillic_PE                                   ] };
688    key <AD05> { [    Cyrillic_ghe,    Cyrillic_GHE, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
689    key <AD06> { [ Cyrillic_shorti, Cyrillic_SHORTI,     Cyrillic_je,     Cyrillic_JE ] };
690    key <AD07> { [     Cyrillic_el,     Cyrillic_EL,    Cyrillic_lje,    Cyrillic_LJE ] };
691    key <AD08> { [      Cyrillic_u,      Cyrillic_U, Byelorussian_shortu, Byelorussian_SHORTU ] };
692    key <AD09> { [   Cyrillic_yeru,   Cyrillic_YERU,    Ukrainian_yi,    Ukrainian_YI ] };
693    key <AD10> { [     Cyrillic_yu,     Cyrillic_YU,       semicolon,           colon ] };
694    key <AD11> { [    Cyrillic_sha,    Cyrillic_SHA,   guillemotleft,       braceleft ] };
695    key <AD12> { [  Cyrillic_shcha,  Cyrillic_SHCHA,  guillemotright,      braceright ] };
696    key <BKSL> { [      Cyrillic_e,      Cyrillic_E,       backslash,             bar ] };
697
698    key <AC01> { [      Cyrillic_a,      Cyrillic_A                                   ] };
699    key <AC02> { [     Cyrillic_er,     Cyrillic_ER                                   ] };
700    key <AC03> { [     Cyrillic_es,     Cyrillic_ES                                   ] };
701    key <AC04> { [     Cyrillic_te,     Cyrillic_TE,    Serbian_tshe,    Serbian_TSHE ] };
702    key <AC05> { [     Cyrillic_de,     Cyrillic_DE,     Serbian_dje,     Serbian_DJE ] };
703    key <AC06> { [     Cyrillic_che,   Cyrillic_CHE,   Cyrillic_dzhe,   Cyrillic_DZHE ] };
704    key <AC07> { [     Cyrillic_en,     Cyrillic_EN,    Cyrillic_nje,    Cyrillic_NJE ] };
705    key <AC08> { [     Cyrillic_ie,     Cyrillic_IE,    Ukrainian_ie,    Ukrainian_IE ] };
706    key <AC09> { [      Cyrillic_i,      Cyrillic_I,     Ukrainian_i,     Ukrainian_I ] };
707    key <AC10> { [      Cyrillic_o,      Cyrillic_O                                   ] };
708    key <AC11> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN,  apostrophe,        quotedbl ] };
709
710    key <AB01> { [     Cyrillic_ze,     Cyrillic_ZE,   Macedonia_dse,   Macedonia_DSE ] };
711    key <AB02> { [     Cyrillic_ha,     Cyrillic_HA                                   ] };
712    key <AB03> { [    Cyrillic_tse,    Cyrillic_TSE                                   ] };
713    key <AB04> { [     Cyrillic_ve,     Cyrillic_VE                                   ] };
714    key <AB05> { [     Cyrillic_be,     Cyrillic_BE,   Macedonia_gje,   Macedonia_GJE ] };
715    key <AB06> { [     Cyrillic_ka,     Cyrillic_KA,   Macedonia_kje,   Macedonia_KJE ] };
716    key <AB07> { [     Cyrillic_em,     Cyrillic_EM                                   ] };
717    key <AB08> { [           comma,       semicolon,            less                  ] };
718    key <AB09> { [          period,           colon,         greater                  ] };
719    key <AB10> { [           slash,        question,           U04CF,           U04C0 ] }; // palochka
720
721    key <LSGT> { [           equal,            plus,        multiply,        division ] };
722
723    include "level3(ralt_switch)"
724    include "capslock(backspace)"
725    include "nbsp(level4)"
726};
727
728// Church Slavonic language layout
729// based on the Russian standard keyboard
730// by Aleksandr Andreev and Yuri Shardt
731// last changes 2010/08/01; contact <aleksandr.andreev@gmail.com>
732partial alphanumeric_keys
733xkb_symbols "chu" {
734
735    name[Group1]= "Church Slavonic";
736
737    key <TLDE> { [  Ukrainian_yi,  Ukrainian_YI,  U0482,  U20DD  ] };  // ї Ї ҂ e.g: а⃝ where the last is a combining ten thousands sign
738    key <AE01> { [  U0461,  U0460,  U047D,  U047C  ] };  // ѡ Ѡ ѽ Ѽ
739    key <AE02> { [  Ukrainian_ie,  Ukrainian_IE,  U0465,  U0464  ] };  // є Є ѥ Ѥ
740    key <AE03> { [  U046F,  U046E,  U0469,  U0468  ] };  // ѯ Ѯ ѩ Ѩ
741    key <AE04> { [  U0471,  U0470,  U046D,  U046C  ] };  // ѱ Ѱ ѭ Ѭ
742    key <AE05> { [  U0473,  U0472,  UA657,  UA656  ] };  // ѳ Ѳ iotified A
743    key <AE06> { [  U0475,  U0474,  U0477,  U0476  ] };  // ѵ Ѵ ѷ Ѷ
744    key <AE07> { [  U047B,  U047A,  UA64D,  UA64C  ] };  // ѻ Ѻ ꙍ Ꙍ
745    key <AE08> { [  U047F,  U047E,  U046B,  U046A  ] };  // ѿ Ѿ ѫ Ѫ
746    key <AE09> { [  Macedonia_dse,  Macedonia_DSE,  parenleft, asterisk  ] };  // ѕ Ѕ ( *
747    key <AE10> { [  Cyrillic_u,     Cyrillic_U,  parenright,  U0488]};  // у У ) NB: for digraph Ouk, use Cyrillic_o + Cyrillic_u
748    key <AE11> { [  U0483,  U0486,  U0487,  U005F  ] };  // а҃ а҆ а҇, _ (titlo, psili, pokrytie, underscore)
749    key <AE12> { [  U0301,  U0300,  U0484,  UA67E  ] };  // а̀ а́ а҄ ꙾ (oxia, varia, kamora, kavyka)
750
751    key <AD01> { [  Cyrillic_shorti,  Cyrillic_SHORTI,  Ukrainian_i  ] };
752    key <AD02> { [     Cyrillic_tse,     Cyrillic_TSE,  U2DF0  ] };
753    key <AD03> { [            UA64B,            UA64A,  U2DF9  ] };  // Cyrillic monograph Uk (not U)!
754    key <AD04> { [      Cyrillic_ka,      Cyrillic_KA,  U2DE6  ] };
755    key <AD05> { [      Cyrillic_ie,      Cyrillic_IE,  U2DF7  ] };
756    key <AD06> { [      Cyrillic_en,      Cyrillic_EN,  U2DE9  ] };
757    key <AD07> { [     Cyrillic_ghe,     Cyrillic_GHE,  U2DE2  ] };
758    key <AD08> { [     Cyrillic_sha,     Cyrillic_SHA,  U2DF2  ] };
759    key <AD09> { [   Cyrillic_shcha,   Cyrillic_SHCHA,  U2DF3  ] };
760    key <AD10> { [      Cyrillic_ze,      Cyrillic_ZE,  U2DE5  ] };
761    key <AD11> { [      Cyrillic_ha,      Cyrillic_HA,  U2DEF  ] };
762    key <AD12> { [Cyrillic_hardsign,Cyrillic_HARDSIGN,  UA67D  ] };  // Payerok
763    key <BKSL> { [        backslash,            slash,  colon,  question ] };  // \ / : ? NB: for Slavonic question, use semicolon
764
765    key <AC01> { [      Cyrillic_ef,      Cyrillic_EF          ] };
766    key <AC02> { [    Cyrillic_yeru,    Cyrillic_YERU          ] };
767    key <AC03> { [      Cyrillic_ve,      Cyrillic_VE,  U2DE1  ] };
768    key <AC04> { [       Cyrillic_a,       Cyrillic_A,  U2DF6  ] };
769    key <AC05> { [      Cyrillic_pe,      Cyrillic_PE,  U2DEB  ] };
770    key <AC06> { [      Cyrillic_er,      Cyrillic_ER,  U2DEC  ] };
771    key <AC07> { [       Cyrillic_o,       Cyrillic_O,  U2DEA  ] };
772    key <AC08> { [      Cyrillic_el,      Cyrillic_EL,  U2DE7  ] };
773    key <AC09> { [      Cyrillic_de,      Cyrillic_DE,  U2DE3  ] };
774    key <AC10> { [     Cyrillic_zhe,     Cyrillic_ZHE,  U2DE4  ] };
775    key <AC11> { [            U0463,            U0462,  U2DFA  ] };  // Yat
776
777    key <AB01> { [            U0467,            U0466,  U2DFD  ] };  // Small Yus
778    key <AB02> { [     Cyrillic_che,     Cyrillic_CHE,  U2DF1  ] };
779    key <AB03> { [      Cyrillic_es,      Cyrillic_ES,  U2DED  ] };
780    key <AB04> { [      Cyrillic_em,      Cyrillic_EM,  U2DE8  ] };
781    key <AB05> { [       Cyrillic_i,       Cyrillic_I          ] };
782    key <AB06> { [      Cyrillic_te,      Cyrillic_TE,  U2DEE  ] };
783    key <AB07> { [Cyrillic_softsign,Cyrillic_SOFTSIGN          ] };
784    key <AB08> { [      Cyrillic_be,      Cyrillic_BE,  U2DE0  ] };
785    key <AB09> { [      Cyrillic_yu,      Cyrillic_YU,  U2DFB  ] };
786    key <AB10> { [           period,            comma, semicolon, exclam  ] };
787};
788
789
790// RUU (Russian-Ukrainian United keyboard layout).
791// This is a modified Russian standard keyboard, with the third level containing
792// Ukrainian and Belorusian alphabetic letters and commonly used Unicode symbols.
793// For a description see http://wiki.opennet.ru/RUU [in Russian].
794// Vasyĺ V. Vercynśkyj <fuckel@ukr.net>
795// last changes 2011/05/11
796//
797// ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┲━━━━━━━━━┓
798// │ ' ~ │ ! ≈ │ " ∞ │ № ₴ │ ; € │ % ‰ │ : ≤ │ ? ≥ │ * × │ ( { │ ) } │ _ – │ + ± ┃ ⌫       ┃
799// │ ’  ́ │ 1 ÷ │ 2 ¤ │ 3 § │ 4 $ │ 5 ° │ 6 < │ 7 > │ 8 • │ 9 [ │ 0 ] │ - — │ = ≠ ┃Backspace┃
800// ┢━━━━━┷━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┺━┳━━━━━━━┫
801// ┃       ┃ Й   │ Ц   │ У Ў │ К   │ Е Ё │ Н   │ Г Ґ │ Ш   │ Щ   │ З   │ Х   │ Ъ Ї ┃ Enter ┃
802// ┃ Tab ↹ ┃ й   │ ц   │ у ў │ к ® │ е ё │ н   │ г ґ │ ш   │ щ   │ з   │ х   │ ъ ї ┃   ⏎   ┃
803// ┣━━━━━━━┻┱────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┴┬────┺┓      ┃
804// ┃ Caps   ┃ Ф   │ Ы І │ В   │ А   │ П   │ Р   │ О   │ Л   │ Д   │ Ж   │ Э Є │ | ¦ ┃      ┃
805// ┃ Lock ⇬ ┃ ф   │ ы і │ в   │ а   │ п   │ р   │ о   │ л   │ д   │ ж   │ э є │ / \ ┃      ┃
806// ┣━━━━━━━━┻━┱───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┬───┴─┲━━━┷━━━━━┻━━━━━━┫
807// ┃          ┃ Я   │ Ч   │ С   │ М   │ И   │ Т   │ Ь   │ Б „ │ Ю “ │ , … ┃                ┃
808// ┃  Shift ⇧ ┃ я   │ ч   │ с © │ м   │ и   │ т ™ │ ь µ │ б « │ ю » │ . / ┃     Shift ⇧    ┃
809// ┣━━━━━━━┳━━┻━━━━┳┷━━━━━┷┱────┴─────┴─────┴─────┴─────┴─────┴┲━━━━┷━━┳━━┻━━━━┳━━━━━━━┳━━━┛
810// ┃       ┃       ┃       ┃                                   ┃       ┃       ┃       ┃
811// ┃ Ctrl  ┃ Meta  ┃  Alt  ┃                Space              ┃AltGr ⇮┃ Menu  ┃ Ctrl  ┃
812// ┗━━━━━━━┻━━━━━━━┻━━━━━━━┹───────────────────────────────────┺━━━━━━━┻━━━━━━━┻━━━━━━━┛
813partial alphanumeric_keys
814xkb_symbols "ruu" {
815
816    include "ru(common)"
817    name[Group1]= "Russian (with Ukrainian-Belorussian layout)";
818
819    key <TLDE> { [  U2019,  apostrophe,         U0301,  asciitilde  ] };  // Apostrophe and Stress symbol
820    key <AE01> { [      1,      exclam,      division,       U2248  ] };  // Division Sign and Almost Equal To
821    key <AE02> { [      2,    quotedbl,      currency,    infinity  ] };
822    key <AE03> { [      3,  numerosign,       section,       U20B4  ] };  // Paragraph and Hryvnia sign
823    key <AE04> { [      4,   semicolon,        dollar,    EuroSign  ] };
824    key <AE05> { [      5,     percent,        degree,    permille  ] };
825    key <AE06> { [      6,       colon,        less, lessthanequal  ] };
826    key <AE07> { [      7,    question,  greater, greaterthanequal  ] };
827    key <AE08> { [      8,    asterisk,enfilledcircbullet,multiply  ] };
828    key <AE09> { [      9,   parenleft,   bracketleft,   braceleft  ] };
829    key <AE10> { [      0,  parenright,  bracketright,  braceright  ] };
830    key <AE11> { [  minus,  underscore,        emdash,      endash  ] };
831    key <AE12> { [  equal,        plus,      notequal,   plusminus  ] };
832
833    key <AD03> { [        Cyrillic_u,        Cyrillic_U, Byelorussian_shortu, Byelorussian_SHORTU ] };
834    key <AD04> { [       Cyrillic_ka,       Cyrillic_KA,    registered                        ] };
835    key <AD05> { [       Cyrillic_ie,       Cyrillic_IE,   Cyrillic_io,          Cyrillic_IO  ] };
836    key <AD07> { [      Cyrillic_ghe,      Cyrillic_GHE, Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
837    key <AD10> { [       Cyrillic_ze,       Cyrillic_ZE,     paragraph                        ] };
838    key <AD12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN,  Ukrainian_yi,         Ukrainian_YI  ] };
839
840    key <AC02> { [     Cyrillic_yeru,     Cyrillic_YERU,   Ukrainian_i,          Ukrainian_I  ] };
841    key <AC11> { [        Cyrillic_e,        Cyrillic_E,  Ukrainian_ie,         Ukrainian_IE  ] };
842    key <BKSL> { [             slash,               bar,     backslash,            brokenbar  ] };
843
844    key <AB03> { [       Cyrillic_es,       Cyrillic_ES,      copyright                       ] };
845    key <AB06> { [       Cyrillic_te,       Cyrillic_TE,      trademark                       ] };
846    key <AB07> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN,             mu                       ] };
847    key <AB08> { [       Cyrillic_be,       Cyrillic_BE,  guillemotleft,  doublelowquotemark  ] };
848    key <AB09> { [       Cyrillic_yu,       Cyrillic_YU, guillemotright, leftdoublequotemark  ] };
849    key <AB10> { [            period,             comma,          slash,            ellipsis  ] };
850
851    include "level3(ralt_switch)"
852};
853
854partial alphanumeric_keys
855	xkb_symbols "sun_type6" {
856	include "sun_vndr/ru(sun_type6)"
857};
858
859// Apple layout
860partial alphanumeric_keys
861xkb_symbols "mac" {
862
863    include "ru(common)"
864    name[Group1]= "Russian (Macintosh)";
865
866    key <LSGT> { [          less,      greater  ] };
867    key <AE02> { [             2,     quotedbl  ] };
868    key <AE03> { [             3,   numerosign  ] };
869    key <AE04> { [             4,      percent  ] };
870    key <AE05> { [             5,        colon  ] };
871    key <AE06> { [             6,        comma  ] };
872    key <AE07> { [             7,       period  ] };
873    key <AE08> { [             8,    semicolon  ] };
874    key <TLDE> { [  bracketright,  bracketleft  ] };
875    key <BKSL> { [   Cyrillic_io,  Cyrillic_IO  ] };
876
877    key <AC06> { [   Cyrillic_er,  Cyrillic_ER, U20BD ] };
878
879    include "level3(ralt_switch)"
880};
881
882// eng: Russian-based polyglot and reactionary keyboard layout
883// This keyboard layout covers Russian in Petrine 1708 and Bolshevik 1918 variant spelling, Ukrainian, Belorussian, Serbian in its modern and Slavenoserbian variants, and Bulgarian and Slavomacedonian in pre-1945 and post-1945 spelling,
884// in short all in any dominion prevailing Cyrillic orthographies of modern secular Slavic literary languages, even with dictionary accentuation marks,
885// but also the most-widespread Church Slavonic spellings, that is all Church-Slavonic in so far as variants can be replaced without loss of meaning  – not to speak of Interslavic.
886// Furthermore, it suffices Romanian Cyrillic, Moldovan Cyrillic, Abkhazian excluding the more clumsy obsoleted forms unlikely to find devotees, Tajik, all Turkic and Mongolic Cyrillic alphabets
887// and virtually all overlooked languages in Cyrillic reigns at least by combining characters, taking advantage of eight key levels.
888// This is withal a pan-Cyrillic keyboard layout, or a comprehensive Cyrillic keyboard layout, an universal Cyrillic keyboard layout, a generic Cyrillic keyboard layout.
889//
890// rus: Многоязыковая и реакціонная клавіатурная разкладка основана на русскихъ
891// Сія разкладка покрываетъ русскій въ петровскомъ правописаніи 1708-го года и большевицкомъ 1918-го, украинскій, бѣлорусскій въ современномъ и славяносербскомъ видѣ, и булгарскій и славомацедонскій въ писаніи до и послѣ 1945-го года,
892// короче всѣ въ какомъ-либо державствѣ преобладающія правописанія, то есть весь церкославянскій, поскольку какъ разные виды буквъ можно возмѣщать безъ потери значенія — не говоря о междуславянскомъ.
893// Свѣрхъ этого, она подходитъ къ румынской кириллицѣ, къ молдавской кириллицѣ, къ абхазскому за изключеніемъ неуклюжихъ устарѣлыхъ образовъ, у которыхъ невѣроятно что они вообще найдутъ поклонниковъ, къ таджикскому, къ всѣмъ тюрксимъ и монголскимъ кириллицамъ,
894// и по сути дѣла всѣмъ упущеннымъ языкамъ въ кириллическихъ правленіяхъ хотя бы соединящими сѵмволами, извлѣкая выгоду изъ восьми уровней клавишъ.
895// Тѣмъ всѣмъ сё всекириллическая клавіатурная разкладка, или всеобъемлющая кириллическая разкладка, или универсальная кириллическая разкладка клавіатуры.
896//
897// srp: Многојезиков и реакционаран распоред тастера основан на рускима
898// Овај распоред покрива руски у петровском правопису 1708-е године и бољшевичком 1918-е године, украјински, белоруски, српски у сувременом и славеносрпском виду, те бугарски и славомакедонски у писању до и после 1945-е године,
899// укратко све у некој држави преовлађујуће правописе, то је читав црквенословенски, пошто је могуће разне видове слова замењивати без губитка значења — не говорећи о меџусловенском.
900// Поврх овог, он одговара к румунској ћирилици, к молдавској ћирилици, к абхаскоме с изузетком гломазних застарелих ликова, уз које није вероватно да они најђу поклонике, к таџичкоме, к свим туркијским и монголским ћирилицима,
901// те у спровођењу свим испуштеним језицима у ћириличким господарствима бар са спајајућим симболима, искориштавајући осам ступњева тастера.
902// Тиме свим ово је свећирилички тастатуран распоред, или свеобухватан ћирилички распоред тастера, или свеопшти ћирилички тастатуран распоред.
903partial alphanumeric_keys
904xkb_symbols "prxn" {
905
906	name[Group1]= "Russian (Polyglot and Reactionary)";
907
908	key.type[Group1]="EIGHT_LEVEL";
909    key <TLDE> { [ U2019, apostrophe,  U0301,      U0300, U2053, U2015, U02BC, asciitilde ] }; // Typographic Apostrophe, Apostrophe, Combining Acute, Combining Grave, Swung Dash, Quotation Dash, Modifier Letter Apostrophe, Tilde
910    key <AE01> { [      1,    exclam,  U0304,      U0306, U0308, U0311, U0307, U0313 ] };      // 1, !, Combining Macron, Combining Breve, Combining Diaresis, Combining Inverted Breve, Combining Dot Above, Combining Comma Above
911    key <AE02> { [     2,quotedbl,numerosign,      U20BF, U20B8, U20AE, U00A3, U20B9 ] };      // 2 " № ₿ ₸ ₮ £ ₹
912    key <AE03> { [     3,    section,  U20B4,   currency, U20BD, U20AA, U20BC, U20BE ] };      // 3 § ₴ ¤ ₽ ₪ ₼ ₾
913    key <AE04> { [     4,  semicolon, dollar,   EuroSign, U0482, U20DD, U0488, U0489 ] };      // 4 ; $ € Thousands Sign, Combining Enclosing Circle, Combining Hundred Thousands, Combining Millions
914    key <AE05> { [      5,   percent, degree,   permille, UA670, UA671, UA672, UA66F ] };      // 5, %, °, ‰, Combinining Ten Millions, Combining Hundred Millions, Combining Thousand Millions, Combining Vzmet
915    key <AE06> { [      6,     colon,  U0335,      U0336, U0483, U0487, UFE2E, UFE2F ] };      // 6, :, Combining Short Stroke Overlay, Combining Long Stroke Overlay, Combining Titlo, Combining Pokrytie, Combining Titlo Left Half, Combining Titlo Right Half
916    key <AE07> { [    7,    question,  U030B,      U030F, U030C, U0303, U032C, U0360 ] };      // 7, ?, Combining Double Acute, Combining Double Grave, Combining Caron/Háček, Combining Tilde, Combining Caron/Háček Below, Combining Double Tilde
917    key <AE08> { [    8,    asterisk,  U0331,      U0332, U0333, U032F, U032D, U032E ] };      // 8, *, Combining Macron Below, Combining Low Line, Combining Double Low Line, Combining Inverted Breve Below, Combining Circumflex Accent, Combining Breve Below
918    key <AE09> { [ 9,parenleft,  bracketleft,  braceleft, U035F, U035D, U035E, U035C ] };      // 9 ( [ { Combining Double Macron Below, Combining Double Breve, Combining Double Macron, Combining Double Breve Below
919    key <AE10> { [ 0,parenright,bracketright, braceright, U27E8, U27E9, U04A7, U04A6 ] };      // 0 ) ] } ⟨⟩ ҧ Ҧ
920    key <AE11> { [ minus, underscore, emdash,     endash, U2011,hyphen, U2010, U2212 ] };      // Hyphen-Minus, Underscore, Em Dash, En Dash,  Non-Breaking-Hyphen, Soft Hyphen, Hyphen, Minus Sign
921    key <AE12> { [  equal,     plus,notequal,      U2248, U04FF, U04FE, U050D, U050C ] };      // = + ≠ ≈ ӿ Ӿ ԍ Ԍ
922
923    key <AD01> { [ Cyrillic_shorti,   Cyrillic_SHORTI,                 Cyrillic_je,            Cyrillic_JE,     U04CF,    U04C0,                                  U030A,    U0325 ] };	                             // й Й ј Ј ӏ Ӏ, Combining Ring Above and Below
924    key <AD02> { [      Cyrillic_tse,    Cyrillic_TSE,                       U04B5,                  U04B4,     Cyrillic_u_straight, Cyrillic_U_straight,         U051B,    U051A ] };                               // ц Ц ҵ Ҵ ү Ү ԛ Ԛ
925    key <AD03> { [        Cyrillic_u,      Cyrillic_U,         Byelorussian_shortu,    Byelorussian_SHORTU,     Cyrillic_u_straight_bar,Cyrillic_U_straight_bar,  Byelorussian_shortu, Byelorussian_SHORTU ] };      // у У ў Ў ұ Ұ ў Ў
926    key <AD04> { [       Cyrillic_ka,     Cyrillic_KA,       Cyrillic_ka_descender,  Cyrillic_KA_descender,     U049F,    U049E,                                  U046F,    U046E ] };                               // к К Қ қ ҟ Ҟ ѯ Ѯ
927    key <AD05> { [     Cyrillic_ie,       Cyrillic_IE,                 Cyrillic_io,            Cyrillic_IO,     U0463,    U0462,                                  UA653,    UA652 ] };	                             // е Е ё Ё ѣ Ѣ ꙓ Ꙓ
928    key <AD06> { [     Cyrillic_en,       Cyrillic_EN,                Cyrillic_nje,           Cyrillic_NJE,     Cyrillic_en_descender, Cyrillic_EN_descender,     U04C8,    U04C7 ] };	                             // н Н њ Њ ң Ң ӈ Ӈ
929    key <AD07> { [      Cyrillic_ghe,    Cyrillic_GHE, Ukrainian_ghe_with_upturn,Ukrainian_GHE_WITH_UPTURN,     Cyrillic_ghe_bar, Cyrillic_GHE_bar,               U04F7,    U04F6 ] };                               // г Г Ґ ґ ғ Ғ ӷ Ӷ
930    key <AD08> { [      Cyrillic_sha,    Cyrillic_SHA,                       U04A1,                  U04A0,     U04AB,    U04AA,                                  UA67D,    UA67F ] };                               // ш Ш ҡ Ҡ ҫ Ҫ Combining Payerok Payerok
931    key <AD09> { [    Cyrillic_shcha,  Cyrillic_SHCHA,                       U0505,                  U0504,     UA68D,    UA68C,                                  U050F,    U050E ] };                               // щ Щ ԅ Ԅ ꚍ Ꚍ ԏ Ԏ
932    key <AD10> { [       Cyrillic_ze,     Cyrillic_ZE,                       U04E1,                  U04E0,     U0499,    U0498,                                  U0507,    U0506 ] };                               // з З ӡ Ӡ ҙ Ҙ ԇ Ԇ
933    key <AD11> { [       Cyrillic_ha,     Cyrillic_HA,               Cyrillic_shha,          Cyrillic_SHHA,     Cyrillic_ha_descender, Cyrillic_HA_descender,     U04FD,    U04FC ] };                               // х Х һ Һ ҳ Ҳ ӽ Ӽ
934    key <AD12> { [Cyrillic_hardsign,Cyrillic_HARDSIGN,                Ukrainian_yi,           Ukrainian_YI,     Macedonia_dse, Macedonia_DSE,                     U033E,    U2E2F ] };	                             // ъ Ъ ї Ї ѕ Ѕ, Combining Yerok, Yerok
935
936    key <AC01> { [      Cyrillic_ef,      Cyrillic_EF,                       U0473,                  U0472,     U04C4,    U04C3,                                  U04FB,    U04FA ] };	                             // ф Ф ѳ Ѳ ӄ Ӄ ӻ Ӻ
937    key <AC02> { [     Cyrillic_yeru,   Cyrillic_YERU,                 Ukrainian_i,            Ukrainian_I,     U04D5,    U04D4,                                  U04A9,    U04A8 ] };	                             // ы Ы і І ӕ Ӕ ҩ Ҩ
938    key	<AC03> { [     Cyrillic_ve,       Cyrillic_VE,                       U051D,                  U051C,     U0529,    U0528,                                  U0527,    U0526 ] };                               // в В ԝ Ԝ ԩ Ԩ ԧ Ԧ
939    key <AC04> { [        Cyrillic_a,      Cyrillic_A,              Cyrillic_schwa,         Cyrillic_SCHWA,     UA657,    UA656,                                  UA655,    UA654 ] };                               // а А ә Ә ꙗ Ꙗ ꙕ Ꙕ
940    key <AC05> { [       Cyrillic_pe,     Cyrillic_PE,                       U0525,                  U0524,     U0471,    U0470,                                  UA65F,    UA65E ] };                               // п П ԥ Ԥ ѱ Ѱ ꙟ Ꙟ
941    key <AC06> { [       Cyrillic_er,     Cyrillic_ER,                       U0481,                  U0480,     U048F,    U048E,                                  U0521,    U0520 ] };                               // р Р ҁ Ҁ ҏ Ҏ ԡ Ԡ
942    key <AC07> { [        Cyrillic_o,      Cyrillic_O,              Cyrillic_o_bar,         Cyrillic_O_bar,     U047B,    U047A,                                  U0461,    U0460 ] };                               // о О ө Ө ѻ Ѻ ѡ Ѡ
943    key <AC08> { [     Cyrillic_el,       Cyrillic_EL,                Cyrillic_lje,           Cyrillic_LJE,     U04C6,    U04C5,                                  U052F,    U052E ] };	                             // л Л љ Љ ӆ Ӆ ԯ Ԯ
944    key <AC09> { [     Cyrillic_de,       Cyrillic_DE,               Cyrillic_dzhe,          Cyrillic_DZHE,     U04BD,    U04BC,                                  U04BF,    U04BE ] };	                             // д Д џ Џ ҽ Ҽ ҿ Ҿ
945    key <AC10> { [    Cyrillic_zhe,      Cyrillic_ZHE,                 Serbian_dje,            Serbian_DJE,     Cyrillic_zhe_descender, Cyrillic_ZHE_descender,   U04C2,    U04C1 ] };	                             // ж Ж ђ Ђ Җ җ ӂ Ӂ
946    key <AC11> { [      Cyrillic_e,        Cyrillic_E,                Ukrainian_ie,           Ukrainian_IE,     U0465,    U0464,                                  U04CA,    U04C9 ] };                               // э Э є Є ѥ Ѥ ӊ Ӊ
947    key <BKSL> { [           slash,               bar,                   backslash,                  U260E,     UA65B,    UA65A,                                  U0513,    U0512 ] };                               // / | \ ☎ ꙛ Ꙛ ԓ Ԓ
948
949    key <LSGT> { [           U0495,             U0494,                       U0501,                  U0500,     U0503,    U0502,                                  U0509,    U0508 ] };                               // ҕ Ҕ ԁ Ԁ ԃ Ԃ ԉ Ԉ
950    key <AB01> { [     Cyrillic_ya,       Cyrillic_YA,                       U0469,                  U0468,     U0467,    U0466,                                  UA657,    UA656 ] };                               // я Я ѩ Ѩ ѧ Ѧ ꙗ Ꙗ
951    key <AB02> { [    Cyrillic_che,      Cyrillic_CHE,                Serbian_tshe,           Serbian_TSHE,     Cyrillic_che_descender,  Cyrillic_CHE_descender,  U2016,    U00A6 ] };	                             // ч Ч ћ Ћ ҷ Ҷ ‖ ¦
952    key <AB03> { [      Cyrillic_es,      Cyrillic_ES,                       U046D,                  U046C,     U046B,    U046A,                                  U04F7,    U04F6 ] };                               // с С ѭ Ѭ ѫ Ѫ ӷ Ӷ
953    key <AB04> { [       Cyrillic_em,     Cyrillic_EM,                    multiply,               division,     U22C5,    U2219,                                  U04CE,    U04CD ] };                               // м М × ÷ ⋅ ∙ ӎ Ӎ
954    key <AB05> { [      Cyrillic_i,        Cyrillic_I,                       U0475,                  U0474,     U048B,    U048A,                         periodcentered,    U261B ] };    	                     // и И ѵ Ѵ ҋ Ҋ · ☛
955    key <AB06> { [      Cyrillic_te,      Cyrillic_TE,                       U04AD,                  U04AC,     U051F,    U051E, Cyrillic_che_vertstroke, Cyrillic_CHE_vertstroke ] };                               // т Т ҭ Ҭ ԟ Ԟ ҹ Ҹ
956    key <AB07> { [Cyrillic_softsign,Cyrillic_SOFTSIGN,                       U04A5,                  U04A4,     UA64F,    UA64E,                                  U048D,    U048C ] };                               // ь Ь ҥ Ҥ ꙏ Ꙏ ҍ Ҍ
957    key <AB08> { [       Cyrillic_be,     Cyrillic_BE,                  guillemotleft,  doublelowquotemark,     singlelowquotemark, U2039,                        U0523,    U0522 ] };	                             // б Б « „ ‚ ‹ ԣ Ԣ
958    key <AB09> { [       Cyrillic_yu,     Cyrillic_YU,                 guillemotright, leftdoublequotemark,     leftsinglequotemark, U203A,                       rightdoublequotemark, rightsinglequotemark]};      // ю Ю » “ ‘ › ” ’
959    key <AB10> { [            period,           comma,                       ellipsis,  enfilledcircbullet,     U04CC,    U04CB,                                  UA649,    UA648 ] };                               // . , … • ӌ Ӌ ꙉ  Ꙉ
960
961// eng: Maps Right Alt for reaching the third level
962// rus: Составляетъ правую Alt для достиженія третьяго уровня
963// srp: Саставља десни Alt за достизање трећег ступња
964	include "level3(ralt_switch)"
965
966// eng: Maps <CAPS> for reaching the fifth level
967// rus: Составляетъ <CAPS> для достиженія пятаго уровня
968// srp: Саставља <CAPS> за достизање петег ступња
969
970	include "level5(caps_switch)"
971
972// eng: Offers pressing both shift keys for capslock
973// rus: Предоставляетъ нажатие обѣихъ клавишъ Shift для защелкиванія прописности буквъ
974// srp: Ставља на располагање притискивање обију тастера Shift за учвршћивање верзала
975	include "shift(both_shiftlock)"
976
977// eng: Makes <KPDL> return comma instead of dot, as the comma is decimal separator in Cyrillic written languages
978// rus: Дѣлаетъ что <KPDL> отдаетъ запятую вмѣсто точки, такъ какъ запятая десятичный раздѣлитель въ языкахъ пишемыхъ кириллицей
979// srp: Ради да <KPDL> враћа зарез уместо точке, будући да зарез је десетни разделитељ у језицима који се пишу ћирилицом
980	include "kpdl(comma)"
981
982// eng: Bug notice: One has to set lv5:rwin_switch_lock or one of the other level 5 locks for the caps switch to work!
983// rus: Приходится ставить lv5:rwin_switch_lock либо одинъ изъ другихъ затворовъ пятаго уровня, чтобы работалъ переключатель Caps!
984// srp: Потребно да се ставља lv5:rwin_switch_lock или једна из других брава петег ступња, да би шљакао пребацивач Caps!
985// https://bugs.freedesktop.org/show_bug.cgi?id=102189
986};
987
988
989partial alphanumeric_keys
990xkb_symbols "unipunct" {
991
992// Раскладка представляет собой обычную русскую раскладку, в которой некоторые редко используемые буквы
993// убрали на третий уровень, и поставили все пунктуационные знаки на то же место, где они стоят на
994// US раскладке (+ добавлен знак номера, который отсутствует в US раскладке, но часто нужен в RU).
995
996// ru(unipunct):
997// `~ 1! 2@ 3#3№ 4$ 5% 6^ 7& 8* 9( 0) -_ =+
998// хХ бБ уУюЮ кК еЕэЭ нН гГ шШщЩ жЖ зЗ [{ ]} \|
999// фФ ыЫ вВ аА пП рР оОёЁ лЛ дД ;: '"           //"
1000// яЯ чЧцЦ сС мМ иИйЙ тТ ьЬъЪ ,< .> /?
1001
1002 include "us(basic)"
1003 name[Group1]= "Russian (with US punctuation)";
1004
1005 // Единственный символ, который отсутствует на US раскладке - №
1006 key <AE03> { [ 3,             numbersign, 3, numerosign  ] };
1007
1008 key <LatQ> { [ Cyrillic_ha,   Cyrillic_HA ] };
1009 key <LatW> { [ Cyrillic_be,   Cyrillic_BE ] };
1010 key <LatE> { [ Cyrillic_u,    Cyrillic_U, Cyrillic_yu, Cyrillic_YU ] };
1011 key <LatR> { [ Cyrillic_ka,   Cyrillic_KA ] };
1012 key <LatT> { [ Cyrillic_ie,   Cyrillic_IE, Cyrillic_e, Cyrillic_E ] };
1013 key <LatY> { [ Cyrillic_en,   Cyrillic_EN ] };
1014 key <LatU> { [ Cyrillic_ghe,  Cyrillic_GHE ] };
1015 key <LatI> { [ Cyrillic_sha,  Cyrillic_SHA, Cyrillic_shcha, Cyrillic_SHCHA ] };
1016 key <LatO> { [ Cyrillic_zhe,  Cyrillic_ZHE ] };
1017 key <LatP> { [ Cyrillic_ze,   Cyrillic_ZE ] };
1018
1019 key <LatA> { [ Cyrillic_ef,   Cyrillic_EF ] };
1020 key <LatS> { [ Cyrillic_yeru, Cyrillic_YERU ] };
1021 key <LatD> { [ Cyrillic_ve,   Cyrillic_VE ] };
1022 key <LatF> { [ Cyrillic_a,    Cyrillic_A ] };
1023 key <LatG> { [ Cyrillic_pe,   Cyrillic_PE ] };
1024 key <LatH> { [ Cyrillic_er,   Cyrillic_ER ] };
1025 key <LatJ> { [ Cyrillic_o,    Cyrillic_O, Cyrillic_io, Cyrillic_IO ] };
1026 key <LatK> { [ Cyrillic_el,   Cyrillic_EL ] };
1027 key <LatL> { [ Cyrillic_de,   Cyrillic_DE ] };
1028
1029 key <LatZ> { [ Cyrillic_ya,   Cyrillic_YA ] };
1030 key <LatX> { [ Cyrillic_che,  Cyrillic_CHE, Cyrillic_tse, Cyrillic_TSE ] };
1031 key <LatC> { [ Cyrillic_es,   Cyrillic_ES ] };
1032 key <LatV> { [ Cyrillic_em,   Cyrillic_EM ] };
1033 key <LatB> { [ Cyrillic_i,    Cyrillic_I, Cyrillic_shorti, Cyrillic_SHORTI ] };
1034 key <LatN> { [ Cyrillic_te,   Cyrillic_TE ] };
1035 key <LatM> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN, Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
1036};
1037
1038partial alphanumeric_keys
1039xkb_symbols "phonetic_mac" {
1040
1041    include "ru(phonetic_winkeys)"
1042    name[Group1]= "Russian (phonetic Macintosh)";
1043
1044    key <LatE> { [       Cyrillic_ie,       Cyrillic_IE, Cyrillic_io, Cyrillic_IO  ] };
1045    key <LatW> { [      Cyrillic_sha,      Cyrillic_SHA  ] };
1046    key <LatV> { [       Cyrillic_ve,       Cyrillic_VE  ] };
1047    key <TLDE> { [    Cyrillic_shcha,    Cyrillic_SHCHA  ] };
1048    key <AD11> { [       Cyrillic_yu,       Cyrillic_YU  ] };
1049    key <AD12> { [      Cyrillic_zhe,      Cyrillic_ZHE  ] };
1050    key <AE03> { [                 3,        numbersign, numerosign  ] };
1051    key <AE04> { [                 4,            dollar, U20BD       ] }; // ruble
1052    key <AE05> { [                 5,           percent  ] };
1053    key <AE06> { [                 6,             caret  ] };
1054    key <AE11> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN, minus,       underscore  ] };
1055    key <AE12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN, equal,       plus        ] };
1056
1057    include "level3(ralt_switch)"
1058};
1059