diff options
author | knolax <1339802534.kk@gmail.com> | 2017-12-29 15:56:20 -0500 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2017-12-29 15:56:20 -0500 |
commit | fc6de0f7971082c2a7d1edd69e45fbe4eb2f7414 (patch) | |
tree | 59d6d88a917ef2531c8e6e1e78ef5590520054d0 /keymap.h | |
parent | 1e83a1e789b55e829f9cfe0f90ee8b50c07c3e31 (diff) | |
parent | 42dd37ade1869064b3404ec8e62ca52c8e323985 (diff) |
Merge branch 'reverse' of https://github.com/knolax/skey into reverse
oops, forgot to push this
Diffstat (limited to 'keymap.h')
-rw-r--r-- | keymap.h | 32 |
1 files changed, 22 insertions, 10 deletions
@@ -3,20 +3,32 @@ #define KEY_NUMBERMAP 25341 #define KEY_SPECIALMAP 133981 #define KEY_STICKYMAP 133982 -unsigned long skey_keymap[3][3][10] = { +#define KEY_MS_2ND 133983 +#define MS_UP 133984 +#define MS_LEFT 133985 +#define MS_RIGHT 133986 +#define MS_DOWN 133987 +#define MS_SCRL_UP 133988 +#define MS_SCRL_DOWN 133989 +unsigned long skey_keymap[4][3][10] = { { - {KEY_Q, KEY_W, KEY_E, KEY_R, KEY_T, KEY_Y, KEY_U, KEY_I, KEY_O, KEY_P}, - {KEY_A, KEY_S, KEY_D, KEY_F, KEY_G, KEY_H, KEY_J, KEY_K, KEY_L, KEY_STICKYMAP}, - {KEY_Z, KEY_X, KEY_C, KEY_V, KEY_B, KEY_N, KEY_M, KEY_ALPHAMAP, KEY_NUMBERMAP, KEY_SPECIALMAP} + {KEY_Q, KEY_W, KEY_E, KEY_R, KEY_T, KEY_Y, KEY_U, KEY_I, KEY_O, KEY_P}, + {KEY_A, KEY_S, KEY_D, KEY_F, KEY_G, KEY_H, KEY_J, KEY_K, KEY_L, KEY_STICKYMAP}, + {KEY_Z, KEY_X, KEY_C, KEY_V, KEY_B, KEY_N, KEY_M, KEY_ALPHAMAP, KEY_NUMBERMAP, KEY_SPECIALMAP} }, { - {KEY_Q, KEY_W, KEY_E, KEY_R, KEY_T, KEY_Y, KEY_U, KEY_I, KEY_O, KEY_P}, - {KEY_A, KEY_S, KEY_D, KEY_F, KEY_G, KEY_H, KEY_J, KEY_K, KEY_L, KEY_STICKYMAP}, - {KEY_Z, KEY_X, KEY_C, KEY_V, KEY_B, KEY_N, KEY_M, KEY_ALPHAMAP, KEY_NUMBERMAP, KEY_SPECIALMAP} + {KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_0}, + {KEY_GRAVE, KEY_LEFTSHIFT, KEY_SEMICOLON, KEY_APOSTROPHE, KEY_LEFTBRACE, KEY_RIGHTBRACE, KEY_BACKSLASH, KEY_MINUS, KEY_EQUAL, KEY_STICKYMAP}, + {KEY_LEFTCTRL, KEY_LEFTMETA, KEY_LEFTALT, KEY_SPACE, KEY_COMMA, KEY_DOT, KEY_SLASH, KEY_ALPHAMAP, KEY_NUMBERMAP, KEY_SPECIALMAP} }, { - {KEY_Q, KEY_W, KEY_E, KEY_R, KEY_T, KEY_Y, KEY_U, KEY_I, KEY_O, KEY_P}, - {KEY_A, KEY_S, KEY_D, KEY_F, KEY_G, KEY_H, KEY_J, KEY_K, KEY_L, KEY_STICKYMAP}, - {KEY_Z, KEY_X, KEY_C, KEY_V, KEY_B, KEY_N, KEY_M, KEY_ALPHAMAP, KEY_NUMBERMAP, KEY_SPECIALMAP} + {KEY_ESC, KEY_TAB, BTN_LEFT, KEY_PAGEUP, BTN_RIGHT, BTN_MIDDLE, MS_SCRL_UP, KEY_INSERT, KEY_DELETE, KEY_BACKSPACE}, + {KEY_CAPSLOCK, KEY_LEFTSHIFT, KEY_HOME, KEY_PAGEDOWN, KEY_END, KEY_UP, MS_SCRL_DOWN, KEY_MS_2ND, KEY_ENTER, KEY_STICKYMAP}, + {KEY_LEFTCTRL, KEY_LEFTMETA, KEY_LEFTALT, KEY_SPACE, KEY_LEFT, KEY_DOWN, KEY_RIGHT, KEY_ALPHAMAP, KEY_NUMBERMAP, KEY_SPECIALMAP} + }, + { + {KEY_ESC, KEY_TAB, BTN_LEFT, MS_UP, BTN_RIGHT, BTN_MIDDLE, MS_SCRL_UP, KEY_INSERT, KEY_DELETE, KEY_BACKSPACE}, + {KEY_CAPSLOCK, KEY_LEFTSHIFT, MS_LEFT, MS_DOWN, MS_RIGHT, KEY_UP, MS_SCRL_DOWN, KEY_MS_2ND, KEY_ENTER, KEY_STICKYMAP}, + {KEY_LEFTCTRL, KEY_LEFTMETA, KEY_LEFTALT, KEY_SPACE, KEY_LEFT, KEY_DOWN, KEY_RIGHT, KEY_ALPHAMAP, KEY_NUMBERMAP, KEY_SPECIALMAP} } }; |