svkbd

Simple X11 onscreen keyboard.
git clone git://r-36.net/svkbd
Log | Files | Refs | LICENSE

layout.ru.h (1909B)


      1 static Key keys[] = {
      2 	{ "ёЁ", XK_Cyrillic_io, 1 },
      3 	{ "1!", XK_1, 1 },
      4 	{ "2\"", XK_2, 1 },
      5 	{ "3№", XK_3, 1 },
      6 	{ "4;", XK_4, 1 },
      7 	{ "5%", XK_5, 1 },
      8 	{ "6:", XK_6, 1 },
      9 	{ "7?", XK_7, 1 },
     10 	{ "8*", XK_8, 1 },
     11 	{ "9(", XK_9, 1 },
     12 	{ "0)", XK_0, 1 },
     13 	{ "-_", XK_minus, 1 },
     14 	{ "=+", XK_plus, 1 },
     15 	{ "<-", XK_BackSpace, 2 },
     16 	{ "Del", XK_Delete, 1},
     17 	{ 0 }, /* New row */
     18 	{ "->|", XK_Tab, 1 },
     19 	{ "йЙ", XK_Cyrillic_shorti, 1 },
     20 	{ "цЦ", XK_Cyrillic_tse, 1 },
     21 	{ "уУ", XK_Cyrillic_u, 1 },
     22 	{ "кК", XK_Cyrillic_ka, 1 },
     23 	{ "еЕ", XK_Cyrillic_ie, 1 },
     24 	{ "нН", XK_Cyrillic_en, 1 },
     25 	{ "гГ", XK_Cyrillic_ghe, 1 },
     26 	{ "шШ", XK_Cyrillic_sha, 1 },
     27 	{ "щЩ", XK_Cyrillic_shcha, 1 },
     28 	{ "зЗ", XK_Cyrillic_ze, 1 },
     29 	{ "хХ", XK_Cyrillic_ha, 1 },
     30 	{ "ъЪ", XK_Cyrillic_hardsign, 1 },
     31 	{ "Return", XK_Return, 3 },
     32 	{ 0 }, /* New row */
     33 	{ 0, XK_Caps_Lock, 2 },
     34 	{ "фФ", XK_Cyrillic_ef, 1 },
     35 	{ "ыЫ", XK_Cyrillic_yeru, 1 },
     36 	{ "вВ", XK_Cyrillic_ve, 1 },
     37 	{ "аА", XK_Cyrillic_a, 1 },
     38 	{ "пП", XK_Cyrillic_pe, 1 },
     39 	{ "рР", XK_Cyrillic_er, 1 },
     40 	{ "оО", XK_Cyrillic_o, 1 },
     41 	{ "лЛ", XK_Cyrillic_el, 1 },
     42 	{ "дД", XK_Cyrillic_de, 1 },
     43 	{ "жЖ", XK_Cyrillic_zhe, 1 },
     44 	{ "эЭ", XK_Cyrillic_e, 1 },
     45 	{ "\\/", XK_backslash, 1 },
     46 	{ 0 }, /* New row */
     47 	{ 0, XK_Shift_L, 3 },
     48 	{ "яЯ", XK_Cyrillic_ya, 1 },
     49 	{ "чЧ", XK_Cyrillic_che, 1 },
     50 	{ "сС", XK_Cyrillic_es, 1 },
     51 	{ "мМ", XK_Cyrillic_em, 1 },
     52 	{ "иИ", XK_Cyrillic_i, 1 },
     53 	{ "тТ", XK_Cyrillic_te, 1 },
     54 	{ "ьЬ", XK_Cyrillic_softsign, 1 },
     55 	{ "бБ", XK_Cyrillic_be, 1 },
     56 	{ "юЮ", XK_Cyrillic_yu, 1 },
     57 	{ ".,", XK_period, 1 },
     58 	{ 0, XK_Shift_R, 2 },
     59 	{ 0 }, /* New row */
     60 	{ "Ctrl", XK_Control_L, 2 },
     61 	{ "Alt", XK_Alt_L, 2 },
     62 	{ "", XK_space, 5 },
     63 	{ "Alt", XK_Alt_R, 2 },
     64 	{ "Ctrl", XK_Control_R, 2 },
     65 	{ "[X]", XK_Cancel, 1},
     66 };
     67 
     68 Buttonmod buttonmods[] = {
     69 	{ XK_Shift_L, Button2 },
     70 	{ XK_Alt_L, Button3 },
     71 };
     72