[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[locale] Re: ru-yawerty for XKB - dubl 2
Сам файл забыл...
--
С наилучшими пожеланиями, Евгений Бырганов.
Best regards, Eugene Byrganov
Sky, inpbox system administration, local network manager.
mailto:E.B.Byrganov@inp.nsk.su
work - http://www.inp.nsk.su/
//
// yawerty russian standard keyboard
// Eugene Byrganov <SkyMaster@inp.nsk.su>
//
partial alphanumeric_keys
xkb_symbols "basic" {
// Describes the differences between a very simple en_US
// keyboard and a very simple Russian keybaord
name [ Group1 ]= "English";
name [ Group2 ]= "Russian";
// restore after iso9995-3 & etc
key <AE01> { [ 1, exclam ],
[ 1, exclam ] };
key <AE02> { [ 2, at ],
[ 2, at ] };
key <AE03> { [ 3, numbersign ],
[ 3, numbersign ] };
key <AE04> { [ 4, dollar ],
[ 4, dollar ] };
key <AE05> { [ 5, percent ],
[ 5, percent ] };
key <AE06> { [ 6, asciicircum ],
[ 6, asciicircum ] };
key <AE07> { [ 7, ampersand ],
[ 7, ampersand ] };
key <AE08> { [ 8, asterisk ],
[ 8, asterisk ] };
key <AE09> { [ 9, parenleft ],
[ 9, parenleft ] };
key <AE10> { [ 0, parenright ],
[ 0, parenright ] };
key <AE11> { [ minus, underscore ],
[ minus, underscore ] };
key <AC10> { [ semicolon, colon ],
[ semicolon, colon ] };
key <AC11> { [ apostrophe, quotedbl ],
[ apostrophe, quotedbl ] };
key <AB08> { [ comma, less ],
[ comma, less ] };
key <AB09> { [ period, greater ],
[ period, greater ] };
key <AB10> { [ slash, question ],
[ slash, question ] };
// more or less std.
key <AD01> { [ q, Q ],
[ Cyrillic_ya, Cyrillic_YA ] };
key <AD02> { [ w, W ],
[ Cyrillic_zhe, Cyrillic_ZHE ] };
key <AD03> { [ e, E ],
[ Cyrillic_ie, Cyrillic_IE ] };
key <AD04> { [ r, R ],
[ Cyrillic_er, Cyrillic_ER ] };
key <AD05> { [ t, T ],
[ Cyrillic_te, Cyrillic_TE ] };
key <AD06> { [ y, Y ],
[ Cyrillic_yeru, Cyrillic_YERU ] };
key <AD07> { [ u, U ],
[ Cyrillic_u, Cyrillic_U ] };
key <AD08> { [ i, I ],
[ Cyrillic_i, Cyrillic_I ] };
key <AD09> { [ o, O ],
[ Cyrillic_o, Cyrillic_O ] };
key <AD10> { [ p, P ],
[ Cyrillic_pe, Cyrillic_PE ] };
key <AD11> { [ bracketleft, braceleft ],
[ Cyrillic_sha, Cyrillic_SHA ] };
key <AD12> { [ bracketright, braceright ],
[ Cyrillic_shcha, Cyrillic_SHCHA ] };
key <AC01> { [ a, A ],
[ Cyrillic_a, Cyrillic_A ] };
key <AC02> { [ s, S ],
[ Cyrillic_es, Cyrillic_ES ] };
key <AC03> { [ d, D ],
[ Cyrillic_de, Cyrillic_DE ] };
key <AC04> { [ f, F ],
[ Cyrillic_ef, Cyrillic_EF ] };
key <AC05> { [ g, G ],
[ Cyrillic_ghe, Cyrillic_GHE ] };
key <AC06> { [ h, H ],
[ Cyrillic_ha, Cyrillic_HA ] };
key <AC07> { [ j, J ],
[ Cyrillic_shorti, Cyrillic_SHORTI ] };
key <AC08> { [ k, K ],
[ Cyrillic_ka, Cyrillic_KA ] };
key <AC09> { [ l, L ],
[ Cyrillic_el, Cyrillic_EL ] };
key <AB01> { [ z, Z ],
[ Cyrillic_ze, Cyrillic_ZE ] };
key <AB02> { [ x, X ],
[ Cyrillic_softsign, Cyrillic_SOFTSIGN ] };
key <AB03> { [ c, C ],
[ Cyrillic_tse, Cyrillic_TSE ] };
key <AB04> { [ v, V ],
[ Cyrillic_ve, Cyrillic_VE ] };
key <AB05> { [ b, B ],
[ Cyrillic_be, Cyrillic_BE ] };
key <AB06> { [ n, N ],
[ Cyrillic_en, Cyrillic_EN ] };
key <AB07> { [ m, M ],
[ Cyrillic_em, Cyrillic_EM ] };
// first variant
key <TLDE> { [ grave, asciitilde ],
[ Cyrillic_che, Cyrillic_CHE ] };
key <BKSL> { [ backslash, bar ],
[ Cyrillic_yu, Cyrillic_YU ] };
key <AE12> { [ equal, plus ],
[ Cyrillic_e, Cyrillic_E ] };
// 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 "I" {
// first variant - dubl2
include "ru-yawerty(basic)"
key <TLDE> { [ grave, asciitilde ],
[ Cyrillic_che, Cyrillic_CHE ] };
key <BKSL> { [ backslash, bar ],
[ Cyrillic_yu, Cyrillic_YU ] };
key <AE12> { [ equal, plus ],
[ Cyrillic_e, Cyrillic_E ] };
};
partial alphanumeric_keys
xkb_symbols "II" {
include "ru-yawerty(basic)"
// second variant
key <TLDE> { [ grave, asciitilde ],
[ Cyrillic_yu, Cyrillic_YU ] };
key <BKSL> { [ backslash, bar ],
[ Cyrillic_e, Cyrillic_E ] };
key <AE12> { [ equal, plus ],
[ Cyrillic_che, Cyrillic_CHE ] };
};
hidden alphanumeric_keys
xkb_symbols "_hardsign_yo" {
// if no compose for this keys
key <AE03> { [ 3, numbersign ],
[ 3, Cyrillic_hardsign ] };
key <AE04> { [ 4, dollar ],
[ 4, Cyrillic_HARDSIGN ] };
key <AE05> { [ 5, percent ],
[ 5, Cyrillic_io ] };
key <AE06> { [ 6, asciicircum ],
[ 6, Cyrillic_IO ] };
};
hidden alphanumeric_keys
xkb_symbols "_morze" {
// Azbuka Morze ?
key <AD02> { [ w, W ],
[ Cyrillic_ve, Cyrillic_VE ] };
key <AB04> { [ v, V ],
[ Cyrillic_zhe, Cyrillic_ZHE ] };
};
hidden alphanumeric_keys
xkb_symbols "_yz" {
// deutchs keyboad
key <AB01> { [ y, Y ],
[ Cyrillic_yeru, Cyrillic_YERU ] };
key <AD06> { [ z, Z ],
[ Cyrillic_ze, Cyrillic_ZE ] };
};
partial default alphanumeric_keys
xkb_symbols "best" {
include "ru-yawerty(basic)"
};
partial alphanumeric_keys
xkb_symbols "best_hardsign_yo" {
include "ru-yawerty(basic)"
include "ru-yawerty(_hardsign_yo)"
};
partial alphanumeric_keys
xkb_symbols "best_de" {
include "ru-yawerty(basic)"
include "ru-yawerty(_yz)"
};
partial alphanumeric_keys
xkb_symbols "old" {
include "ru-yawerty(II)"
include "ru-yawerty(_morze)"
};
partial alphanumeric_keys
xkb_symbols "old_hardsign_yo" {
include "ru-yawerty(II)"
include "ru-yawerty(_morze)"
include "ru-yawerty(_hardsign_yo)"
};