// // Tajik keyboard // it is a Russian layout keyboard, with SHCHA replaced with // dead_cedilla/dead_macron // that allows to type the SHCHA with dead_cedilla + SHA // and all the extra Tajik keys: // dead_cedilla + KA, HA --> KA descender, HA descender // dead_macron + I, U, GHE --> I macron, U macron, GHE horizontal stroke // it requires proper dead_cedilla and dead_macron entries in Compose file // it also allows to use Mode_switch when in cyrillic mode to enter // special letters by doing Mode_switch + base letter // // AEN (for the Russian layout) // Pablo Saratxaga (for the dead keys changes) // partial default alphanumeric_keys xkb_symbols "basic" { // Describes the differences between a very simple en_US // keyboard and a very simple Tajik keybaord name[Group1]= "US/ASCII"; name[Group2]= "Tajik"; key { [ grave, asciitilde ], [ Cyrillic_io, Cyrillic_IO ] }; key { [ less, greater ], [ bar, brokenbar ] }; key { [ q, Q ], [ Cyrillic_shorti, Cyrillic_SHORTI ] }; key { [ 1, exclam ], [ 1, exclam ] }; key { [ z, Z ], [ Cyrillic_ya, Cyrillic_YA ] }; key { [ s, S ], [ Cyrillic_yeru, Cyrillic_YERU ] }; key { [ a, A ], [ Cyrillic_ef, Cyrillic_EF ] }; key { [ w, W ], [ Cyrillic_tse, Cyrillic_TSE ] }; key { [ 2, at ], [ 2, quotedbl ] }; key { [ c, C ], [ Cyrillic_es, Cyrillic_ES ] }; key { [ x, X ], [ Cyrillic_che, Cyrillic_CHE ], [ 0x010004b7, 0x010004b6 ] }; key { [ d, D ], [ Cyrillic_ve, Cyrillic_VE ] }; key { [ e, E ], [ Cyrillic_u, Cyrillic_U ], [ 0x010004ef, 0x010004ee ] }; key { [ 4, dollar ], [ 4, asterisk ] }; key { [ 3, numbersign ], [ 3, apostrophe ] }; key { [ v, V ], [ Cyrillic_em, Cyrillic_EM ] }; key { [ f, F ], [ Cyrillic_a, Cyrillic_A ] }; key { [ t, T ], [ Cyrillic_ie, Cyrillic_IE ] }; key { [ r, R ], [ Cyrillic_ka, Cyrillic_KA ], [ 0x0100049b, 0x0100049a ] }; key { [ 5, percent ], [ 5, colon ] }; key { [ n, N ], [ Cyrillic_te, Cyrillic_TE ] }; key { [ b, B ], [ Cyrillic_i, Cyrillic_I ], [ 0x010004e3, 0x010004e2 ] }; key { [ h, H ], [ Cyrillic_er, Cyrillic_ER ] }; key { [ g, G ], [ Cyrillic_pe, Cyrillic_PE ] }; key { [ y, Y ], [ Cyrillic_en, Cyrillic_EN ] }; key { [ 6, asciicircum ], [ 6, comma ] }; key { [ m, M ], [Cyrillic_softsign,Cyrillic_SOFTSIGN ] }; key { [ j, J ], [ Cyrillic_o, Cyrillic_O ] }; key { [ u, U ], [ Cyrillic_ghe, Cyrillic_GHE ], [ 0x01000493, 0x01000492 ] }; key { [ 7, ampersand ], [ 7, period ] }; key { [ 8, asterisk ], [ 8, semicolon ] }; key { [ comma, less ], [ Cyrillic_be, Cyrillic_BE ] }; key { [ k, K ], [ Cyrillic_el, Cyrillic_EL ] }; key { [ i, I ], [ Cyrillic_sha, Cyrillic_SHA ], [ Cyrillic_shcha, Cyrillic_SHCHA] }; key { [ o, O ], [ dead_cedilla, dead_macron ] }; key { [ 0, parenright ], [ 0, parenright ] }; key { [ 9, parenleft ], [ 9, parenleft ] }; key { [ period, greater ], [ Cyrillic_yu, Cyrillic_YU ] }; key { [ slash, question ], [ slash, question ] }; key { [ l, L ], [ Cyrillic_de, Cyrillic_DE ] }; key { [ semicolon, colon ], [ Cyrillic_zhe, Cyrillic_ZHE ], [ 0x01000497, 0x01000496 ] }; key { [ p, P ], [ Cyrillic_ze, Cyrillic_ZE ] }; key { [ minus, underscore ], [ minus, underscore ] }; key { [ apostrophe, quotedbl ], [ Cyrillic_e, Cyrillic_E ] }; key { [ bracketleft, braceleft ], [ Cyrillic_ha, Cyrillic_HA ], [ 0x010004b3, 0x010004b2 ] }; key { [ equal, plus ], [ equal, plus ] }; key { [ bracketright, braceright ], [Cyrillic_hardsign,Cyrillic_HARDSIGN ] }; key { [ backslash, bar ], [ backslash, bar ] }; // 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(basic)" key { [ 4, dollar ], [ 4, semicolon ] }; key { [ 3, numbersign ], [ 3, numbersign ] }; key { [ 5, percent ], [ 5, percent ] }; key { [ 6, asciicircum ], [ 6, colon ] }; key { [ 7, ampersand ], [ 7, question ] }; key { [ 8, asterisk ], [ 8, asterisk ] }; key { [ slash, question ], [ period, comma ] }; key { [ backslash, bar ], [ slash, bar ] }; };