s/US English/USA/
[xorg/xkeyboard-config] / symbols / ru
1 // $XKeyboardConfig$
2
3 // based on
4 // russian standard keyboard
5 // AEN <aen@logic.ru>
6 // 2001/12/23 by Leon Kanter <leon@blackcatlinux.com>
7 // 2005/12/09 Valery Inozemtsev <shrek@altlinux.ru>
8 //
9 // $XFree86: xc/programs/xkbcomp/symbols/ru,v 1.3 2003/02/15 22:27:05 dawes Exp $
10
11 partial default alphanumeric_keys 
12 xkb_symbols "basic" {
13
14     name[Group1]= "Russia";
15
16     key <AE01> {        [               1,          exclam      ]       };
17     key <AE02> {        [               2,        quotedbl      ]       };
18     key <AE03> {        [               3,      numbersign      ]       };
19     key <AE04> {        [               4,        asterisk      ]       };
20     key <AE05> {        [               5,           colon      ]       };
21     key <AE06> {        [               6,           comma      ]       };
22     key <AE07> {        [               7,          period      ]       };
23     key <AE08> {        [               8,       semicolon      ]       };
24     key <AE09> {        [               9,       parenleft      ]       };
25     key <AE10> {        [               0,      parenright      ]       };
26     key <AE11> {        [           minus,      underscore      ]       };
27     key <AE12> {        [           equal,            plus      ]       };
28     key <BKSL> {        [       backslash,             bar      ]       };
29     key <AB10> {        [           slash,        question      ]       };
30     key <LSGT> {        [           slash,             bar      ]       };
31
32     key <TLDE> {        [     Cyrillic_io,     Cyrillic_IO      ]       };
33     key <AD01> {        [ Cyrillic_shorti, Cyrillic_SHORTI      ]       };
34     key <AD02> {        [    Cyrillic_tse,    Cyrillic_TSE      ]       };
35     key <AD03> {        [      Cyrillic_u,      Cyrillic_U      ]       };
36     key <AD04> {        [     Cyrillic_ka,     Cyrillic_KA      ]       };
37     key <AD05> {        [     Cyrillic_ie,     Cyrillic_IE      ]       };
38     key <AD06> {        [     Cyrillic_en,     Cyrillic_EN      ]       };
39     key <AD07> {        [    Cyrillic_ghe,    Cyrillic_GHE      ]       };
40     key <AD08> {        [    Cyrillic_sha,    Cyrillic_SHA      ]       };
41     key <AD09> {        [  Cyrillic_shcha,  Cyrillic_SHCHA      ]       };
42     key <AD10> {        [     Cyrillic_ze,     Cyrillic_ZE      ]       };
43     key <AD11> {        [     Cyrillic_ha,     Cyrillic_HA      ]       };
44     key <AD12> {        [Cyrillic_hardsign,Cyrillic_HARDSIGN    ]       };
45     key <AC01> {        [     Cyrillic_ef,     Cyrillic_EF      ]       };
46     key <AC02> {        [   Cyrillic_yeru,   Cyrillic_YERU      ]       };
47     key <AC03> {        [     Cyrillic_ve,     Cyrillic_VE      ]       };
48     key <AC04> {        [      Cyrillic_a,      Cyrillic_A      ]       };
49     key <AC05> {        [     Cyrillic_pe,     Cyrillic_PE      ]       };
50     key <AC06> {        [     Cyrillic_er,     Cyrillic_ER      ]       };
51     key <AC07> {        [      Cyrillic_o,      Cyrillic_O      ]       };
52     key <AC08> {        [     Cyrillic_el,     Cyrillic_EL      ]       };
53     key <AC09> {        [     Cyrillic_de,     Cyrillic_DE      ]       };
54     key <AC10> {        [    Cyrillic_zhe,    Cyrillic_ZHE      ]       };
55     key <AC11> {        [      Cyrillic_e,      Cyrillic_E      ]       };
56     key <AB01> {        [     Cyrillic_ya,     Cyrillic_YA      ]       };
57     key <AB02> {        [    Cyrillic_che,    Cyrillic_CHE      ]       };
58     key <AB03> {        [     Cyrillic_es,     Cyrillic_ES      ]       };
59     key <AB04> {        [     Cyrillic_em,     Cyrillic_EM      ]       };
60     key <AB05> {        [      Cyrillic_i,      Cyrillic_I      ]       };
61     key <AB06> {        [     Cyrillic_te,     Cyrillic_TE      ]       };
62     key <AB07> {        [Cyrillic_softsign,Cyrillic_SOFTSIGN    ]       };
63     key <AB08> {        [     Cyrillic_be,     Cyrillic_BE      ]       };
64     key <AB09> {        [     Cyrillic_yu,     Cyrillic_YU      ]       };
65
66     key.type[group1]="TWO_LEVEL";
67
68     include "kpdl(comma)"
69 };
70
71 partial alphanumeric_keys
72 xkb_symbols "olpc" {
73
74     include "ru(basic)"
75
76     key        <TLDE> {        [          0x01000451,          0x01000401, grave       ]       }; // Ñ‘, Ð
77     key <AE03> {        [               3,      numbersign, 0x01002116      ]       }; // â„–
78     key <AE04> {        [               4,          dollar, semicolon   ]       };
79     key <AE05> {        [               5,          percent             ]       };
80     key <AE06> {        [               6,      asciicircum, colon      ]       };
81     key <AE07> {        [               7,          ampersand           ]       };
82     key <AE08> {        [               8,          asterisk            ]       };
83     key <AE09> {        [               9,          parenleft, acute    ]       };
84     key        <AC12> {        [       backslash,          bar, slash          ]       };
85     key <AB10> {        [          period,          comma               ]       };
86     key <I219> {        [  ISO_Next_Group,          ISO_Prev_Group      ]       };
87     key <BKSL> {        [       backslash,          slash               ]       };
88 };
89
90 partial alphanumeric_keys
91 xkb_symbols "winkeys" {
92     include "ru(basic)"
93     name[Group1]= "Russia - Winkeys";
94     key <AE03> {        [               3,      numerosign      ]       };
95     key <AE04> {        [               4,       semicolon      ]       };
96     key <AE05> {        [               5,         percent      ]       };
97     key <AE06> {        [               6,           colon      ]       };
98     key <AE07> {        [               7,        question      ]       };
99     key <AE08> {        [               8,        asterisk      ]       };
100     key <AB10> {        [          period,           comma      ]       };
101     key <BKSL> {        [       backslash,           slash      ]       };
102 };
103
104 partial alphanumeric_keys
105 xkb_symbols "typewriter" {
106     include "ru(basic)"
107     name[Group1]= "Russia - Typewriter";
108     key <TLDE> {        [      apostrophe,        quotedbl      ]       };
109     key <AE01> {        [          exclam,               1      ]       };
110     key <AE02> {        [      numerosign,               2      ]       };
111     key <AE03> {        [           slash,               3      ]       };
112     key <AE04> {        [       semicolon,               4      ]       };
113     key <AE05> {        [           colon,               5      ]       };
114     key <AE06> {        [           comma,               6      ]       };
115     key <AE07> {        [          period,               7      ]       };
116     key <AE08> {        [      underscore,               8      ]       };
117     key <AE09> {        [        question,               9      ]       };
118     key <AE10> {        [         percent,               0      ]       };
119     key <BKSL> {        [       parenleft,      parenright      ]       };
120
121     key <AD12> {        [Cyrillic_hardsign,Cyrillic_HARDSIGN    ]       };
122     key <AB10> {        [     Cyrillic_io,     Cyrillic_IO      ]       };
123 };
124
125 partial alphanumeric_keys
126 xkb_symbols "phonetic" {
127
128     name[Group1]= "Russia - Phonetic";
129
130     key <AE01> {        [               1,          exclam      ]       };
131     key <AE02> {        [               2,              at      ]       };
132     key <AE03> {        [               3,     Cyrillic_io      ]       };
133     key <AE04> {        [               4,     Cyrillic_IO      ]       };
134     key <AE05> {        [               5, Cyrillic_hardsign    ]       };
135     key <AE06> {        [               6, Cyrillic_HARDSIGN    ]       };
136     key <AE07> {        [               7,       ampersand      ]       };
137     key <AE08> {        [               8,        asterisk      ]       };
138     key <AE09> {        [               9,       parenleft      ]       };
139     key <AE10> {        [               0,      parenright      ]       };
140
141     key <AB09> {        [          period,         greater      ]       };
142     key <AB10> {        [           slash,        question      ]       };
143     key <AB08> {        [           comma,            less      ]       };
144     key <AC10> {        [       semicolon,           colon      ]       };
145     key <AC11> {        [      apostrophe,        quotedbl      ]       };
146     key <LSGT> {        [             bar,       brokenbar      ]       };
147
148     key <TLDE> {        [     Cyrillic_yu,     Cyrillic_YU      ]       };
149     key <LatQ> {        [     Cyrillic_ya,     Cyrillic_YA      ]       };
150     key <LatZ> {        [     Cyrillic_ze,     Cyrillic_ZE      ]       };
151     key <LatS> {        [     Cyrillic_es,     Cyrillic_ES      ]       };
152     key <LatA> {        [      Cyrillic_a,      Cyrillic_A      ]       };
153     key <LatW> {        [     Cyrillic_ve,     Cyrillic_VE      ]       };
154     key <LatC> {        [    Cyrillic_tse,    Cyrillic_TSE      ]       };
155     key <LatX> {        [Cyrillic_softsign,Cyrillic_SOFTSIGN    ]       };
156     key <LatD> {        [     Cyrillic_de,     Cyrillic_DE      ]       };
157     key <LatE> {        [     Cyrillic_ie,     Cyrillic_IE      ]       };
158     key <LatV> {        [    Cyrillic_zhe,    Cyrillic_ZHE      ]       };
159     key <LatF> {        [     Cyrillic_ef,     Cyrillic_EF      ]       };
160     key <LatT> {        [     Cyrillic_te,     Cyrillic_TE      ]       };
161     key <LatR> {        [     Cyrillic_er,     Cyrillic_ER      ]       };
162     key <LatN> {        [     Cyrillic_en,     Cyrillic_EN      ]       };
163     key <LatB> {        [     Cyrillic_be,     Cyrillic_BE      ]       };
164     key <LatH> {        [     Cyrillic_ha,     Cyrillic_HA      ]       };
165     key <LatG> {        [    Cyrillic_ghe,    Cyrillic_GHE      ]       };
166     key <LatY> {        [   Cyrillic_yeru,   Cyrillic_YERU      ]       };
167     key <LatM> {        [     Cyrillic_em,     Cyrillic_EM      ]       };
168     key <LatJ> {        [ Cyrillic_shorti, Cyrillic_SHORTI      ]       };
169     key <LatU> {        [      Cyrillic_u,      Cyrillic_U      ]       };
170     key <LatK> {        [     Cyrillic_ka,     Cyrillic_KA      ]       };
171     key <LatI> {        [      Cyrillic_i,      Cyrillic_I      ]       };
172     key <LatO> {        [      Cyrillic_o,      Cyrillic_O      ]       };
173     key <LatL> {        [     Cyrillic_el,     Cyrillic_EL      ]       };
174     key <LatP> {        [     Cyrillic_pe,     Cyrillic_PE      ]       };
175
176     key <AD11> {        [    Cyrillic_sha,    Cyrillic_SHA      ]       };
177     key <AE12> {        [    Cyrillic_che,    Cyrillic_CHE      ]       };
178     key <AD12> {        [  Cyrillic_shcha,  Cyrillic_SHCHA      ]       };
179     key <BKSL> {        [      Cyrillic_e,      Cyrillic_E      ]       };
180 };
181
182 partial alphanumeric_keys
183 xkb_symbols "tt" {
184     include "ru(winkeys)"
185     name[Group1]= "Russia - Tatar";
186
187     key.type[group1]="FOUR_LEVEL";
188
189     key <TLDE> {       [      0x010004bb,      0x010004ba,
190                              Cyrillic_io,     Cyrillic_IO      ]       };
191     key        <AD02> {        [      0x010004e9,      0x010004e8,
192                             Cyrillic_tse,    Cyrillic_TSE      ]       };
193     key        <AD09> {        [      0x010004d9,      0x010004d8,
194                           Cyrillic_shcha,  Cyrillic_SHCHA      ]       };
195     key        <AD12> {        [      0x010004af,      0x010004ae,
196                        Cyrillic_hardsign,Cyrillic_HARDSIGN     ]       };
197     key        <AC10> {        [      0x010004a3,      0x010004a2,
198                             Cyrillic_zhe,    Cyrillic_ZHE      ]       };
199     key        <AB07> {        [      0x01000497,      0x01000496,
200                        Cyrillic_softsign,Cyrillic_SOFTSIGN     ]       };
201
202     include "level3(ralt_switch)"
203
204 };
205
206 partial alphanumeric_keys 
207 xkb_symbols "os" {
208     include "ru(basic)"
209
210     name[Group1]= "Russia - Ossetian";
211
212     key <TLDE> {        [      Cyrillic_e,      Cyrillic_E      ]       };
213     key <AC07> {        [      Cyrillic_o,      Cyrillic_O, Cyrillic_io, Cyrillic_IO    ]       };
214     key <AC11> {        [      0x010004D5,      0x010004D4      ]       };
215 };
216
217 partial alphanumeric_keys 
218 xkb_symbols "os_winkeys" {
219     include "ru(winkeys)"
220
221     name[Group1]= "Russia - Ossetian, Winkeys";
222
223     key <TLDE> {        [      Cyrillic_e,      Cyrillic_E      ]       };
224     key <AC07> {        [      Cyrillic_o,      Cyrillic_O, Cyrillic_io, Cyrillic_IO    ]       };
225     key <AC11> {        [      0x010004D5,      0x010004D4      ]       };
226 };
227
228 partial alphanumeric_keys
229 xkb_symbols "cv" {
230     include "ru(winkeys)"
231
232     name[Group1]= "Russia - Chuvash";
233
234     key.type[group1]="FOUR_LEVEL";
235
236     key        <AD03> {        [      Cyrillic_u,       Cyrillic_U,
237                             0x010004f3,    0x010004f2      ]       };
238     key        <AD05> {        [      Cyrillic_ie,     Cyrillic_IE,
239                        0x01000115,      0x01000114     ]       };
240     key        <AC04> {        [      Cyrillic_a,       Cyrillic_A,
241                           abreve,  Abreve      ]       };
242     key        <AB03> {        [      Cyrillic_es,     Cyrillic_ES,
243                             ccedilla,    Ccedilla      ]       };
244
245     include "level3(ralt_switch)"
246 };
247
248 partial alphanumeric_keys
249 xkb_symbols "udm" {
250     include "ru(winkeys)"
251
252     name[Group1]= "Russia - Udmurt";
253
254     key.type[group1]="FOUR_LEVEL";
255
256     key <AE01> {        [        question,          exclam,    1,       1       ]       };
257     key <AE02> {        [       parenleft,        quotedbl,    2,       2       ]       };
258     key <AE03> {        [      parenright,      numbersign,    3,       3       ]       };
259     key <AE04> {        [           colon,       semicolon,    4,       4       ]       };
260     key <AE05> {        [        asterisk,         percent,    5,       5       ]       };
261     key <AE06> {        [      0x010004dd,      0x010004dc,    6,       6       ]       };
262     key <AE07> {        [      0x010004e7,      0x010004e6,    7,       7       ]       };
263     key <AE08> {        [      0x010004f5,      0x010004f4,    8,       8       ]       };
264     key <AE09> {        [      0x010004e5,      0x010004e4,    9,       9       ]       };
265     key <AE10> {        [      0x010004df,      0x010004de,    0,       0       ]       };
266
267     include "level3(ralt_switch)"
268 };
269
270 partial alphanumeric_keys
271 xkb_symbols "cv_latin" {
272     include "us(alt-intl)"
273
274     name[Group1]= "Russia - Chuvash Latin";
275
276     key.type[group1]="FOUR_LEVEL";
277
278     key        <AD01> { [         q,    Q,    0x01000161,       0x01000160 ] };
279     key        <AD02> { [         w,    W,    udiaeresis,       Udiaeresis ] };
280     key        <AD03> { [         e,    E,    0x01000115,       0x01000114 ] };
281     key        <AD07> { [         u,    U,    udiaeresis,       Udiaeresis ] };
282     key        <AD08> { [         i,    I,    0x0100012d,       0x0100012c ] };
283     key        <AD09> { [         o,    O,    odiaeresis,       Odiaeresis ] };
284     key        <AC01> { [         a,    A,        abreve,           Abreve ] };
285     key        <AC02> { [         s,    S,      scedilla,         Scedilla ] };
286     key        <AC05> { [         g,    G,        gbreve,           Gbreve ] };
287     key        <AC07> { [         j,    J,    0x01000131,       0x01000130 ] };
288     key        <AB03> { [         c,    C,      ccedilla,         Ccedilla ] };
289
290     include "level3(ralt_switch)"
291
292 };
293