Adding dvorak support.

This commit is contained in:
sergiotarxz 2021-03-06 19:36:13 +01:00
parent 80bdfb34b5
commit d57018ba51
Signed by: sergiotarxz
GPG Key ID: E5903508B6510AC2

View File

@ -1,44 +1,49 @@
#define KEYS 43
#define KEYS 48
static Key keys_en[KEYS] = {
{ "Esc", XK_Escape, 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 },
{ "'\"", XK_apostrophe, 1 },
{ ",<", XK_comma, 1 },
{ ".>", XK_period, 1 },
{ 0, XK_p, 1 },
{ 0, XK_y, 1 },
{ 0, XK_f, 1 },
{ 0, XK_g, 1 },
{ 0, XK_c, 1 },
{ 0, XK_r, 1 },
{ 0, XK_l, 1 },
{ "/?", XK_slash, 1 },
{ "", XK_BackSpace, 2 },
{ 0 }, /* New row */
{ "'\"", XK_apostrophe, 1 },
{ "Tab", XK_Tab, 1 },
{ 0, XK_Caps_Lock, 2 },
{ 0, XK_a, 1 },
{ 0, XK_s, 1 },
{ 0, XK_o, 1 },
{ 0, XK_e, 1 },
{ 0, XK_u, 1 },
{ 0, XK_i, 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 },
{ 0, XK_t, 1 },
{ 0, XK_n, 1 },
{ 0, XK_s, 1 },
{ "/?", XK_slash, 1 },
{ 0 }, /* New row */
{ "123", XK_Mode_switch, 1 },
{ 0, XK_z, 1 },
{ ":;", XK_colon, 1 },
{ 0, XK_q, 1 },
{ 0, XK_j, 1 },
{ 0, XK_k, 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 },
{ "Tab", XK_Tab, 1 },
{ "⌫Bksp", XK_BackSpace, 2 },
{ 0, XK_W, 1 },
{ 0, XK_v, 1 },
{ 0, XK_z, 1 },
{ 0 }, /* New row */
{ "", XK_Cancel, 1},