You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kkbswitch/kkbswitch/ru_ua

428 lines
15 KiB

// Russian + Ukrainian keyboard
// Based on:
// russian standard keyboard
// AEN <aen@logic.ru>
// Last Changes 2001/12/23 by Leon Kanter <leon@blackcatlinux.com>
// $XFree86: xc/programs/xkbcomp/symbols/ru,v 3.8 2001/01/17 23:45:59 dawes Exp $
// and:
// ukrainian standard keyboard
// AEN <aen@logic.ru> & Leon Kanter <leon@geon.donetsk.ua>
// Last Changes 2001/12/11 by Andriy Rysin <arysin@yahoo.com>
// This keyboard layout has Russian characters at group 2 and Ukrainian
// at group 3.
// By Leonid Zeitlin <lz@europe.com>
// Last Changes 2002/11/09
partial default alphanumeric_keys
xkb_symbols "basic" {
// Describes the differences between a very simple en_US
// keyboard and a very simple Russian keyboard
name[Group1]= "US/ASCII";
name[Group2]= "Russian";
name[Group3]= "Ukrainian";
key <AE01> { [ 1, exclam ],
[ 1, exclam ] ,
[ 1, exclam ] };
key <AE02> { [ 2, at ],
[ 2, quotedbl ] ,
[ 2, quotedbl ] };
key <AE03> { [ 3, numbersign ],
[ 3, numbersign ] ,
[ 3, numbersign ] };
key <AE04> { [ 4, dollar ],
[ 4, asterisk ] ,
[ 4, asterisk ] };
key <AE05> { [ 5, percent ],
[ 5, colon ] ,
[ 5, colon ] };
key <AE06> { [ 6, asciicircum ],
[ 6, comma ] ,
[ 6, comma ] };
key <AE07> { [ 7, ampersand ],
[ 7, period ] ,
[ 7, period ] };
key <AE08> { [ 8, asterisk ],
[ 8, semicolon ] ,
[ 8, semicolon ] };
key <AE09> { [ 9, parenleft ],
[ 9, parenleft ] ,
[ 9, parenleft ] };
key <AE10> { [ 0, parenright ],
[ 0, parenright ] ,
[ 0, parenright ] };
key <AE11> { [ minus, underscore ],
[ minus, underscore ] ,
[ minus, underscore ] };
key <AE12> { [ equal, plus ],
[ equal, plus ] ,
[ equal, plus ] };
key <BKSL> { [ backslash, bar ],
[ backslash, bar ] ,
[Ukrainian_ghe_with_upturn,Ukrainian_GHE_WITH_UPTURN]};
key <AB10> { [ slash, question ],
[ slash, question ] ,
[ slash, question ] };
key <LSGT> { [ less, greater ],
[ slash, bar ] ,
[ slash, bar ] };
key.type[group2]="ALPHABETIC";
key.type[group3]="ALPHABETIC";
key <TLDE> { [ grave, asciitilde ],
[ Cyrillic_io, Cyrillic_IO ] ,
[ apostrophe, asciitilde ] };
key <AD01> { [ q, Q ],
[ Cyrillic_shorti, Cyrillic_SHORTI ] ,
[ Cyrillic_shorti, Cyrillic_SHORTI ] };
key <AD02> { [ w, W ],
[ Cyrillic_tse, Cyrillic_TSE ] ,
[ Cyrillic_tse, Cyrillic_TSE ] };
key <AD03> { [ e, E ],
[ Cyrillic_u, Cyrillic_U ] ,
[ Cyrillic_u, Cyrillic_U ] };
key <AD04> { [ r, R ],
[ Cyrillic_ka, Cyrillic_KA ] ,
[ Cyrillic_ka, Cyrillic_KA ] };
key <AD05> { [ t, T ],
[ Cyrillic_ie, Cyrillic_IE ] ,
[ Cyrillic_ie, Cyrillic_IE ] };
key <AD06> { [ y, Y ],
[ Cyrillic_en, Cyrillic_EN ] ,
[ Cyrillic_en, Cyrillic_EN ] };
key <AD07> { [ u, U ],
[ Cyrillic_ghe, Cyrillic_GHE ] ,
[ Cyrillic_ghe, Cyrillic_GHE ] };
key <AD08> { [ i, I ],
[ Cyrillic_sha, Cyrillic_SHA ] ,
[ Cyrillic_sha, Cyrillic_SHA ] };
key <AD09> { [ o, O ],
[ Cyrillic_shcha, Cyrillic_SHCHA ] ,
[ Cyrillic_shcha, Cyrillic_SHCHA ] };
key <AD10> { [ p, P ],
[ Cyrillic_ze, Cyrillic_ZE ] ,
[ Cyrillic_ze, Cyrillic_ZE ] };
key <AD11> { [ bracketleft, braceleft ],
[ Cyrillic_ha, Cyrillic_HA ] ,
[ Cyrillic_ha, Cyrillic_HA ] };
key <AD12> { [ bracketright, braceright ],
[Cyrillic_hardsign,Cyrillic_HARDSIGN ] ,
[ Ukrainian_yi, Ukrainian_YI ] };
key <AC01> { [ a, A ],
[ Cyrillic_ef, Cyrillic_EF ] ,
[ Cyrillic_ef, Cyrillic_EF ] };
key <AC02> { [ s, S ],
[ Cyrillic_yeru, Cyrillic_YERU ] ,
[ Ukrainian_i, Ukrainian_I ] };
key <AC03> { [ d, D ],
[ Cyrillic_ve, Cyrillic_VE ] ,
[ Cyrillic_ve, Cyrillic_VE ] };
key <AC04> { [ f, F ],
[ Cyrillic_a, Cyrillic_A ] ,
[ Cyrillic_a, Cyrillic_A ] };
key <AC05> { [ g, G ],
[ Cyrillic_pe, Cyrillic_PE ] ,
[ Cyrillic_pe, Cyrillic_PE ] };
key <AC06> { [ h, H ],
[ Cyrillic_er, Cyrillic_ER ] ,
[ Cyrillic_er, Cyrillic_ER ] };
key <AC07> { [ j, J ],
[ Cyrillic_o, Cyrillic_O ] ,
[ Cyrillic_o, Cyrillic_O ] };
key <AC08> { [ k, K ],
[ Cyrillic_el, Cyrillic_EL ] ,
[ Cyrillic_el, Cyrillic_EL ] };
key <AC09> { [ l, L ],
[ Cyrillic_de, Cyrillic_DE ] ,
[ Cyrillic_de, Cyrillic_DE ] };
key <AC10> { [ semicolon, colon ],
[ Cyrillic_zhe, Cyrillic_ZHE ] ,
[ Cyrillic_zhe, Cyrillic_ZHE ] };
key <AC11> { [ apostrophe, quotedbl ],
[ Cyrillic_e, Cyrillic_E ] ,
[ Ukrainian_ie, Ukrainian_IE ] };
key <AB01> { [ z, Z ],
[ Cyrillic_ya, Cyrillic_YA ] ,
[ Cyrillic_ya, Cyrillic_YA ] };
key <AB02> { [ x, X ],
[ Cyrillic_che, Cyrillic_CHE ] ,
[ Cyrillic_che, Cyrillic_CHE ] };
key <AB03> { [ c, C ],
[ Cyrillic_es, Cyrillic_ES ] ,
[ Cyrillic_es, Cyrillic_ES ] };
key <AB04> { [ v, V ],
[ Cyrillic_em, Cyrillic_EM ] ,
[ Cyrillic_em, Cyrillic_EM ] };
key <AB06> { [ n, N ],
[ Cyrillic_te, Cyrillic_TE ] ,
[ Cyrillic_te, Cyrillic_TE ] };
key <AB05> { [ b, B ],
[ Cyrillic_i, Cyrillic_I ] ,
[ Cyrillic_i, Cyrillic_I ] };
key <AB07> { [ m, M ],
[Cyrillic_softsign,Cyrillic_SOFTSIGN ] ,
[Cyrillic_softsign,Cyrillic_SOFTSIGN ] };
key <AB08> { [ comma, less ],
[ Cyrillic_be, Cyrillic_BE ] ,
[ Cyrillic_be, Cyrillic_BE ] };
key <AB09> { [ period, greater ],
[ Cyrillic_yu, Cyrillic_YU ] ,
[ Cyrillic_yu, Cyrillic_YU ] };
key.type[group2]="TWO_LEVEL";
key.type[group3]="TWO_LEVEL";
// End alphanumeric section
// Begin modifier mappings
modifier_map Shift { Shift_L };
modifier_map Lock { Caps_Lock, ISO_Lock };
modifier_map Control{ Control_L };
modifier_map Mod3 { Mode_switch };
};
partial alphanumeric_keys
xkb_symbols "winkeys" {
include "ru_ua(basic)"
key <AE03> { [ 3, numbersign ],
[ 3, numerosign ] ,
[ 3, numerosign ] };
key <AE04> { [ 4, dollar ],
[ 4, semicolon ] ,
[ 4, semicolon ] };
key <AE05> { [ 5, percent ],
[ 5, percent ] ,
[ 5, percent ] };
key <AE06> { [ 6, asciicircum ],
[ 6, colon ] ,
[ 6, colon ] };
key <AE07> { [ 7, ampersand ],
[ 7, question ] ,
[ 7, question ] };
key <AE08> { [ 8, asterisk ],
[ 8, asterisk ] ,
[ 8, asterisk ] };
key <AB10> { [ slash, question ],
[ period, comma ] ,
[ period, comma ] };
};
partial alphanumeric_keys
xkb_symbols "typewriter" {
include "ru_ua(basic)"
key <TLDE> { [ grave, asciitilde ],
[ apostrophe, quotedbl ] ,
[ apostrophe, quotedbl ] };
key <AE01> { [ 1, exclam ],
[ exclam, 1 ] ,
[ exclam, 1 ] };
key <AE02> { [ 2, at ],
[ numerosign, 2 ] ,
[ numerosign, 2 ] };
key <AE03> { [ 3, numbersign ],
[ slash, 3 ] ,
[ slash, 3 ] };
key <AE04> { [ 4, dollar ],
[ semicolon, 4 ] ,
[ semicolon, 4 ] };
key <AE05> { [ 5, percent ],
[ colon, 5 ] ,
[ colon, 5 ] };
key <AE06> { [ 6, asciicircum ],
[ comma, 6 ] ,
[ comma, 6 ] };
key <AE07> { [ 7, ampersand ],
[ period, 7 ] ,
[ period, 7 ] };
key <AE08> { [ 8, asterisk ],
[ underscore, 8 ] ,
[ underscore, 8 ] };
key <AE09> { [ 9, parenleft ],
[ question, 9 ] ,
[ question, 9 ] };
key <AE10> { [ 0, parenright ],
[ percent, 0 ] ,
[ percent, 0 ] };
key <BKSL> { [ backslash, bar ],
[ parenleft, parenright ] ,
[ parenleft, parenright ] };
key.type[group2]="ALPHABETIC";
key.type[group3]="ALPHABETIC";
key <AD12> { [ bracketright, braceright ],
[Cyrillic_hardsign,Cyrillic_HARDSIGN ] ,
[Ukrainian_yi, Ukrainian_YI ] };
key <AB05> { [ b, B ],
[ Cyrillic_i, Cyrillic_I ] ,
[ Cyrillic_i, Cyrillic_I ] };
key <AB10> { [ slash, question ],
[ Cyrillic_io, Cyrillic_IO ] ,
[ Cyrillic_io, Cyrillic_IO ] };
};
partial alphanumeric_keys
xkb_symbols "phonetic" {
include "ru_ua(basic)"
key <AE01> { [ 1, exclam ],
[ 1, exclam ] ,
[ 1, exclam ] };
key <AE02> { [ 2, at ],
[ 2, at ] ,
[ 2, at ] };
key <AE03> { [ 3, numbersign ],
[ 3, Cyrillic_io ] ,
[ 3, Cyrillic_io ] };
key <AE04> { [ 4, dollar ],
[ 4, Cyrillic_IO ] ,
[ 4, Cyrillic_IO ] };
key <AE05> { [ 5, percent ],
[ 5, percent ] ,
[ 5, percent ] };
key <AE06> { [ 6, asciicircum ],
[ 6, asciicircum ] ,
[ 6, asciicircum ] };
key <AE07> { [ 7, ampersand ],
[ 7, ampersand ] ,
[ 7, ampersand ] };
key <AE08> { [ 8, asterisk ],
[ 8, asterisk ] ,
[ 8, asterisk ] };
key <AE09> { [ 9, parenleft ],
[ 9, parenleft ] ,
[ 9, parenleft ] };
key <AE10> { [ 0, parenright ],
[ 0, parenright ] ,
[ 0, parenright ] };
key <AB09> { [ period, greater ],
[ period, greater ] ,
[ period, greater ] };
key <AB10> { [ slash, question ],
[ slash, question ] ,
[ slash, question ] };
key <AB08> { [ comma, less ],
[ comma, less ] ,
[ comma, less ] };
key <AC10> { [ semicolon, colon ],
[ semicolon, colon ] ,
[ semicolon, colon ] };
key <AC11> { [ apostrophe, quotedbl ],
[ apostrophe, quotedbl ] ,
[ apostrophe, quotedbl ] };
key <LSGT> { [ less, greater ],
[ bar, brokenbar ] ,
[ bar, brokenbar ] };
key.type[group2]="ALPHABETIC";
key.type[group2]="ALPHABETIC";
key <TLDE> { [ grave, asciitilde ],
[ Cyrillic_yu, Cyrillic_YU ] ,
[ Cyrillic_yu, Cyrillic_YU ] };
key <AD01> { [ q, Q ],
[ Cyrillic_ya, Cyrillic_YA ] ,
[ Cyrillic_ya, Cyrillic_YA ] };
key <AB01> { [ z, Z ],
[ Cyrillic_ze, Cyrillic_ZE ] ,
[ Cyrillic_ze, Cyrillic_ZE ] };
key <AC02> { [ s, S ],
[ Cyrillic_es, Cyrillic_ES ] ,
[ Cyrillic_es, Cyrillic_ES ] };
key <AC01> { [ a, A ],
[ Cyrillic_a, Cyrillic_A ] ,
[ Cyrillic_a, Cyrillic_A ] };
key <AD02> { [ w, W ],
[ Cyrillic_ve, Cyrillic_VE ] ,
[ Cyrillic_ve, Cyrillic_VE ] };
key <AB03> { [ c, C ],
[ Cyrillic_tse, Cyrillic_TSE ] ,
[ Cyrillic_tse, Cyrillic_TSE ] };
key <AB02> { [ x, X ],
[Cyrillic_softsign,Cyrillic_SOFTSIGN ] ,
[Cyrillic_softsign,Cyrillic_SOFTSIGN ] };
key <AC03> { [ d, D ],
[ Cyrillic_de, Cyrillic_DE ] ,
[ Cyrillic_de, Cyrillic_DE ] };
key <AD03> { [ e, E ],
[ Cyrillic_ie, Cyrillic_IE ] ,
[ Cyrillic_ie, Cyrillic_IE ] };
key <AB04> { [ v, V ],
[ Cyrillic_zhe, Cyrillic_ZHE ] ,
[ Cyrillic_zhe, Cyrillic_ZHE ] };
key <AC04> { [ f, F ],
[ Cyrillic_ef, Cyrillic_EF ] ,
[ Cyrillic_ef, Cyrillic_EF ] };
key <AD05> { [ t, T ],
[ Cyrillic_te, Cyrillic_TE ] ,
[ Cyrillic_te, Cyrillic_TE ] };
key <AD04> { [ r, R ],
[ Cyrillic_er, Cyrillic_ER ] ,
[ Cyrillic_er, Cyrillic_ER ] };
key <AB06> { [ n, N ],
[ Cyrillic_en, Cyrillic_EN ] ,
[ Cyrillic_en, Cyrillic_EN ] };
key <AB05> { [ b, B ],
[ Cyrillic_be, Cyrillic_BE ] ,
[ Cyrillic_be, Cyrillic_BE ] };
key <AC06> { [ h, H ],
[ Cyrillic_ha, Cyrillic_HA ] ,
[ Cyrillic_ha, Cyrillic_HA ] };
key <AC05> { [ g, G ],
[ Cyrillic_ghe, Cyrillic_GHE ] ,
[ Cyrillic_ghe, Cyrillic_GHE ] };
key <AD06> { [ y, Y ],
[ Cyrillic_yeru, Cyrillic_YERU ] ,
[ Cyrillic_yeru, Cyrillic_YERU ] };
key <AB07> { [ m, M ],
[ Cyrillic_em, Cyrillic_EM ] ,
[ Cyrillic_em, Cyrillic_EM ] };
key <AC07> { [ j, J ],
[ Cyrillic_shorti, Cyrillic_SHORTI ] ,
[ Cyrillic_shorti, Cyrillic_SHORTI ] };
key <AD07> { [ u, U ],
[ Cyrillic_u, Cyrillic_U ] ,
[ Cyrillic_u, Cyrillic_U ] };
key <AC08> { [ k, K ],
[ Cyrillic_ka, Cyrillic_KA ] ,
[ Cyrillic_ka, Cyrillic_KA ] };
key <AD08> { [ i, I ],
[ Cyrillic_i, Cyrillic_I ] ,
[ Cyrillic_i, Cyrillic_I ] };
key <AD09> { [ o, O ],
[ Cyrillic_o, Cyrillic_O ] ,
[ Cyrillic_o, Cyrillic_O ] };
key <AC09> { [ l, L ],
[ Cyrillic_el, Cyrillic_EL ] ,
[ Cyrillic_el, Cyrillic_EL ] };
key <AD10> { [ p, P ],
[ Cyrillic_pe, Cyrillic_PE ] ,
[ Cyrillic_pe, Cyrillic_PE ] };
key <AE11> { [ minus, underscore ],
[ minus, Cyrillic_hardsign ] ,
[ minus, Cyrillic_hardsign ] };
key <AD11> { [ bracketleft, braceleft ],
[ Cyrillic_sha, Cyrillic_SHA ] ,
[ Cyrillic_sha, Cyrillic_SHA ] };
key <AE12> { [ equal, plus ],
[ Cyrillic_che, Cyrillic_CHE ] ,
[ Cyrillic_che, Cyrillic_CHE ] };
key <AD12> { [ bracketright, braceright ],
[ Cyrillic_shcha, Cyrillic_SHCHA ] ,
[ Cyrillic_shcha, Cyrillic_SHCHA ] };
key <BKSL> { [ backslash, bar ],
[ Cyrillic_e, Cyrillic_E ] ,
[ Cyrillic_e, Cyrillic_E ] };
modifier_map Shift { Shift_L };
modifier_map Lock { Caps_Lock, ISO_Lock };
modifier_map Control{ Control_L };
modifier_map Mod3 { Mode_switch };
};