Remove extra layouts and customize intl one

This commit is contained in:
Alex D. 2020-10-13 10:27:07 +02:00
parent 02a2f77fbb
commit 4f158b5d17
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
7 changed files with 387 additions and 980 deletions

View File

@ -1,29 +0,0 @@
#define KEYS 6
static Key keys_arrows[] = {
{ 0, XK_Shift_L, 2 },
{ "", XK_Left, 1 },
{ "", XK_Down, 1 },
{ "", XK_Up, 1 },
{ "", XK_Right, 1},
{ "Alt", XK_Alt_L, 2 },
};
Buttonmod buttonmods[] = {
{ XK_Shift_L, Button2 },
{ XK_Alt_L, Button3 },
};
#define OVERLAYS 1
static Key overlay[OVERLAYS] = {
{ 0, XK_Cancel },
};
#define LAYERS 1
static char* layer_names[LAYERS] = {
"arrows",
};
static Key* available_layers[LAYERS] = {
keys_arrows,
};

View File

@ -1,89 +0,0 @@
#define KEYS 66
static Key keys_de[KEYS] = {
{ "^°′", XK_dead_circumflex, 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_ssharp, 1 },
{ "´`¸", XK_dead_acute, 1 },
{ "<-", XK_BackSpace, 2 },
{ "Entf", 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 },
{ "üܨ", 0xfc, 1 },
{ "+*~", XK_plus, 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 },
{ "öÖ˝", 0xf6, 1 },
{ "äÄ^", 0xe4, 1 },
{ "#'", XK_numbersign, 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 },
{ ",;·", 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 },
};
Buttonmod buttonmods[] = {
{ XK_Shift_L, Button2 },
{ XK_Alt_L, Button3 },
};
#define OVERLAYS 1
static Key overlay[OVERLAYS] = {
{ 0, XK_Cancel },
};
#define LAYERS 1
static char* layer_names[LAYERS] = {
"de",
};
static Key* available_layers[LAYERS] = {
keys_de,
};

View File

