diff options
author | knolax <1339802534.kk@gmail.com> | 2017-12-28 23:23:54 -0500 |
---|---|---|
committer | knolax <1339802534.kk@gmail.com> | 2017-12-28 23:23:54 -0500 |
commit | 900a63785689906491efce19e5c348ab0bc2db30 (patch) | |
tree | a6463a7f6d8eb56cbbc01eec19fd94b1dfe990e4 | |
parent | 69928cf307b64887f791597df3a0c6b1261dcc27 (diff) |
finished the keymap
-rw-r--r-- | keymap.h | 26 |
1 files changed, 19 insertions, 7 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_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, 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} + }, + { + {KEY_ESC, KEY_TAB, BTN_LEFT, KEY_PAGEUP, BTN_RIGHT, BTN_MIDDLE, MS_SCRL_UP, KEY_INSERT, KEY_DELETE, KEY_BACKSPACE}, + {KEY_CAPSLOCK, KEY_SHIFT, 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} } }; |