layout.ru.h (2214B)
1 #define KEYS 63 2 static Key keys_ru[] = { 3 { "ё","Ё", XK_Cyrillic_io, 1 }, 4 { "1","!", XK_1, 1 }, 5 { "2","\"", XK_2, 1 }, 6 { "3","№", XK_3, 1 }, 7 { "4",";", XK_4, 1 }, 8 { "5","%", XK_5, 1 }, 9 { "6",":", XK_6, 1 }, 10 { "7","?", XK_7, 1 }, 11 { "8","*", XK_8, 1 }, 12 { "9","(", XK_9, 1 }, 13 { "0",")", XK_0, 1 }, 14 { "-","_", XK_minus, 1 }, 15 { "=","+", XK_plus, 1 }, 16 { "<-", 0, XK_BackSpace, 2 }, 17 { "Del", 0, XK_Delete, 1}, 18 { 0 }, /* New row */ 19 { "->|", 0, XK_Tab, 1 }, 20 { "й", 0, XK_Cyrillic_shorti, 1 }, 21 { "ц", 0, XK_Cyrillic_tse, 1 }, 22 { "у", 0, XK_Cyrillic_u, 1 }, 23 { "к", 0, XK_Cyrillic_ka, 1 }, 24 { "е", 0, XK_Cyrillic_ie, 1 }, 25 { "н", 0, XK_Cyrillic_en, 1 }, 26 { "г", 0, XK_Cyrillic_ghe, 1 }, 27 { "ш", 0, XK_Cyrillic_sha, 1 }, 28 { "щ", 0, XK_Cyrillic_shcha, 1 }, 29 { "з", 0, XK_Cyrillic_ze, 1 }, 30 { "х", 0, XK_Cyrillic_ha, 1 }, 31 { "ъ", 0, XK_Cyrillic_hardsign, 1 }, 32 { "Return", 0, XK_Return, 3 }, 33 { 0 }, /* New row */ 34 { 0, 0, XK_Caps_Lock, 2 }, 35 { "ф", 0, XK_Cyrillic_ef, 1 }, 36 { "ы", 0, XK_Cyrillic_yeru, 1 }, 37 { "в", 0, XK_Cyrillic_ve, 1 }, 38 { "а", 0, XK_Cyrillic_a, 1 }, 39 { "п", 0, XK_Cyrillic_pe, 1 }, 40 { "р", 0, XK_Cyrillic_er, 1 }, 41 { "о", 0, XK_Cyrillic_o, 1 }, 42 { "л", 0, XK_Cyrillic_el, 1 }, 43 { "д", 0, XK_Cyrillic_de, 1 }, 44 { "ж", 0, XK_Cyrillic_zhe, 1 }, 45 { "э", 0, XK_Cyrillic_e, 1 }, 46 { "\\","/", XK_backslash, 1 }, 47 { 0 }, /* New row */ 48 { 0, 0, XK_Shift_L, 3 }, 49 { "я", 0, XK_Cyrillic_ya, 1 }, 50 { "ч", 0, XK_Cyrillic_che, 1 }, 51 { "с", 0, XK_Cyrillic_es, 1 }, 52 { "м", 0, XK_Cyrillic_em, 1 }, 53 { "и", 0, XK_Cyrillic_i, 1 }, 54 { "т", 0, XK_Cyrillic_te, 1 }, 55 { "ь", 0, XK_Cyrillic_softsign, 1 }, 56 { "б", 0, XK_Cyrillic_be, 1 }, 57 { "ю", 0, XK_Cyrillic_yu, 1 }, 58 { ".", ",", XK_period, 1 }, 59 { 0, 0, XK_Shift_R, 2 }, 60 { 0 }, /* New row */ 61 { "Ctrl", 0, XK_Control_L, 2 }, 62 { "Alt", 0,XK_Alt_L, 2 }, 63 { "", 0,XK_space, 5 }, 64 { "Alt", 0,XK_Alt_R, 2 }, 65 { "Ctrl", 0,XK_Control_R, 2 }, 66 }; 67 68 Buttonmod buttonmods[] = { 69 { XK_Shift_L, Button2 }, 70 { XK_Alt_L, Button3 }, 71 }; 72 73 #define OVERLAYS 1 74 static Key overlay[OVERLAYS] = { 75 { 0, 0, XK_Cancel }, 76 }; 77 78 #define LAYERS 1 79 static char* layer_names[LAYERS] = { 80 "ru", 81 }; 82 83 static Key* available_layers[LAYERS] = { 84 keys_ru, 85 };