diff options
author | yulei <yuleiz@gmail.com> | 2020-01-08 16:11:45 +0800 |
---|---|---|
committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-01-08 00:11:45 -0800 |
commit | fe860131dd60e38d95e12da3d5ecaf22f82aa344 (patch) | |
tree | c7a30be7fd784574f8d25405bfdddbb5b4724499 /keyboards/exclusive/e6_rgb/keymaps | |
parent | 4a09679d740a68ba0cf3020cdaf4d010bd2beca5 (diff) |
[Keyboard] fixed hhkb keymap issue on e6_rgb (#7684)
* fixed hhkb keymap issue and added allleds configuration
* fixed layout mismatch
* add more matrix control
* remove redundent define in rules.mk
* turn NKRO on
* remove allled macro, adding readme in allleds mode, add via support
* add two more layers for via
* update readme file
* Update keyboards/exclusive/e6_rgb/keymaps/allleds/readme
* Update keyboards/exclusive/e6_rgb/keymaps/allleds/readme.md
Diffstat (limited to 'keyboards/exclusive/e6_rgb/keymaps')
-rw-r--r-- | keyboards/exclusive/e6_rgb/keymaps/allleds/keymap.c | 16 | ||||
-rw-r--r-- | keyboards/exclusive/e6_rgb/keymaps/allleds/readme.md | 13 | ||||
-rw-r--r-- | keyboards/exclusive/e6_rgb/keymaps/allleds/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/exclusive/e6_rgb/keymaps/via/keymap.c | 28 | ||||
-rw-r--r-- | keyboards/exclusive/e6_rgb/keymaps/via/rules.mk | 1 |
5 files changed, 59 insertions, 0 deletions
diff --git a/keyboards/exclusive/e6_rgb/keymaps/allleds/keymap.c b/keyboards/exclusive/e6_rgb/keymaps/allleds/keymap.c new file mode 100644 index 0000000000..d9a7885eb8 --- /dev/null +++ b/keyboards/exclusive/e6_rgb/keymaps/allleds/keymap.c @@ -0,0 +1,16 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_60_wkl_split_bs( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,KC_EQL, KC_BSLS, KC_GRV,\ + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC,KC_RBRC,KC_BSPC,\ + KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT,\ + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, KC_END,\ + KC_CAPS, KC_LGUI, KC_LALT, LT(1,KC_SPC), KC_RALT, TG(1), KC_RCTL), + [1] = LAYOUT_60_wkl_split_bs( + _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,_______,KC_PSCR,\ + RESET, RGB_TOG,RGB_MOD,_______,_______,_______,_______,_______,_______,_______,_______,KC_PGUP,KC_PGDN,_______,\ + _______, _______,_______,_______,_______,_______,KC_LEFT,KC_DOWN,KC_UP,KC_RIGHT,_______,_______,_______,\ + _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,\ + _______,_______,_______, _______, _______,TG(0),_______), +}; diff --git a/keyboards/exclusive/e6_rgb/keymaps/allleds/readme.md b/keyboards/exclusive/e6_rgb/keymaps/allleds/readme.md new file mode 100644 index 0000000000..f9d6b26522 --- /dev/null +++ b/keyboards/exclusive/e6_rgb/keymaps/allleds/readme.md @@ -0,0 +1,13 @@ +This keymap turns RGB underglow and per-key RGB ON at the same time. + +While this is the case: + +RGB_TOG, RGB_MOD, etc to control the RGB underglow + +F13-F17 were used to control the per key RGB + +- F13 to turn the RGB on/off +- F14 to change the effect mode +- F15 to increase the HUE +- F16 to increase the SAT +- F17 to increase the VAL diff --git a/keyboards/exclusive/e6_rgb/keymaps/allleds/rules.mk b/keyboards/exclusive/e6_rgb/keymaps/allleds/rules.mk new file mode 100644 index 0000000000..f8610f7e28 --- /dev/null +++ b/keyboards/exclusive/e6_rgb/keymaps/allleds/rules.mk @@ -0,0 +1 @@ +RGB_MATRIX_ENABLE = IS31FL3733# Use RGB matrix diff --git a/keyboards/exclusive/e6_rgb/keymaps/via/keymap.c b/keyboards/exclusive/e6_rgb/keymaps/via/keymap.c new file mode 100644 index 0000000000..39d7a74c4c --- /dev/null +++ b/keyboards/exclusive/e6_rgb/keymaps/via/keymap.c @@ -0,0 +1,28 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_60_wkl_split_bs( + KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,KC_EQL, KC_BSLS, KC_GRV,\ + KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC,KC_RBRC,KC_BSPC,\ + KC_LCTRL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, KC_ENT,\ + KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, KC_END,\ + KC_CAPS, KC_LGUI, KC_LALT, LT(1,KC_SPC), KC_RALT, TG(1), KC_RCTL), + [1] = LAYOUT_60_wkl_split_bs( + _______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,_______,KC_PSCR,\ + RESET, RGB_TOG,RGB_MOD,_______,_______,_______,_______,_______,_______,_______,_______,KC_PGUP,KC_PGDN,_______,\ + _______, _______,_______,_______,_______,_______,KC_LEFT,KC_DOWN, KC_UP,KC_RIGHT,_______,_______,_______,\ + _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,\ + _______,_______,_______, _______, _______, TG(0),_______), + [2] = LAYOUT_60_wkl_split_bs( + _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,\ + _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,\ + _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,\ + _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,\ + _______,_______,_______, _______, _______,_______,_______), + [3] = LAYOUT_60_wkl_split_bs( + _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,\ + _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,\ + _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,\ + _______, _______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,_______,\ + _______,_______,_______, _______, _______,_______,_______), +}; diff --git a/keyboards/exclusive/e6_rgb/keymaps/via/rules.mk b/keyboards/exclusive/e6_rgb/keymaps/via/rules.mk new file mode 100644 index 0000000000..1e5b99807c --- /dev/null +++ b/keyboards/exclusive/e6_rgb/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes |