4 // ukrainian standard keyboard
5 // AEN <aen@logic.ru> & Leon Kanter <leon@geon.donetsk.ua>
6 // Last Changes 2007/10/03 by Andriy Rysin <arysin@yahoo.com>
8 // $XFree86: xc/programs/xkbcomp/symbols/ua,v 1.4 2003/05/15 11:29:47 pascal Exp $
10 partial default alphanumeric_keys
13 name[Group1]= "Ukraine";
15 key <TLDE> { [ apostrophe, asciitilde ] };
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 ] };
29 key <AD01> { [ Cyrillic_shorti, Cyrillic_SHORTI ] };
30 key <AD02> { [ Cyrillic_tse, Cyrillic_TSE ] };
31 key <AD03> { [ Cyrillic_u, Cyrillic_U ] };
32 key <AD04> { [ Cyrillic_ka, Cyrillic_KA ] };
33 key <AD05> { [ Cyrillic_ie, Cyrillic_IE ] };
34 key <AD06> { [ Cyrillic_en, Cyrillic_EN ] };
35 key <AD07> { [ Cyrillic_ghe, Cyrillic_GHE ] };
36 key <AD08> { [ Cyrillic_sha, Cyrillic_SHA ] };
37 key <AD09> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
38 key <AD10> { [ Cyrillic_ze, Cyrillic_ZE ] };
39 key <AD11> { [ Cyrillic_ha, Cyrillic_HA ] };
40 key <AD12> { [ Ukrainian_yi, Ukrainian_YI ] };
41 key <BKSL> { [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
43 key <AC01> { [ Cyrillic_ef, Cyrillic_EF ] };
44 key <AC02> { [ Ukrainian_i, Ukrainian_I ] };
45 key <AC03> { [ Cyrillic_ve, Cyrillic_VE ] };
46 key <AC04> { [ Cyrillic_a, Cyrillic_A ] };
47 key <AC05> { [ Cyrillic_pe, Cyrillic_PE ] };
48 key <AC06> { [ Cyrillic_er, Cyrillic_ER ] };
49 key <AC07> { [ Cyrillic_o, Cyrillic_O ] };
50 key <AC08> { [ Cyrillic_el, Cyrillic_EL ] };
51 key <AC09> { [ Cyrillic_de, Cyrillic_DE ] };
52 key <AC10> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
53 key <AC11> { [ Ukrainian_ie, Ukrainian_IE ] };
55 key <AB01> { [ Cyrillic_ya, Cyrillic_YA ] };
56 key <AB02> { [ Cyrillic_che, Cyrillic_CHE ] };
57 key <AB03> { [ Cyrillic_es, Cyrillic_ES ] };
58 key <AB04> { [ Cyrillic_em, Cyrillic_EM ] };
59 key <AB06> { [ Cyrillic_te, Cyrillic_TE ] };
60 key <AB05> { [ Cyrillic_i, Cyrillic_I ] };
61 key <AB07> { [Cyrillic_softsign,Cyrillic_SOFTSIGN ] };
62 key <AB08> { [ Cyrillic_be, Cyrillic_BE ] };
63 key <AB09> { [ Cyrillic_yu, Cyrillic_YU ] };
64 key <AB10> { [ slash, question ] };
66 key <LSGT> { [ slash, bar ] };
67 // End alphanumeric section
70 partial alphanumeric_keys
71 xkb_symbols "winkeys" {
74 name[Group1]= "Ukraine - Winkeys";
76 key <AE03> { [ 3, numerosign ] };
77 key <AE04> { [ 4, semicolon ] };
78 key <AE05> { [ 5, percent ] };
79 key <AE06> { [ 6, colon ] };
80 key <AE07> { [ 7, question ] };
81 key <AE08> { [ 8, asterisk ] };
82 key <AB10> { [ period, comma ] };
86 // Unicode - 3d level added with some Unicode symbols (typographic quotes, m-dash, n-dash etc),
87 // some often used cyrillics from other slavic languages and some ASCII symbols used often (slash, brackets...)
88 partial alphanumeric_keys
89 xkb_symbols "unicode" {
92 name[Group1]= "Ukraine - Unicode";
94 key <TLDE> { [ U2019, apostrophe, U0301, asciitilde ] }; // Apostrophe and Stress symbol
95 key <AE02> { [ 1, exclam, onesuperior ] };
96 key <AE02> { [ 2, quotedbl, twosuperior ] };
97 key <AE03> { [ 3, numerosign, U00A7, U20B4 ] }; // Paragraph and Hryvnia sign
98 key <AE04> { [ 4, semicolon, dollar, EuroSign ] };
99 key <AE05> { [ 5, percent, degree ] };
100 key <AE06> { [ 6, colon, less ] };
101 key <AE07> { [ 7, question, greater ] };
102 key <AE08> { [ 8, asterisk, enfilledcircbullet ] };
103 key <AE09> { [ 9, parenleft, bracketleft, braceleft ] };
104 key <AE10> { [ 0, parenright, bracketright, braceright] };
105 key <AE11> { [ minus, underscore, emdash, endash ] };
106 key <AE12> { [ equal, plus, notequal, plusminus ] };
108 key <AD03> { [ Cyrillic_u, Cyrillic_U, Byelorussian_shortu, Byelorussian_SHORTU ]};
109 key <AD04> { [ Cyrillic_ka, Cyrillic_KA, registered ] }; // Registered tm
110 key <AD05> { [ Cyrillic_ie, Cyrillic_IE, Cyrillic_io, Cyrillic_IO ] };
111 key <AD12> { [ Ukrainian_yi,Ukrainian_YI, Cyrillic_hardsign, Cyrillic_HARDSIGN ] };
112 key <AC02> { [ Ukrainian_i, Ukrainian_I, Cyrillic_yeru, Cyrillic_YERU ] };
113 key <AC11> { [ Ukrainian_ie,Ukrainian_IE, Cyrillic_e, Cyrillic_E ] };
115 key <BKSL> { [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN, backslash, bar ] };
117 key <AB03> { [ Cyrillic_es, Cyrillic_ES, copyright ] };
118 key <AB06> { [ Cyrillic_te, Cyrillic_TE, trademark ] };
119 key <AB08> { [ Cyrillic_be, Cyrillic_BE, guillemotleft, doublelowquotemark ] };
120 key <AB09> { [ Cyrillic_yu, Cyrillic_YU, guillemotright, leftdoublequotemark ] };
121 key <AB10> { [ period, comma, slash, ellipsis ] };
123 include "level3(ralt_switch)"
126 partial alphanumeric_keys
127 xkb_symbols "typewriter" {
130 name[Group1]= "Ukraine - Typewriter";
132 key <TLDE> { [ apostrophe, quotedbl ] };
133 key <AE01> { [ exclam, 1 ] };
134 key <AE02> { [ numerosign, 2 ] };
135 key <AE03> { [ slash, 3 ] };
136 key <AE04> { [ semicolon, 4 ] };
137 key <AE05> { [ colon, 5 ] };
138 key <AE06> { [ comma, 6 ] };
139 key <AE07> { [ period, 7 ] };
140 key <AE08> { [ underscore, 8 ] };
141 key <AE09> { [ question, 9 ] };
142 key <AE10> { [ percent, 0 ] };
144 key <AD12> { [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
146 key <AC02> { [ Cyrillic_i, Cyrillic_I ] };
148 key <AB05> { [ Ukrainian_i, Ukrainian_I ] };
150 key <AB10> { [ Ukrainian_yi, Ukrainian_YI ] };
152 key <BKSL> { [ parenleft, parenright ] };
155 partial alphanumeric_keys
156 xkb_symbols "phonetic" {
159 name[Group1]= "Ukraine - Phonetic";
161 key <LatQ> { [ Cyrillic_ya, Cyrillic_YA ] };
162 key <LatW> { [ Cyrillic_ve, Cyrillic_VE ] };
163 key <LatE> { [ Cyrillic_ie, Cyrillic_IE ] };
164 key <LatR> { [ Cyrillic_er, Cyrillic_ER ] };
165 key <LatT> { [ Cyrillic_te, Cyrillic_TE ] };
166 key <LatY> { [ Cyrillic_i, Cyrillic_I ] };
167 key <LatU> { [ Cyrillic_u, Cyrillic_U ] };
168 key <LatI> { [ Ukrainian_i, Ukrainian_I ] };
169 key <LatO> { [ Cyrillic_o, Cyrillic_O ] };
170 key <LatP> { [ Cyrillic_pe, Cyrillic_PE ] };
171 key <AD11> { [ Cyrillic_sha, Cyrillic_SHA ] };
172 key <AD12> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
174 key <LatA> { [ Cyrillic_a, Cyrillic_A ] };
175 key <LatS> { [ Cyrillic_es, Cyrillic_ES ] };
176 key <LatD> { [ Cyrillic_de, Cyrillic_DE ] };
177 key <LatF> { [ Cyrillic_ef, Cyrillic_EF ] };
178 key <LatG> { [ Cyrillic_ghe, Cyrillic_GHE ] };
179 key <LatH> { [ Cyrillic_ha, Cyrillic_HA ] };
180 key <LatJ> { [ Cyrillic_shorti, Cyrillic_SHORTI ] };
181 key <LatK> { [ Cyrillic_ka, Cyrillic_KA ] };
182 key <LatL> { [ Cyrillic_el, Cyrillic_EL ] };
183 key <AC10> { [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
184 key <AC11> { [ Cyrillic_che, Cyrillic_CHE ] };
185 key <BKSL> { [ Cyrillic_yu, Cyrillic_YU ] };
187 key <LatZ> { [ Cyrillic_ze, Cyrillic_ZE ] };
188 key <LatX> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
189 key <LatC> { [ Cyrillic_tse, Cyrillic_TSE ] };
190 key <LatV> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
191 key <LatB> { [ Cyrillic_be, Cyrillic_BE ] };
192 key <LatN> { [ Cyrillic_en, Cyrillic_EN ] };
193 key <LatM> { [ Cyrillic_em, Cyrillic_EM ] };
194 key <AB08> { [ Ukrainian_yi, Ukrainian_YI ] };
195 key <AB09> { [ Ukrainian_ie, Ukrainian_IE ] };
196 key <AB10> { [ slash, question ] };
199 // ukrainian keyboard layout RSTU 2019-91 (Respublikanskij STandart Ukrajiny)
200 // Andrew Porokhnyak <aop@porokhnyak.org>
201 partial alphanumeric_keys
205 name[Group1]= "Ukraine - Standard RSTU";
207 key <TLDE> { [ apostrophe, question ] };
208 key <AE01> { [ exclam, 1 ] };
209 key <AE02> { [ quotedbl, 2 ] };
210 key <AE03> { [ numbersign, 3 ] };
211 key <AE04> { [ semicolon, 4 ] };
212 key <AE05> { [ colon, 5 ] };
213 key <AE06> { [ comma, 6 ] };
214 key <AE07> { [ period, 7 ] };
215 key <AE08> { [ asterisk, 8 ] };
216 key <AE09> { [ parenleft, 9 ] };
217 key <AE10> { [ parenright, 0 ] };
219 key <AD12> { [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
221 key <AC02> { [ Cyrillic_i, Cyrillic_I ] };
223 key <AB05> { [ Ukrainian_i, Ukrainian_I ] };
225 key <AB10> { [ Ukrainian_yi, Ukrainian_YI ] };
227 key <BKSL> { [ slash, percent ] };
230 // russian keyboard layout RSTU 2019-91 (Respublikanskij STandart Ukrajiny)
231 // Andrew Porokhnyak <aop@porokhnyak.org>
232 partial alphanumeric_keys
233 xkb_symbols "rstu_ru" {
235 name[Group1]= "Ukraine - Standard RSTU on Russian layout";
237 key <TLDE> { [ apostrophe, question ] };
238 key <AE01> { [ exclam, 1 ] };
239 key <AE02> { [ quotedbl, 2 ] };
240 key <AE03> { [ numbersign, 3 ] };
241 key <AE04> { [ semicolon, 4 ] };
242 key <AE05> { [ colon, 5 ] };
243 key <AE06> { [ comma, 6 ] };
244 key <AE07> { [ period, 7 ] };
245 key <AE08> { [ asterisk, 8 ] };
246 key <AE09> { [ parenleft, 9 ] };
247 key <AE10> { [ parenright, 0 ] };
248 key <BKSL> { [ slash, percent ] };
250 key.type[group1]="ALPHABETIC";
252 key <AB10> { [ Cyrillic_io, Cyrillic_IO ] };
255 //Homophonic keyboard layout (Tomas Marko Miljenović)
256 //Based on Ukrainian National Transliteration, commonly used phonetic layouts for Mac and Win.
257 //Existing layout "phonetic" used as template.
258 partial alphanumeric_keys
259 xkb_symbols "homophonic" {
261 name[Group1]= "Ukraine - Homophonic";
263 key <TLDE> { [ grave, underscore ] };
264 key <AE01> { [ 1, exclam ] };
265 key <AE02> { [ 2, at ] };
266 key <AE03> { [ 3, semicolon ] };
267 key <AE04> { [ 4, colon ] };
268 key <AE05> { [ 5, percent ] };
269 key <AE06> { [ 6, apostrophe ] };
270 key <AE07> { [ 7, quotedbl ] };
271 key <AE08> { [ 8, asterisk ] };
272 key <AE09> { [ 9, parenleft ] };
273 key <AE10> { [ 0, parenright ] };
274 key <AE11> { [ Ukrainian_ie, Ukrainian_IE ] };
275 key <AE12> { [ Ukrainian_yi, Ukrainian_YI ] };
277 key <LatQ> { [ Cyrillic_ya, Cyrillic_YA ] };
278 key <LatW> { [ Cyrillic_sha, Cyrillic_SHA ] };
279 key <LatE> { [ Cyrillic_ie, Cyrillic_IE ] };
280 key <LatR> { [ Cyrillic_er, Cyrillic_ER ] };
281 key <LatT> { [ Cyrillic_te, Cyrillic_TE ] };
282 key <LatY> { [ Cyrillic_i, Cyrillic_I ] };
283 key <LatU> { [ Cyrillic_u, Cyrillic_U ] };
284 key <LatI> { [ Ukrainian_i, Ukrainian_I ] };
285 key <LatO> { [ Cyrillic_o, Cyrillic_O ] };
286 key <LatP> { [ Cyrillic_pe, Cyrillic_PE ] };
287 key <AD11> { [ Cyrillic_yu, Cyrillic_YU ] };
288 key <AD12> { [ Cyrillic_shcha, Cyrillic_SHCHA ] };
290 key <LatA> { [ Cyrillic_a, Cyrillic_A ] };
291 key <LatS> { [ Cyrillic_es, Cyrillic_ES ] };
292 key <LatD> { [ Cyrillic_de, Cyrillic_DE ] };
293 key <LatF> { [ Cyrillic_ef, Cyrillic_EF ] };
294 key <LatG> { [ Ukrainian_ghe_with_upturn, Ukrainian_GHE_WITH_UPTURN ] };
295 key <LatH> { [ Cyrillic_ghe, Cyrillic_GHE ] };
296 key <LatJ> { [ Cyrillic_shorti, Cyrillic_SHORTI ] };
297 key <LatK> { [ Cyrillic_ka, Cyrillic_KA ] };
298 key <LatL> { [ Cyrillic_el, Cyrillic_EL ] };
299 key <AC10> { [ Cyrillic_che, Cyrillic_CHE ] };
300 key <AC11> { [ Cyrillic_zhe, Cyrillic_ZHE ] };
301 key <BKSL> { [ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
303 key <LatZ> { [ Cyrillic_ze, Cyrillic_ZE ] };
304 key <LatX> { [ Cyrillic_ha, Cyrillic_HA ] };
305 key <LatC> { [ Cyrillic_tse, Cyrillic_TSE ] };
306 key <LatV> { [ Cyrillic_ve, Cyrillic_VE ] };
307 key <LatB> { [ Cyrillic_be, Cyrillic_BE ] };
308 key <LatN> { [ Cyrillic_en, Cyrillic_EN ] };
309 key <LatM> { [ Cyrillic_em, Cyrillic_EM ] };
310 key <AB08> { [ comma, less ] };
311 key <AB09> { [ period, greater ] };
312 key <AB10> { [ slash, question ] };