@ -1,84 +0,0 @@
#define KEYS 61
static Key keys_en[] = {
{ "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 },
{ 0 }, /* New row */
{ "->|", XK_Tab, 1 },
{ 0, XK_q, 1 },
{ 0, XK_w, 1 },
{ 0, XK_e, 1 },
{ 0, XK_r, 1 },
{ 0, XK_t, 1 },
{ 0, XK_y, 1 },
{ 0, XK_u, 1 },
{ 0, XK_i, 1 },
{ 0, XK_o, 1 },
{ 0, XK_p, 1 },
{ "[", XK_bracketleft, 1 },
{ "]", XK_bracketright, 1 },
{ "Return", XK_Return, 3 },
{ 0 }, /* New row */
{ 0, XK_Caps_Lock, 2 },
{ 0, XK_a, 1 },
{ 0, XK_s, 1 },
{ 0, XK_d, 1 },
{ 0, XK_f, 1 },
{ 0, XK_g, 1 },
{ 0, XK_h, 1 },
{ 0, XK_j, 1 },
{ 0, XK_k, 1 },
{ 0, XK_l, 1 },
{ ":;", XK_semicolon, 1 },
{ "'\"", XK_exclam, 1 },
{ "\\|", XK_backslash, 1 },
{ 0 }, /* New row */
{ 0, XK_Shift_L, 3 },
{ 0, XK_z, 1 },
{ 0, XK_x, 1 },
{ 0, XK_c, 1 },
{ 0, XK_v, 1 },
{ 0, XK_b, 1 },
{ 0, XK_n, 1 },
{ 0, XK_m, 1 },
{ ",", XK_colon, 1 },
{ ".", XK_period, 1 },
{ "/?", XK_slash, 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 },
};
Buttonmod buttonmods[] = {
{ XK_Shift_L, Button2 },
{ XK_Alt_L, Button3 },
};
#define OVERLAYS 1
static Key overlay[OVERLAYS] = {
{ 0, XK_Cancel },
};
#define LAYERS 1
static char* layer_names[LAYERS] = {
"en",
};
static Key* available_layers[LAYERS] = {
keys_en,
};

View File

@ -1,7 +1,6 @@
#define KEYS 43
#define KEYS 55
static Key keys_en[KEYS] = {
{ "Esc", XK_Escape, 1 },
{0, XK_q, 1},
{0, XK_w, 1},
{0, XK_e, 1},
@ -29,7 +28,7 @@ static Key keys_en[KEYS] = {
{0}, /* New row */
{ "123", XK_Mode_switch, 1 },
{"Shift", XK_Shift_L, 2},
{0, XK_z, 1},
{0, XK_x, 1},
{0, XK_c, 1},
@ -37,17 +36,18 @@ static Key keys_en[KEYS] = {
{0, XK_b, 1},
{0, XK_n, 1},
{0, XK_m, 1},
{ "Tab", XK_Tab, 1 },
{",<", XK_comma, 1},
{".>", XK_period, 1},
{"⌫Bksp", XK_BackSpace, 2},
{0}, /* New row */
{ "", XK_Cancel, 1},
{ "Shift", XK_Shift_L, 2 },
{"Ctrl", XK_Control_L, 1},
{"", XK_Cancel, 1},
{"Alt", XK_Alt_L, 1},
{ "", XK_space, 2 },
{ "", XK_Down, 1 },
{ "", XK_Up, 1 },
{"", XK_space, 3},
{"", XK_Left, 1},
{"", XK_Right, 1},
{"Esc", XK_Escape, 1},
{"↲ Enter", XK_Return, 2},
};
@ -309,9 +309,7 @@ static Key overlay[OVERLAYS] = {
{0, XK_Cancel}, /* XK_Cancel signifies overlay boundary */
};
static Key keys_symbols[KEYS] = {
{ "Esc", XK_Escape, 1 },
{"1!", XK_1, 1},
{"2@", XK_2, 1},
{"3#", XK_3, 1},
@ -325,7 +323,6 @@ static Key keys_symbols[KEYS] = {
{0}, /* New row */
{ "'\"", XK_apostrophe, 1 },
{"`~", XK_grave, 1},
{"-_", XK_minus, 1},
{"=+", XK_plus, 1},
@ -336,33 +333,32 @@ static Key keys_symbols[KEYS] = {
{"/?", XK_slash, 1},
{"\\|", XK_backslash, 1},
{";:", XK_colon, 1},
{"'\"", XK_apostrophe, 1},
{0}, /* New row */
{ "abc", XK_Mode_switch, 1 },
{"Shift", XK_Shift_L, 2},
{"", 0x101f642, 1},
{"", XK_Home, 1},
{ "", XK_Left, 1 },
{ "", XK_Right, 1 },
{"", XK_Down, 1},
{"", XK_Up, 1},
{"", XK_End, 1},
{"", XK_Next, 1},
{"", XK_Prior, 1},
{ "Tab", XK_Tab, 1 },
{"⌫Bksp", XK_BackSpace, 2},
{0}, /* New row */
{ "", XK_Cancel, 1},
{ "Shift", XK_Shift_L, 2 },
{"Ctrl", XK_Control_L, 1},
{"", XK_Cancel, 1},
{"Alt", XK_Alt_L, 1},
{ "", XK_space, 2 },
{ "", XK_Down, 1 },
{ "", XK_Up, 1 },
{"", XK_space, 3},
{"", XK_Left, 1},
{"", XK_Right, 1},
{"Esc", XK_Escape, 1},
{"↲ Enter", XK_Return, 2},
};
static Key keys_functions[KEYS] = {
{ "Esc", XK_Escape, 1 },
{"F1", XK_F1, 1},
{"F2", XK_F2, 1},
{"F3", XK_F3, 1},
@ -387,14 +383,15 @@ static Key keys_functions[KEYS] = {
{"♫+", XF86XK_AudioRaiseVolume, 1},
{"☀-", XF86XK_MonBrightnessDown, 1},
{"☀+", XF86XK_MonBrightnessUp, 1},
{"'\"", XK_apostrophe, 1},
{0}, /* New row */
{ "abc", XK_Mode_switch, 1 },
{"Shift", XK_Shift_L, 2},
{"Del", XK_Delete, 1},
{"", XK_Home, 1},
{ "", XK_Left, 1 },
{ "", XK_Right, 1 },
{"", XK_Down, 1},
{"", XK_Up, 1},
{"", XK_End, 1},
{"", XK_Next, 1},
{"", XK_Prior, 1},
@ -402,119 +399,29 @@ static Key keys_functions[KEYS] = {
{"⌫Bksp", XK_BackSpace, 2},
{0}, /* New row */
{ "", XK_Cancel, 1},
{ "Shift", XK_Shift_L, 2 },
{"Ctrl", XK_Control_L, 1},
{ "Alt", XK_Alt_L, 1 },
{ "", XK_space, 2 },
{ "", XK_Down, 1 },
{ "", XK_Up, 1 },
{ "↲ Enter", XK_Return, 2 },
};
static Key keys_ru[KEYS] = {
{ "и", 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 },
{ 0 }, /* New row */
{ "ф", XK_Cyrillic_ef, 1 },
{ "ы", XK_Cyrillic_yeru, 1 },
{ "в", XK_Cyrillic_ve, 1 },
{ "а", XK_Cyrillic_a, 1 },
{ "п", XK_Cyrillic_pe, 1 },
{ "о", XK_Cyrillic_o, 1 },
{ "л", XK_Cyrillic_el, 1 },
{ "д", XK_Cyrillic_de, 1 },
{ "ж", XK_Cyrillic_zhe, 1 },
{ "э", XK_Cyrillic_e, 1 },
{ "ю", XK_Cyrillic_yu, 1 },
{ 0 }, /* New row */
{ "123", XK_Mode_switch, 1 },
{ "я", 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 },
{ "⌫Bksp", XK_BackSpace, 2 },
{ 0 }, /* New row */
{"", XK_Cancel, 1},
{ "Shift", XK_Shift_L, 2 },
{ "Ctrl", XK_Control_L, 1 },
{"Alt", XK_Alt_L, 1},
{ "", XK_space, 2 },
{ "", XK_Down, 1 },
{ "", XK_Up, 1 },
{ "↲ Enter", XK_Return, 2 },
};
static Key keys_dialer[KEYS] = {
{"", XK_space, 3},
{"", XK_Left, 1},
{"", XK_Right, 1},
{"Esc", XK_Escape, 1},
{ "1!", XK_1, 1 },
{ "2@", XK_2, 1 },
{ "3#", XK_3, 1 },
{ "⌫Bksp", XK_BackSpace, 2 },
{ 0 }, /* New row */
{ "Shift", XK_Shift_L, 1 },
{ "4$", XK_4, 1 },
{ "5%", XK_5, 1 },
{ "6^", XK_6, 1 },
{ "-_", XK_minus, 1 },
{ ",<", XK_comma, 1 },
{ 0 }, /* New row */
{ "abc", XK_Mode_switch, 1 },
{ "7&", XK_7, 1 },
{ "8*", XK_8, 1 },
{ "9(", XK_9, 1 },
{ "=+", XK_equal, 1 },
{ "/?", XK_slash, 1 },
{ 0 }, /* New row */
{ "", XK_Cancel, 1},
{ "", XK_space, 1 },
{ "0)", XK_0, 1 },
{ ".>", XK_period, 1 },
{"↲ Enter", XK_Return, 2},
{ 0 }, /* New row */
{ 0 }, /* Last item (double 0) */
};
#define LAYERS 5
#define LAYERS 3
static char *layer_names[LAYERS] = {
"en",
"symbols",
"functions",
"dialer",
"ru",
};
static Key *available_layers[LAYERS] = {
keys_en,
keys_symbols,
keys_functions,
keys_dialer,
keys_ru
};
Buttonmod buttonmods[] = {
{XK_Shift_L, Button2},
{XK_Alt_L, Button3},

View File

@ -1,125 +0,0 @@
#define KEYS 40
static Key keys_en[KEYS] = {
{ 0, XK_q, 1 },
{ 0, XK_w, 1 },
{ 0, XK_e, 1 },
{ 0, XK_r, 1 },
{ 0, XK_t, 1 },
{ 0, XK_y, 1 },
{ 0, XK_u, 1 },
{ 0, XK_i, 1 },
{ 0, XK_o, 1 },
{ 0, XK_p, 1 },
{ 0 }, /* New row */
{ 0, XK_a, 1 },
{ 0, XK_s, 1 },
{ 0, XK_d, 1 },
{ 0, XK_f, 1 },
{ 0, XK_g, 1 },
{ 0, XK_h, 1 },
{ 0, XK_j, 1 },
{ 0, XK_k, 1 },
{ 0, XK_l, 1 },
{ ";:", XK_colon, 1 },
/*{ "'", XK_apostrophe, 2 },*/
{ 0 }, /* New row */
{ 0, XK_z, 1 },
{ 0, XK_x, 1 },
{ 0, XK_c, 1 },
{ 0, XK_v, 1 },
{ 0, XK_b, 1 },
{ 0, XK_n, 1 },
{ 0, XK_m, 1 },
/*{ "/?", XK_slash, 1 },*/
{ "Tab", XK_Tab, 1 },
{ "⇍ Bksp", XK_BackSpace, 2 },
{ 0 }, /* New row */
{ "", XK_Cancel, 1},
{ "Shft", XK_Shift_L, 1 },
/*{ "L", XK_Left, 1 },*/
{ "", XK_Down, 1 },
{ "", XK_Up, 1 },
/*{ "R", XK_Right, 1 },*/
{ "", XK_space, 2 },
{ "Esc", XK_Escape, 1 },
{ "Ctrl", XK_Control_L, 1 },
/*{ "Alt", XK_Alt_L, 1 },*/
{ "↲ Enter", XK_Return, 2 },
};
static Key keys_symbols[40] = {
{ "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 },
{ 0 }, /* New row */
{ "'\"", XK_apostrophe, 1 },
{ "`~", XK_grave, 1 },
{ "-_", XK_minus, 1 },
{ "=+", XK_plus, 1 },
{ "[{", XK_bracketleft, 1 },
{ "]}", XK_bracketright, 1 },
{ ",<", XK_comma, 1 },
{ ".>", XK_period, 1 },
{ "/?", XK_slash, 1 },
{ "\\|", XK_backslash, 1 },
{ 0 }, /* New row */
{ "", XK_Shift_L|XK_bar, 1 },
{ "", XK_Home, 1 },
{ "", XK_Left, 1 },
{ "", XK_Right, 1 },
{ "", XK_End, 1 },
{ "", XK_Next, 1 },
{ "", XK_Prior, 1 },
{ "Tab", XK_Tab, 1 },
{ "⇍ Bksp", XK_BackSpace, 2 },
{ 0 }, /* New row */
{ "", XK_Cancel, 1},
{ "Shft", XK_Shift_L, 1 },
/*{ "L", XK_Left, 1 },*/
{ "", XK_Down, 1 },
{ "", XK_Up, 1 },
/*{ "R", XK_Right, 1 },*/
{ "", XK_space, 2 },
{ "Esc", XK_Escape, 1 },
{ "Ctrl", XK_Control_L, 1 },
/*{ "Alt", XK_Alt_L, 1 },*/
{ "↲ Enter", XK_Return, 2 },
};
Buttonmod buttonmods[] = {
{ XK_Shift_L, Button2 },
{ XK_Alt_L, Button3 },
};
#define OVERLAYS 1
static Key overlay[OVERLAYS] = {
{ 0, XK_Cancel },
};
#define LAYERS 2
static char* layer_names[LAYERS] = {
"en",
"symbols",
};
static Key* available_layers[LAYERS] = {
keys_en,
keys_symbols,
};

View File

@ -1,85 +0,0 @@
#define KEYS 63
static Key keys_ru[] = {
{ "ёЁ", 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 },
};
Buttonmod buttonmods[] = {
{ XK_Shift_L, Button2 },
{ XK_Alt_L, Button3 },
};
#define OVERLAYS 1
static Key overlay[OVERLAYS] = {
{ 0, XK_Cancel },
};
#define LAYERS 1
static char* layer_names[LAYERS] = {
"ru",
};
static Key* available_layers[LAYERS] = {
keys_ru,
};

View File

@ -1,88 +0,0 @@
#define KEYS 66
static Key keys_sh[] = {
{ "`~", 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 },
};
Buttonmod buttonmods[] = {
{ XK_Shift_L, Button2 },
{ XK_Alt_L, Button3 },
};
#define OVERLAYS 1
static Key overlay[OVERLAYS] = {
{ 0, XK_Cancel },
};
#define LAYERS 1
static char* layer_names[LAYERS] = {
"sh",
};
static Key* available_layers[LAYERS] = {
keys_sh,
};