From fe860131dd60e38d95e12da3d5ecaf22f82aa344 Mon Sep 17 00:00:00 2001 From: yulei Date: Wed, 8 Jan 2020 16:11:45 +0800 Subject: [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 --- keyboards/exclusive/e6_rgb/keymaps/allleds/keymap.c | 16 ++++++++++++++++ keyboards/exclusive/e6_rgb/keymaps/allleds/readme.md | 13 +++++++++++++ keyboards/exclusive/e6_rgb/keymaps/allleds/rules.mk | 1 + 3 files changed, 30 insertions(+) create mode 100644 keyboards/exclusive/e6_rgb/keymaps/allleds/keymap.c create mode 100644 keyboards/exclusive/e6_rgb/keymaps/allleds/readme.md create mode 100644 keyboards/exclusive/e6_rgb/keymaps/allleds/rules.mk (limited to 'keyboards/exclusive/e6_rgb/keymaps/allleds') 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 -- cgit v1.2.1