commit b1ab226b28e0a977162d3c04f003230a71b33d57
parent 7885b0954afe63e2ba5f4705797418d0ab61cdec
Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 28 Apr 2013 10:24:15 +0200
Adding ru and sh layout.
Thank you "Dmitrij D. Czarkoff" <czarkoff@gmail.com>!
Diffstat:
layout.ru.h | | | 72 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
layout.sh.h | | | 75 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
2 files changed, 147 insertions(+), 0 deletions(-)
diff --git a/layout.ru.h b/layout.ru.h
@@ -0,0 +1,72 @@
+static Key keys[] = {
+ { "ёЁ", XK_Cyrillic_io, 1 },
+ { "1!", XK_1, 1 },
+ { "2\"", XK_2, 1 },
+ { "3№", XK_3, 1 },
+ { "4;", XK_4, 1 },
+ { "5%", XK_5, 1 },
+ { "6:", XK_6, 1 },
+ { "7?", XK_7, 1 },
+ { "8*", XK_8, 1 },
+ { "9(", XK_9, 1 },
+ { "0)", XK_0, 1 },
+ { "-_", XK_minus, 1 },
+ { "=+", XK_plus, 1 },
+ { "<-", XK_BackSpace, 2 },
+ { "Del", XK_Delete, 1},
+ { 0 }, /* New row */
+ { "->|", XK_Tab, 1 },
+ { "йЙ", XK_Cyrillic_shorti, 1 },
+ { "цЦ", XK_Cyrillic_tse, 1 },
+ { "уУ", XK_Cyrillic_u, 1 },
+ { "кК", XK_Cyrillic_ka, 1 },
+ { "еЕ", XK_Cyrillic_ie, 1 },
+ { "нН", XK_Cyrillic_en, 1 },
+ { "гГ", XK_Cyrillic_ghe, 1 },
+ { "шШ", XK_Cyrillic_sha, 1 },
+ { "щЩ", XK_Cyrillic_shcha, 1 },
+ { "зЗ", XK_Cyrillic_ze, 1 },
+ { "хХ", XK_Cyrillic_ha, 1 },
+ { "ъЪ", XK_Cyrillic_hardsign, 1 },
+ { "Return", XK_Return, 3 },
+ { 0 }, /* New row */
+ { 0, XK_Caps_Lock, 2 },
+ { "фФ", XK_Cyrillic_ef, 1 },
+ { "ыЫ", XK_Cyrillic_yeru, 1 },
+ { "вВ", XK_Cyrillic_ve, 1 },
+ { "аА", XK_Cyrillic_a, 1 },
+ { "пП", XK_Cyrillic_pe, 1 },
+ { "рР", XK_Cyrillic_er, 1 },
+ { "оО", XK_Cyrillic_o, 1 },
+ { "лЛ", XK_Cyrillic_el, 1 },
+ { "дД", XK_Cyrillic_de, 1 },
+ { "жЖ", XK_Cyrillic_zhe, 1 },
+ { "эЭ", XK_Cyrillic_e, 1 },
+ { "\\/", XK_backslash, 1 },
+ { 0 }, /* New row */
+ { 0, XK_Shift_L, 3 },
+ { "яЯ", XK_Cyrillic_ya, 1 },
+ { "чЧ", XK_Cyrillic_che, 1 },
+ { "сС", XK_Cyrillic_es, 1 },
+ { "мМ", XK_Cyrillic_em, 1 },
+ { "иИ", XK_Cyrillic_i, 1 },
+ { "тТ", XK_Cyrillic_te, 1 },
+ { "ьЬ", XK_Cyrillic_softsign, 1 },
+ { "бБ", XK_Cyrillic_be, 1 },
+ { "юЮ", XK_Cyrillic_yu, 1 },
+ { ".,", XK_period, 1 },
+ { 0, XK_Shift_R, 2 },
+ { 0 }, /* New row */
+ { "Ctrl", XK_Control_L, 2 },
+ { "Alt", XK_Alt_L, 2 },
+ { "", XK_space, 5 },
+ { "Alt", XK_Alt_R, 2 },
+ { "Ctrl", XK_Control_R, 2 },
+ { "[X]", XK_Cancel, 1},
+};
+
+Buttonmod buttonmods[] = {
+ { XK_Shift_L, Button2 },
+ { XK_Alt_L, Button3 },
+};
+
diff --git a/layout.sh.h b/layout.sh.h
@@ -0,0 +1,75 @@
+static Key keys[] = {
+ { "`~", XK_quoteleft, 1},
+ { "1!~", XK_1, 1 },
+ { "2\"ˇ", XK_2, 1 },
+ { "3#^", XK_3, 1 },
+ { "4$˘", XK_4, 1 },
+ { "5%°", XK_5, 1 },
+ { "6&˛", XK_6, 1 },
+ { "7/`", XK_7, 1 },
+ { "8(˙", XK_8, 1 },
+ { "9)'", XK_9, 1 },
+ { "0=˝", XK_0, 1 },
+ { "'?¨", XK_apostrophe, 1 },
+ { "+*¸", XK_plus, 1 },
+ { "<-", XK_BackSpace, 2 },
+ { "Del", XK_Delete, 1},
+ { 0 }, /* New row */
+ { "->|", XK_Tab, 1 },
+ { "qQ\\", XK_q, 1 },
+ { "wW|", XK_w, 1 },
+ { "eE", XK_e, 1 },
+ { "rR", XK_r, 1 },
+ { "tT", XK_t, 1 },
+ { "zZ", XK_z, 1 },
+ { "uU", XK_u, 1 },
+ { "iI", XK_i, 1 },
+ { "oO", XK_o, 1 },
+ { "pP", XK_p, 1 },
+ { "šŠ÷", XK_scaron, 1 },
+ { "đĐ×", XK_dstroke, 1 },
+ { "Enter", XK_Return, 3 },
+ { 0 }, /* New row */
+ { 0, XK_Caps_Lock, 2 },
+ { "aA", XK_a, 1 },
+ { "sS", XK_s, 1 },
+ { "dD", XK_d, 1 },
+ { "fF[", XK_f, 1 },
+ { "gG]", XK_g, 1 },
+ { "hH", XK_h, 1 },
+ { "jJ̣̣", XK_j, 1 },
+ { "kKł", XK_k, 1 },
+ { "lLŁ", XK_l, 1 },
+ { "čČ", XK_ccaron, 1 },
+ { "ćĆß", XK_cacute, 1 },
+ { "žŽ¤", XK_zcaron, 1 },
+ { 0 }, /* New row */
+ { 0, XK_Shift_L, 2 },
+ { "<>«»", XK_less, 1 },
+ { "yY", XK_y, 1 },
+ { "xX", XK_x, 1 },
+ { "cC", XK_c, 1 },
+ { "vV@", XK_v, 1 },
+ { "bB{", XK_b, 1 },
+ { "nN}", XK_n, 1 },
+ { "mM§", XK_m, 1 }, /* XXX no symbol */
+ { ",;", XK_comma, 1 },
+ { ".:", XK_period, 1 },
+ { "-_", XK_minus, 1 },
+ { 0, XK_Shift_R, 2 },
+ { 0 }, /* New row */
+ { "Ctrl", XK_Control_L, 2 },
+ { "Win", XK_Super_L, 2 },
+ { "Alt", XK_Alt_L, 2 },
+ { "", XK_space, 5 },
+ { "Alt Gr", XK_ISO_Level3_Shift, 2 },
+ { "Menu", XK_Menu, 2 },
+ { "Ctrl", XK_Control_R, 2 },
+ { "[X]", XK_Cancel, 1},
+};
+
+Buttonmod buttonmods[] = {
+ { XK_Shift_L, Button2 },
+ { XK_Alt_L, Button3 },
+};
+