2020-08-02 13:46:19 +00:00
|
|
|
#define KEYS 61
|
|
|
|
static Key keys_en[] = {
|
2021-03-08 19:23:46 +00:00
|
|
|
{ "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 },
|
|
|
|
{ "⌫Bksp",0, XK_BackSpace, 2 },
|
2020-08-02 13:46:19 +00:00
|
|
|
{ 0 }, /* New row */
|
2021-03-08 19:23:46 +00:00
|
|
|
{ "->|",0, XK_Tab, 1 },
|
|
|
|
{ 0, 0, XK_q, 1 },
|
|
|
|
{ 0, 0, XK_w, 1 },
|
|
|
|
{ 0, 0, XK_e, 1 },
|
|
|
|
{ 0, 0, XK_r, 1 },
|
|
|
|
{ 0, 0, XK_t, 1 },
|
|
|
|
{ 0, 0, XK_y, 1 },
|
|
|
|
{ 0, 0, XK_u, 1 },
|
|
|
|
{ 0, 0, XK_i, 1 },
|
|
|
|
{ 0, 0, XK_o, 1 },
|
|
|
|
{ 0, 0, XK_p, 1 },
|
|
|
|
{ "[","{", XK_bracketleft, 1 },
|
|
|
|
{ "]", "}", XK_bracketright, 1 },
|
2020-08-02 13:46:19 +00:00
|
|
|
{ "Return", XK_Return, 3 },
|
|
|
|
{ 0 }, /* New row */
|
2021-03-08 19:23:46 +00:00
|
|
|
{ 0, 0, XK_Caps_Lock, 2 },
|
|
|
|
{ 0, 0, XK_a, 1 },
|
|
|
|
{ 0, 0, XK_s, 1 },
|
|
|
|
{ 0, 0, XK_d, 1 },
|
|
|
|
{ 0, 0, XK_f, 1 },
|
|
|
|
{ 0, 0, XK_g, 1 },
|
|
|
|
{ 0, 0, XK_h, 1 },
|
|
|
|
{ 0, 0, XK_j, 1 },
|
|
|
|
{ 0, 0, XK_k, 1 },
|
|
|
|
{ 0, 0, XK_l, 1 },
|
|
|
|
{ ":",";", XK_semicolon, 1 },
|
|
|
|
{ "'","\"", XK_exclam, 1 },
|
|
|
|
{ "\\", "|", XK_backslash, 1 },
|
2020-08-02 13:46:19 +00:00
|
|
|
{ 0 }, /* New row */
|
2021-03-08 19:23:46 +00:00
|
|
|
{ 0, 0, XK_Shift_L, 3 },
|
|
|
|
{ 0, 0, XK_z, 1 },
|
|
|
|
{ 0, 0, XK_x, 1 },
|
|
|
|
{ 0, 0, XK_c, 1 },
|
|
|
|
{ 0, 0, XK_v, 1 },
|
|
|
|
{ 0, 0, XK_b, 1 },
|
|
|
|
{ 0, 0, XK_n, 1 },
|
|
|
|
{ 0, 0, XK_m, 1 },
|
|
|
|
{ ",", "<", XK_colon, 1 },
|
|
|
|
{ ".", ">", XK_period, 1 },
|
|
|
|
{ "/", "?", XK_slash, 1 },
|
|
|
|
{ 0, 0, XK_Shift_R, 2 },
|
2020-08-02 13:46:19 +00:00
|
|
|
{ 0 }, /* New row */
|
2021-03-08 19:23:46 +00:00
|
|
|
{ "Ctrl",0, XK_Control_L, 2 },
|
|
|
|
{ "Alt", 0, XK_Alt_L, 2 },
|
|
|
|
{ "", 0, XK_space, 5 },
|
|
|
|
{ "Alt", 0, XK_Alt_R, 2 },
|
|
|
|
{ "Ctrl", 0, XK_Control_R, 2 },
|
2020-08-02 13:46:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
Buttonmod buttonmods[] = {
|
|
|
|
{ XK_Shift_L, Button2 },
|
|
|
|
{ XK_Alt_L, Button3 },
|
|
|
|
};
|
|
|
|
|
|
|
|
#define OVERLAYS 1
|
|
|
|
static Key overlay[OVERLAYS] = {
|
2021-03-27 16:57:32 +00:00
|
|
|
{ 0, XK_Cancel },
|
2020-08-02 13:46:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#define LAYERS 1
|
|
|
|
static char* layer_names[LAYERS] = {
|
2021-03-27 16:57:32 +00:00
|
|
|
"en",
|
2020-08-02 13:46:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static Key* available_layers[LAYERS] = {
|
2021-03-27 16:57:32 +00:00
|
|
|
keys_en,
|
2020-08-02 13:46:19 +00:00
|
|
|
};
|