4 // russian standard keyboard
6 // 2001/12/23 by Leon Kanter <leon@blackcatlinux.com>
7 // 2005/12/09 Valery Inozemtsev <shrek@altlinux.ru>
9 // $XFree86: xc/programs/xkbcomp/symbols/ru,v 1.3 2003/02/15 22:27:05 dawes Exp $
12 partial default alphanumeric_keys
13 xkb_symbols "winkeys" {
16 name[Group1]= "Russia";
18 key <AE03> { [ 3, numerosign ] };
19 key <AE04> { [ 4, semicolon ] };
20 key <AE05> { [ 5, percent ] };
21 key <AE06> { [ 6, colon ] };
22 key <AE07> { [ 7, question ] };
23 key <AE08> { [ 8, asterisk ] };
25 key <AB10> { [ period, comma ] };
26 key <BKSL> { [ backslash, slash ] };
29 partial hidden alphanumeric_keys
30 xkb_symbols "common" {
32 key <AE01> { [ 1, exclam ] };
33 key <AE02> { [ 2, quotedbl ] };
34 key <AE03> { [ 3, numbersign ] };
35 key <AE04> { [ 4, asterisk ] };
36 key <AE05> { [ 5, colon ] };
37 key <AE06> { [ 6, comma ] };
38 key <AE07> { [ 7, period ] };
39 key <AE08> { [ 8, semicolon ] };
40 key <AE09> { [ 9, parenleft ] };
41 key <AE10> { [ 0, parenright ] };
42 key <AE11> { [ minus, underscore ] };
43 key <AE12> { [ equal, plus ] };
44 key <BKSL> { [ backslash, bar ] };
45 key <AB10> { [ slash, question ] };
46 key <LSGT> { [ slash, bar ] };
48 key <TLDE> { [ Cyrillic_io, Cyrillic_IO ] };
49 key <AD01> { [ Cyrillic_shorti, Cyrillic_SHORTI ] };
50 key <AD02> { [ Cyrillic_tse, Cyrillic_TSE ] };
51 key <AD03> { [ Cyrillic_u, Cyrillic_U ] };
52 key <AD04> { [ Cyrillic_ka, Cyrillic_KA ] };
53 key <AD05> { [ Cyrillic_ie, Cyrillic_IE ] };
54 key <AD06> { [ Cyrillic_en, Cyrillic_EN ] };
55 key <AD07> { [ Cyrillic_ghe, Cyrillic_GHE ] };
56 key <AD08> { [ Cyrillic_sha, Cyrillic_SHA ] };
57 key <AD09> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
58 key <AD10> { [ Cyrillic_ze, Cyrillic_ZE ] };
59 key <AD11> { [ Cyrillic_ha, Cyrillic_HA ] };
60 key <AD12> { [Cyrillic_hardsign,Cyrillic_HARDSIGN ] };
61 key <AC01> { [ Cyrillic_ef, Cyrillic_EF ] };
62 key <AC02> { [ Cyrillic_yeru, Cyrillic_YERU ] };
63 key <AC03> { [ Cyrillic_ve, Cyrillic_VE ] };
64 key <AC04> { [ Cyrillic_a, Cyrillic_A ] };
65 key <AC05> { [ Cyrillic_pe, Cyrillic_PE ] };
66 key <AC06> { [ Cyrillic_er, Cyrillic_ER ] };
67 key <AC07> { [ Cyrillic_o, Cyrillic_O ] };
68 key <AC08> { [ Cyrillic_el, Cyrillic_EL ] };
69 key <AC09> { [ Cyrillic_de, Cyrillic_DE ] };
70 key <AC10> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
71 key <AC11> { [ Cyrillic_e, Cyrillic_E ] };
72 key <AB01> { [ Cyrillic_ya, Cyrillic_YA ] };
73 key <AB02> { [ Cyrillic_che, Cyrillic_CHE ] };
74 key <AB03> { [ Cyrillic_es, Cyrillic_ES ] };
75 key <AB04> { [ Cyrillic_em, Cyrillic_EM ] };
76 key <AB05> { [ Cyrillic_i, Cyrillic_I ] };
77 key <AB06> { [ Cyrillic_te, Cyrillic_TE ] };
78 key <AB07> { [Cyrillic_softsign,Cyrillic_SOFTSIGN ] };
79 key <AB08> { [ Cyrillic_be, Cyrillic_BE ] };
80 key <AB09> { [ Cyrillic_yu, Cyrillic_YU ] };
82 key.type[group1]="TWO_LEVEL";
87 partial alphanumeric_keys
88 xkb_symbols "legacy" {
91 name[Group1]= "Russia - Legacy";
94 partial alphanumeric_keys
99 key <TLDE> { [ 0x01000451, 0x01000401, grave ] }; // Ñ‘, Ð
100 key <AE03> { [ 3, numbersign, 0x01002116 ] }; // â„–
101 key <AE04> { [ 4, dollar, semicolon ] };
102 key <AE06> { [ 6, asciicircum, colon ] };
103 key <AE07> { [ 7, ampersand ] };
104 key <AE09> { [ 9, parenleft, acute ] };
105 key <AC12> { [ backslash, bar, slash ] };
107 include "group(olpc)"
110 partial alphanumeric_keys
111 xkb_symbols "typewriter" {
113 name[Group1]= "Russia - Typewriter";
114 key <TLDE> { [ bar, plus ] };
115 key <AE01> { [ numerosign, 1 ] };
116 key <AE02> { [ minus, 2 ] };
117 key <AE03> { [ slash, 3 ] };
118 key <AE04> { [ quotedbl, 4 ] };
119 key <AE05> { [ colon, 5 ] };
120 key <AE06> { [ comma, 6 ] };
121 key <AE07> { [ period, 7 ] };
122 key <AE08> { [ underscore, 8 ] };
123 key <AE09> { [ question, 9 ] };
124 key <AE10> { [ percent, 0 ] };
125 key <AE11> { [ exclam, equal ] };
126 key <AE12> { [ semicolon, backslash ] };
128 key <BKSL> { [ parenright, parenleft ] };
130 key <AD12> { [Cyrillic_hardsign,Cyrillic_HARDSIGN ] };
131 key <AB10> { [ Cyrillic_io, Cyrillic_IO ] };
134 partial alphanumeric_keys
135 xkb_symbols "phonetic" {
137 name[Group1]= "Russia - Phonetic";
139 key <AE01> { [ 1, exclam ] };
140 key <AE02> { [ 2, at ] };
141 key <AE03> { [ 3, Cyrillic_io ] };
142 key <AE04> { [ 4, Cyrillic_IO ] };
143 key <AE05> { [ 5, Cyrillic_hardsign ] };
144 key <AE06> { [ 6, Cyrillic_HARDSIGN ] };
145 key <AE07> { [ 7, ampersand ] };
146 key <AE08> { [ 8, asterisk ] };
147 key <AE09> { [ 9, parenleft ] };
148 key <AE10> { [ 0, parenright ] };
149 key <AE11> { [ minus, underscore ] };
151 key <AB09> { [ period, greater ] };
152 key <AB10> { [ slash, question ] };
153 key <AB08> { [ comma, less ] };
154 key <AC10> { [ semicolon, colon ] };
155 key <AC11> { [ apostrophe, quotedbl ] };
156 key <LSGT> { [ bar, brokenbar ] };
158 key <TLDE> { [ Cyrillic_yu, Cyrillic_YU ] };
159 key <LatQ> { [ Cyrillic_ya, Cyrillic_YA ] };
160 key <LatZ> { [ Cyrillic_ze, Cyrillic_ZE ] };
161 key <LatS> { [ Cyrillic_es, Cyrillic_ES ] };
162 key <LatA> { [ Cyrillic_a, Cyrillic_A ] };
163 key <LatW> { [ Cyrillic_ve, Cyrillic_VE ] };
164 key <LatC> { [ Cyrillic_tse, Cyrillic_TSE ] };
165 key <LatX> { [Cyrillic_softsign,Cyrillic_SOFTSIGN ] };
166 key <LatD> { [ Cyrillic_de, Cyrillic_DE ] };
167 key <LatE> { [ Cyrillic_ie, Cyrillic_IE ] };
168 key <LatV> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
169 key <LatF> { [ Cyrillic_ef, Cyrillic_EF ] };
170 key <LatT> { [ Cyrillic_te, Cyrillic_TE ] };
171 key <LatR> { [ Cyrillic_er, Cyrillic_ER ] };
172 key <LatN> { [ Cyrillic_en, Cyrillic_EN ] };
173 key <LatB> { [ Cyrillic_be, Cyrillic_BE ] };
174 key <LatH> { [ Cyrillic_ha, Cyrillic_HA ] };
175 key <LatG> { [ Cyrillic_ghe, Cyrillic_GHE ] };
176 key <LatY> { [ Cyrillic_yeru, Cyrillic_YERU ] };
177 key <LatM> { [ Cyrillic_em, Cyrillic_EM ] };
178 key <LatJ> { [ Cyrillic_shorti, Cyrillic_SHORTI ] };
179 key <LatU> { [ Cyrillic_u, Cyrillic_U ] };
180 key <LatK> { [ Cyrillic_ka, Cyrillic_KA ] };
181 key <LatI> { [ Cyrillic_i, Cyrillic_I ] };
182 key <LatO> { [ Cyrillic_o, Cyrillic_O ] };
183 key <LatL> { [ Cyrillic_el, Cyrillic_EL ] };
184 key <LatP> { [ Cyrillic_pe, Cyrillic_PE ] };
186 key <AD11> { [ Cyrillic_sha, Cyrillic_SHA ] };
187 key <AE12> { [ Cyrillic_che, Cyrillic_CHE ] };
188 key <AD12> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
189 key <BKSL> { [ Cyrillic_e, Cyrillic_E ] };
192 partial alphanumeric_keys
193 xkb_symbols "phonetic_winkeys" {
195 include "ru(phonetic)"
196 name[Group1]= "Russia - Phonetic Winkeys";
198 key <LatX> { [ Cyrillic_ha, Cyrillic_HA ] };
199 key <LatH> { [ Cyrillic_che, Cyrillic_CHE ] };
200 key <AE12> { [ Cyrillic_softsign, Cyrillic_softsign ] };
204 partial alphanumeric_keys
206 include "ru(winkeys)"
207 name[Group1]= "Russia - Tatar";
209 key.type[group1]="FOUR_LEVEL";
211 key <TLDE> { [ 0x010004bb, 0x010004ba,
212 Cyrillic_io, Cyrillic_IO ] };
213 key <AD02> { [ 0x010004e9, 0x010004e8,
214 Cyrillic_tse, Cyrillic_TSE ] };
215 key <AD09> { [ 0x010004d9, 0x010004d8,
216 Cyrillic_shcha, Cyrillic_SHCHA ] };
217 key <AD12> { [ 0x010004af, 0x010004ae,
218 Cyrillic_hardsign,Cyrillic_HARDSIGN ] };
219 key <AC10> { [ 0x010004a3, 0x010004a2,
220 Cyrillic_zhe, Cyrillic_ZHE ] };
221 key <AB07> { [ 0x01000497, 0x01000496,
222 Cyrillic_softsign,Cyrillic_SOFTSIGN ] };
224 include "level3(ralt_switch)"
228 partial alphanumeric_keys
229 xkb_symbols "os_legacy" {
232 name[Group1]= "Russia - Ossetian, legacy";
234 key <TLDE> { [ Cyrillic_e, Cyrillic_E ] };
235 key <AC07> { [ Cyrillic_o, Cyrillic_O, Cyrillic_io, Cyrillic_IO ] };
236 key <AC11> { [ 0x010004D5, 0x010004D4 ] };
239 partial alphanumeric_keys
240 xkb_symbols "os_winkeys" {
241 include "ru(winkeys)"
243 name[Group1]= "Russia - Ossetian, Winkeys";
245 key <TLDE> { [ Cyrillic_e, Cyrillic_E ] };
246 key <AC07> { [ Cyrillic_o, Cyrillic_O, Cyrillic_io, Cyrillic_IO ] };
247 key <AC11> { [ 0x010004D5, 0x010004D4 ] };
250 partial alphanumeric_keys
252 include "ru(winkeys)"
254 name[Group1]= "Russia - Chuvash";
256 key.type[group1]="FOUR_LEVEL";
258 key <AD03> { [ Cyrillic_u, Cyrillic_U,
259 0x010004f3, 0x010004f2 ] };
260 key <AD05> { [ Cyrillic_ie, Cyrillic_IE,
261 0x01000115, 0x01000114 ] };
262 key <AC04> { [ Cyrillic_a, Cyrillic_A,
264 key <AB03> { [ Cyrillic_es, Cyrillic_ES,
265 ccedilla, Ccedilla ] };
267 include "level3(ralt_switch)"
270 partial alphanumeric_keys
272 include "ru(winkeys)"
274 name[Group1]= "Russia - Udmurt";
276 key.type[group1]="FOUR_LEVEL";
278 key <AE01> { [ question, exclam, 1, 1 ] };
279 key <AE02> { [ parenleft, quotedbl, 2, 2 ] };
280 key <AE03> { [ parenright, numbersign, 3, 3 ] };
281 key <AE04> { [ colon, semicolon, 4, 4 ] };
282 key <AE05> { [ asterisk, percent, 5, 5 ] };
283 key <AE06> { [ 0x010004dd, 0x010004dc, 6, 6 ] };
284 key <AE07> { [ 0x010004e7, 0x010004e6, 7, 7 ] };
285 key <AE08> { [ 0x010004f5, 0x010004f4, 8, 8 ] };
286 key <AE09> { [ 0x010004e5, 0x010004e4, 9, 9 ] };
287 key <AE10> { [ 0x010004df, 0x010004de, 0, 0 ] };
289 include "level3(ralt_switch)"
292 partial alphanumeric_keys
293 xkb_symbols "cv_latin" {
294 include "us(alt-intl)"
296 name[Group1]= "Russia - Chuvash Latin";
298 key.type[group1]="FOUR_LEVEL";
300 key <AD01> { [ q, Q, 0x01000161, 0x01000160 ] };
301 key <AD02> { [ w, W, udiaeresis, Udiaeresis ] };
302 key <AD03> { [ e, E, 0x01000115, 0x01000114 ] };
303 key <AD07> { [ u, U, udiaeresis, Udiaeresis ] };
304 key <AD08> { [ i, I, 0x0100012d, 0x0100012c ] };
305 key <AD09> { [ o, O, odiaeresis, Odiaeresis ] };
306 key <AC01> { [ a, A, abreve, Abreve ] };
307 key <AC02> { [ s, S, scedilla, Scedilla ] };
308 key <AC05> { [ g, G, gbreve, Gbreve ] };
309 key <AC07> { [ j, J, 0x01000131, 0x01000130 ] };
310 key <AB03> { [ c, C, ccedilla, Ccedilla ] };
312 include "level3(ralt_switch)"
316 // Komi language layout
318 // russian standard keyboard
319 // Vlad Shakhov <lumpen.intellectual@gmail.com>
320 // Last Changes 2007/10/23 by Vlad Shakhov <lumpen.intellectual@gmail.com>
322 partial alphanumeric_keys
325 include "ru(winkeys)"
327 name[Group1]= "Russia - Komi";
329 key.type[group1]="FOUR_LEVEL_ALPHABETIC";
331 // cyrilllic o with diaeresis
332 key <AC07> { [ Cyrillic_o, Cyrillic_O,
335 // hard I as additional key for soft Cyrillic_I
336 key <AB05> { [ Cyrillic_i, Cyrillic_I,
337 Ukrainian_i, Ukrainian_I ] };
339 include "level3(ralt_switch)"
342 // Yakut language layout
343 // 2008/04/23 Yakov Aleksandrov <bertjickty@yandex.ru>
344 // 2008/04/23 Anatoliy Zhozhikov <jav@sitc.ru>
345 // 2008/04/23 Aleksandr Varlamov
346 partial alphanumeric_keys
349 include "ru(winkeys)"
351 name[Group1]= "Russia - Yakut";
353 key.type[group1]="FOUR_LEVEL_ALPHABETIC";
355 key <TLDE> { [ Cyrillic_io, Cyrillic_IO,
357 key <AD01> { [ Cyrillic_shorti, Cyrillic_SHORTI,
359 key <AD03> { [ Cyrillic_u, Cyrillic_U,
360 Cyrillic_u_straight, Cyrillic_U_straight ] };
361 key <AD04> { [ Cyrillic_ka, Cyrillic_KA,
363 key <AD06> { [ Cyrillic_en, Cyrillic_EN,
365 key <AD07> { [ Cyrillic_ghe, Cyrillic_GHE,
367 key <AD10> { [ Cyrillic_ze, Cyrillic_ZE,
369 key <AD11> { [ Cyrillic_ha, Cyrillic_HA,
370 Cyrillic_shha, Cyrillic_SHHA ] };
371 key <AC07> { [ Cyrillic_o, Cyrillic_O,
372 Cyrillic_o_bar, Cyrillic_O_bar ] };
373 key <AC10> { [ Cyrillic_zhe, Cyrillic_ZHE,
375 key <AB02> { [ Cyrillic_che, Cyrillic_CHE,
376 Cyrillic_u_macron, Cyrillic_U_macron ] };
377 key <AB04> { [ Cyrillic_em, Cyrillic_EM,
379 key <AB05> { [ Cyrillic_i, Cyrillic_I,
380 Cyrillic_i_macron, Cyrillic_I_macron ] };
382 include "level3(ralt_switch)"
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>
391 partial alphanumeric_keys
393 include "ru(winkeys)"
395 name[Group1]= "Russia - Kalmyk";
397 key.type[group1]="FOUR_LEVEL";
399 key <AE01> { [ question, exclam, 1 ] };
400 key <AE02> { [ numerosign, quotedbl, 2 ] };
401 key <AE03> { [ Cyrillic_u_straight, Cyrillic_U_straight, 3 ] };
402 key <AE04> { [ Cyrillic_schwa, Cyrillic_SCHWA, 4 ] };
403 key <AE05> { [ asterisk, percent, 5 ] };
404 key <AE06> { [ Cyrillic_en_descender, Cyrillic_EN_descender, 6 ] };
405 key <AE07> { [ Cyrillic_o_bar, Cyrillic_O_bar, 7 ] };
406 key <AE08> { [ Cyrillic_shha, Cyrillic_SHHA, 8 ] };
407 key <AE09> { [ Cyrillic_zhe_descender, Cyrillic_ZHE_descender, 9 ] };
408 key <AE10> { [ semicolon, colon, 0 ] };
410 key <TLDE> { [ parenleft, parenright, Cyrillic_io, Cyrillic_IO ] };
412 key <AD02> { [ Cyrillic_tse, Cyrillic_TSE, dollar ] };
413 key <AD03> { [ Cyrillic_u, Cyrillic_U, EuroSign ] };
414 key <AD04> { [ Cyrillic_ka, Cyrillic_KA, registered ] };
415 key <AD05> { [ Cyrillic_ie, Cyrillic_IE, trademark ] };
416 key <AD11> { [ Cyrillic_ha, Cyrillic_HA, bracketleft ] };
417 key <AD12> { [ Cyrillic_hardsign, Cyrillic_HARDSIGN, bracketright ] };
418 key <AC11> { [ Cyrillic_e, Cyrillic_E, apostrophe ] };
419 key <AB03> { [ Cyrillic_es, Cyrillic_ES, copyright ] };
420 key <AB08> { [ Cyrillic_be, Cyrillic_BE, less ] };
421 key <AB09> { [ Cyrillic_yu, Cyrillic_YU, greater ] };
423 include "level3(ralt_switch)"
426 partial alphanumeric_keys
431 name[Group1]= "Russia - DOS";
433 key <TLDE> { [ parenright, parenleft ] };
434 key <AE04> { [ 4, currency ] };
435 key <AE09> { [ 9, question ] };
436 key <AE10> { [ 0, percent ] };
438 key <AB10> { [ Cyrillic_io, Cyrillic_IO ] };
441 partial alphanumeric_keys
443 include "ru(winkeys)"
445 name[Group1]= "Russia - Bashkirian";
446 key.type[group1]="FOUR_LEVEL";
448 key <TLDE> { [ 0x010004d9, 0x010004d8, Cyrillic_io, Cyrillic_IO ] };
449 key <AE01> { [ exclam, quotedbl, 1, 1 ] };
450 key <AE02> { [ 0x010004e9, 0x010004e8, 2, 2 ] };
451 key <AE03> { [ 0x010004a1, 0x010004a0, 3, 3 ] };
452 key <AE04> { [ 0x01000493, 0x01000492, 4, 4 ] };
453 key <AE05> { [ 0x010004ab, 0x010004aa, 5, 5 ] };
454 key <AE06> { [ colon, semicolon, 6, 6 ] };
455 key <AE07> { [ 0x01000499, 0x01000498, 7, 7 ] };
456 key <AE08> { [ 0x010004bb, 0x010004ba, 8, 8 ] };
457 key <AE09> { [ question, parenleft, 9, 9 ] };
458 key <AE10> { [ numerosign, parenright, 0, 0 ] };
459 key <AE11> { [ minus, percent, minus, underscore ]};
460 key <AE12> { [ 0x010004af, 0x010004ae, equal, plus ]};
461 key <BKSL> { [ 0x010004a3, 0x010004a2, backslash, slash ]};
463 include "level3(ralt_switch)"