diff options
author | kuchosauronad0 <22005492+kuchosauronad0@users.noreply.github.com> | 2019-10-29 23:59:44 -0700 |
---|---|---|
committer | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2019-10-29 23:59:44 -0700 |
commit | f183af14adbdea0789bf85bda46b81139e4524a8 (patch) | |
tree | 22786562c5c5834058e88cf9dba538caa17326ba | |
parent | 455a0c597854b417c4dc02a462433043bddfa830 (diff) |
[Keymap] Update keymap for kuchosauronad0 (#6902)
* Add RGB
* Add Plover layer
-rw-r--r-- | keyboards/c39/keymaps/kuchosauronad0/config.h | 24 | ||||
-rw-r--r-- | keyboards/c39/keymaps/kuchosauronad0/keymap.c | 64 | ||||
-rw-r--r-- | keyboards/c39/keymaps/kuchosauronad0/readme.md | 9 | ||||
-rw-r--r-- | keyboards/c39/keymaps/kuchosauronad0/rules.mk | 12 |
4 files changed, 56 insertions, 53 deletions
diff --git a/keyboards/c39/keymaps/kuchosauronad0/config.h b/keyboards/c39/keymaps/kuchosauronad0/config.h index c214ddb750..cf0726e2bb 100644 --- a/keyboards/c39/keymaps/kuchosauronad0/config.h +++ b/keyboards/c39/keymaps/kuchosauronad0/config.h @@ -28,16 +28,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT)) \ ) -//#ifdef RGBLIGHT_ENABLE -//#define RGB_DI_PIN D3 -//#define RGBLED_NUM 16 // Number of LEDs -//#define RGBLED_SPLIT { 8, 8 } -// -//#define RGBLIGHT_HUE_STEP 12 -//#define RGBLIGHT_SAT_STEP 12 -//#define RGBLIGHT_VAL_STEP 12 -//#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2 -//#define RGBLIGHT_EFFECT_SNAKE_LENGTH 2 -//#define RGBLIGHT_EFFECT_BREATHE_CENTER 1 -//#endif // RGBLIGHT_ENABLE +#ifdef RGBLIGHT_ENABLE +# define RGB_DI_PIN D0 +# define RGBLED_NUM 4 +#endif // !RGBLIGHT_ENABLE + +/* +#ifdef AUDIO_ENABLE +# Timer 1: #define B5_AUDIO #define B6_AUDIO #define B7_AUDIO +# Timer 3: #define C4_AUDIO #define C5_AUDIO #define C6_AUDIO +//TODO: only D0 and D1 available +#endif // !AUDIO_ENABLE +*/ diff --git a/keyboards/c39/keymaps/kuchosauronad0/keymap.c b/keyboards/c39/keymaps/kuchosauronad0/keymap.c index 738408cc3e..231e3cf44d 100644 --- a/keyboards/c39/keymaps/kuchosauronad0/keymap.c +++ b/keyboards/c39/keymaps/kuchosauronad0/keymap.c @@ -22,14 +22,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include QMK_KEYBOARD_H #include "kuchosauronad0.h" -#ifdef INDICATOR_LIGHTS -extern userspace_config_t userspace_config; +#ifdef RGBLIGHT_ENABLE + extern rgblight_config_t rgblight_config; +#endif -uint8_t last_mod; -uint8_t last_led; -uint8_t last_osm; +#ifdef INDICATOR_LIGHTS + extern userspace_config_t userspace_config; + uint8_t last_mod; + uint8_t last_led; + uint8_t last_osm; #endif + #define LAYOUT_collide39_base( \ K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \ K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \ @@ -40,7 +44,16 @@ uint8_t last_osm; SFT_T(KC_ESC), K11, K12, K13, K14, K15, LT(LOWER,KC_PGDN), K16, K17, K18, K19, K1A, SFT_T(KC_ENT), \ MT(MOD_LCTL,KC_DEL), K21, K22, K23, K24, K25, KC_SPACE, K26, K27, K28, K29, K2A, KC_LEAD \ ) -#define LAYOUT_collide39_base_wrapper(...) LAYOUT_collide39_base(__VA_ARGS__) + +/* + * ,------. ,----------------------------------------------------------------------------. ,------. + * |ALTTAB| | Q | W | E | R | T |RSE/PU| Y | U | I | O | P | | BSPC | + * |------| |------+------+------+------+------+------+------+------+------+------+------+ |------| + * |SF/ESC| | A | S | D | F | G |LWR/PD| H | J | K | L | ; | | ENTER| + * |------| |------+------+------+------+------+------+------+------+------+------+------+ |------| + * |CTLDEL| | Z | X | C | V | B |SPACE | N | M | , | . | / | |LEADER| + * `------' `----------------------------------------------------------------------------' `------' + */ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { @@ -70,39 +83,20 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), #endif [_WORKMAN] = LAYOUT_collide39_base_wrapper( - _________________WORKMAN_L1________________, _________________WORKMAN_R1________________, - _________________WORKMAN_L2________________, _________________WORKMAN_R2________________, - _________________WORKMAN_L3________________, _________________WORKMAN_R3________________ - ), - - [_NORMAN] = LAYOUT_collide39_base_wrapper( - _________________NORMAN_L1_________________, _________________NORMAN_L1_________________, - _________________NORMAN_L2_________________, _________________NORMAN_R2_________________, - _________________NORMAN_L3_________________, _________________NORMAN_R3_________________ - ), - - [_MALTRON] = LAYOUT_collide39_base_wrapper( - _________________MALTRON_L1________________, _________________MALTRON_R1________________, - _________________MALTRON_L2________________, _________________MALTRON_R2________________, - _________________MALTRON_L3________________, _________________MALTRON_R3________________ + _________________RGB_UP____________________, _________________RGB_UP____________________, + _________________RGB_CENTER________________, _________________RGB_CENTER________________, + _________________RGB_DOWN__________________, _________________RGB_DOWN__________________ ), - [_EUCALYN] = LAYOUT_collide39_base_wrapper( - _________________EUCALYN_L1________________, _________________EUCALYN_R1________________, - _________________EUCALYN_L2________________, _________________EUCALYN_R2________________, - _________________EUCALYN_L3________________, _________________EUCALYN_R3________________ + [_PLOVER] = LAYOUT_wrapper(\ + KC_1, _________________PLOVER_L1_________________, _______, _________________PLOVER_R1_________________, KC_1, + KC_NO, _________________PLOVER_L2_________________, _______, _________________PLOVER_R2_________________, KC_NO, + KC_NO, _________________PLOVER_L3_________________, _______, _________________PLOVER_R3_________________, _______ ), - [_CARPLAX] = LAYOUT_collide39_base_wrapper( - _____________CARPLAX_QFMLWY_L1_____________, _____________CARPLAX_QFMLWY_R1_____________, - _____________CARPLAX_QFMLWY_L2_____________, _____________CARPLAX_QFMLWY_R2_____________, - _____________CARPLAX_QFMLWY_L3_____________, _____________CARPLAX_QFMLWY_R3_____________ - ), - - [_MODS] = LAYOUT_wrapper(\ - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, - _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, + KC_LALT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RALT, + KC_LCTL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RCTL, KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ ), @@ -121,7 +115,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { [_ADJUST] = LAYOUT_wrapper(\ KC_MAKE, _________________ADJUST_L1_________________, _______, _________________ADJUST_R1_________________, KC_RESET, VRSN, _________________ADJUST_L2_________________, _______, _________________ADJUST_R2_________________, EEP_RST, - TG_MODS, _________________ADJUST_L3_________________, _______, _________________ADJUST_R3_________________, KC_MPLY + DEBUG, _________________ADJUST_L3_________________, _______, _________________ADJUST_R3_________________, _______ ) }; diff --git a/keyboards/c39/keymaps/kuchosauronad0/readme.md b/keyboards/c39/keymaps/kuchosauronad0/readme.md index 60b971e4eb..ff01fb5ffa 100644 --- a/keyboards/c39/keymaps/kuchosauronad0/readme.md +++ b/keyboards/c39/keymaps/kuchosauronad0/readme.md @@ -1 +1,10 @@ # Personal keymap for the collide39 + +## Features: + +- leader key +- combos +- tap dance +- rgb backlight for the space key using a chameleon 4x WS28xx leds + +# diff --git a/keyboards/c39/keymaps/kuchosauronad0/rules.mk b/keyboards/c39/keymaps/kuchosauronad0/rules.mk index e2be2e5acc..ac7c77dd46 100644 --- a/keyboards/c39/keymaps/kuchosauronad0/rules.mk +++ b/keyboards/c39/keymaps/kuchosauronad0/rules.mk @@ -2,19 +2,19 @@ BOOTLOADER = caterina BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) MOUSEKEY_ENABLE = no # Mouse keys(+4700) EXTRAKEY_ENABLE = yes # Audio control and System control(+450) -CONSOLE_ENABLE = no # Console for debug(+400) +CONSOLE_ENABLE = no # Console for debug(+400) COMMAND_ENABLE = no # Commands for debug and configuration LEADER_ENABLE = yes # default is yes TAP_DANCE_ENABLE = no #(+1254) +COMBO_ENABLE = yes UNICODE_ENABLE = no #(+1134) UNICODEMAP_ENABLE = yes -RGBLIGHT_ENABLE = no +RGBLIGHT_ENABLE = yes AUDIO_ENABLE = no NKRO_ENABLE = yes -INDICATOR_LIGHTS = no +INDICATOR_LIGHTS = yes MACROS_ENABLED = no -RGBLIGHT_TWINKLE = no -RGBLIGHT_STARTUP_ANIMATION = no +RGBLIGHT_STARTUP_ANIMATION = yes -NO_SECRETS = yes +NO_SECRETS = no |