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) | |
download | qmk_firmware-f183af14adbdea0789bf85bda46b81139e4524a8.tar.gz qmk_firmware-f183af14adbdea0789bf85bda46b81139e4524a8.zip |
[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 c214ddb75..cf0726e2b 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/>. | |||
28 | get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT)) \ | 28 | get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT)) \ |
29 | ) | 29 | ) |
30 | 30 | ||
31 | //#ifdef RGBLIGHT_ENABLE | 31 | #ifdef RGBLIGHT_ENABLE |
32 | //#define RGB_DI_PIN D3 | 32 | # define RGB_DI_PIN D0 |
33 | //#define RGBLED_NUM 16 // Number of LEDs | 33 | # define RGBLED_NUM 4 |
34 | //#define RGBLED_SPLIT { 8, 8 } | 34 | #endif // !RGBLIGHT_ENABLE |
35 | // | 35 | |
36 | //#define RGBLIGHT_HUE_STEP 12 | 36 | /* |
37 | //#define RGBLIGHT_SAT_STEP 12 | 37 | #ifdef AUDIO_ENABLE |
38 | //#define RGBLIGHT_VAL_STEP 12 | 38 | # Timer 1: #define B5_AUDIO #define B6_AUDIO #define B7_AUDIO |
39 | //#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2 | 39 | # Timer 3: #define C4_AUDIO #define C5_AUDIO #define C6_AUDIO |
40 | //#define RGBLIGHT_EFFECT_SNAKE_LENGTH 2 | 40 | //TODO: only D0 and D1 available |
41 | //#define RGBLIGHT_EFFECT_BREATHE_CENTER 1 | 41 | #endif // !AUDIO_ENABLE |
42 | //#endif // RGBLIGHT_ENABLE | 42 | */ |
43 | 43 | ||
diff --git a/keyboards/c39/keymaps/kuchosauronad0/keymap.c b/keyboards/c39/keymaps/kuchosauronad0/keymap.c index 738408cc3..231e3cf44 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/>. | |||
22 | #include QMK_KEYBOARD_H | 22 | #include QMK_KEYBOARD_H |
23 | #include "kuchosauronad0.h" | 23 | #include "kuchosauronad0.h" |
24 | 24 | ||
25 | #ifdef INDICATOR_LIGHTS | 25 | #ifdef RGBLIGHT_ENABLE |
26 | extern userspace_config_t userspace_config; | 26 | extern rgblight_config_t rgblight_config; |
27 | #endif | ||
27 | 28 | ||
28 | uint8_t last_mod; | 29 | #ifdef INDICATOR_LIGHTS |
29 | uint8_t last_led; | 30 | extern userspace_config_t userspace_config; |
30 | uint8_t last_osm; | 31 | uint8_t last_mod; |
32 | uint8_t last_led; | ||
33 | uint8_t last_osm; | ||
31 | #endif | 34 | #endif |
32 | 35 | ||
36 | |||
33 | #define LAYOUT_collide39_base( \ | 37 | #define LAYOUT_collide39_base( \ |
34 | K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \ | 38 | K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \ |
35 | K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \ | 39 | K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \ |
@@ -40,7 +44,16 @@ uint8_t last_osm; | |||
40 | SFT_T(KC_ESC), K11, K12, K13, K14, K15, LT(LOWER,KC_PGDN), K16, K17, K18, K19, K1A, SFT_T(KC_ENT), \ | 44 | SFT_T(KC_ESC), K11, K12, K13, K14, K15, LT(LOWER,KC_PGDN), K16, K17, K18, K19, K1A, SFT_T(KC_ENT), \ |
41 | MT(MOD_LCTL,KC_DEL), K21, K22, K23, K24, K25, KC_SPACE, K26, K27, K28, K29, K2A, KC_LEAD \ | 45 | MT(MOD_LCTL,KC_DEL), K21, K22, K23, K24, K25, KC_SPACE, K26, K27, K28, K29, K2A, KC_LEAD \ |
42 | ) | 46 | ) |
43 | #define LAYOUT_collide39_base_wrapper(...) LAYOUT_collide39_base(__VA_ARGS__) | 47 | |
48 | /* | ||
49 | * ,------. ,----------------------------------------------------------------------------. ,------. | ||
50 | * |ALTTAB| | Q | W | E | R | T |RSE/PU| Y | U | I | O | P | | BSPC | | ||
51 | * |------| |------+------+------+------+------+------+------+------+------+------+------+ |------| | ||
52 | * |SF/ESC| | A | S | D | F | G |LWR/PD| H | J | K | L | ; | | ENTER| | ||
53 | * |------| |------+------+------+------+------+------+------+------+------+------+------+ |------| | ||
54 | * |CTLDEL| | Z | X | C | V | B |SPACE | N | M | , | . | / | |LEADER| | ||
55 | * `------' `----------------------------------------------------------------------------' `------' | ||
56 | */ | ||
44 | 57 | ||
45 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 58 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
46 | 59 | ||
@@ -70,39 +83,20 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
70 | ), | 83 | ), |
71 | #endif | 84 | #endif |
72 | [_WORKMAN] = LAYOUT_collide39_base_wrapper( | 85 | [_WORKMAN] = LAYOUT_collide39_base_wrapper( |
73 | _________________WORKMAN_L1________________, _________________WORKMAN_R1________________, | 86 | _________________RGB_UP____________________, _________________RGB_UP____________________, |
74 | _________________WORKMAN_L2________________, _________________WORKMAN_R2________________, | 87 | _________________RGB_CENTER________________, _________________RGB_CENTER________________, |
75 | _________________WORKMAN_L3________________, _________________WORKMAN_R3________________ | 88 | _________________RGB_DOWN__________________, _________________RGB_DOWN__________________ |
76 | ), | ||
77 | |||
78 | [_NORMAN] = LAYOUT_collide39_base_wrapper( | ||
79 | _________________NORMAN_L1_________________, _________________NORMAN_L1_________________, | ||
80 | _________________NORMAN_L2_________________, _________________NORMAN_R2_________________, | ||
81 | _________________NORMAN_L3_________________, _________________NORMAN_R3_________________ | ||
82 | ), | ||
83 | |||
84 | [_MALTRON] = LAYOUT_collide39_base_wrapper( | ||
85 | _________________MALTRON_L1________________, _________________MALTRON_R1________________, | ||
86 | _________________MALTRON_L2________________, _________________MALTRON_R2________________, | ||
87 | _________________MALTRON_L3________________, _________________MALTRON_R3________________ | ||
88 | ), | 89 | ), |
89 | 90 | ||
90 | [_EUCALYN] = LAYOUT_collide39_base_wrapper( | 91 | [_PLOVER] = LAYOUT_wrapper(\ |
91 | _________________EUCALYN_L1________________, _________________EUCALYN_R1________________, | 92 | KC_1, _________________PLOVER_L1_________________, _______, _________________PLOVER_R1_________________, KC_1, |
92 | _________________EUCALYN_L2________________, _________________EUCALYN_R2________________, | 93 | KC_NO, _________________PLOVER_L2_________________, _______, _________________PLOVER_R2_________________, KC_NO, |
93 | _________________EUCALYN_L3________________, _________________EUCALYN_R3________________ | 94 | KC_NO, _________________PLOVER_L3_________________, _______, _________________PLOVER_R3_________________, _______ |
94 | ), | 95 | ), |
95 | 96 | ||
96 | [_CARPLAX] = LAYOUT_collide39_base_wrapper( | ||
97 | _____________CARPLAX_QFMLWY_L1_____________, _____________CARPLAX_QFMLWY_R1_____________, | ||
98 | _____________CARPLAX_QFMLWY_L2_____________, _____________CARPLAX_QFMLWY_R2_____________, | ||
99 | _____________CARPLAX_QFMLWY_L3_____________, _____________CARPLAX_QFMLWY_R3_____________ | ||
100 | ), | ||
101 | |||
102 | |||
103 | [_MODS] = LAYOUT_wrapper(\ | 97 | [_MODS] = LAYOUT_wrapper(\ |
104 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | 98 | KC_LALT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RALT, |
105 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | 99 | KC_LCTL, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_RCTL, |
106 | KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | 100 | KC_LSFT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
107 | ), | 101 | ), |
108 | 102 | ||
@@ -121,7 +115,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
121 | [_ADJUST] = LAYOUT_wrapper(\ | 115 | [_ADJUST] = LAYOUT_wrapper(\ |
122 | KC_MAKE, _________________ADJUST_L1_________________, _______, _________________ADJUST_R1_________________, KC_RESET, | 116 | KC_MAKE, _________________ADJUST_L1_________________, _______, _________________ADJUST_R1_________________, KC_RESET, |
123 | VRSN, _________________ADJUST_L2_________________, _______, _________________ADJUST_R2_________________, EEP_RST, | 117 | VRSN, _________________ADJUST_L2_________________, _______, _________________ADJUST_R2_________________, EEP_RST, |
124 | TG_MODS, _________________ADJUST_L3_________________, _______, _________________ADJUST_R3_________________, KC_MPLY | 118 | DEBUG, _________________ADJUST_L3_________________, _______, _________________ADJUST_R3_________________, _______ |
125 | ) | 119 | ) |
126 | 120 | ||
127 | }; | 121 | }; |
diff --git a/keyboards/c39/keymaps/kuchosauronad0/readme.md b/keyboards/c39/keymaps/kuchosauronad0/readme.md index 60b971e4e..ff01fb5ff 100644 --- a/keyboards/c39/keymaps/kuchosauronad0/readme.md +++ b/keyboards/c39/keymaps/kuchosauronad0/readme.md | |||
@@ -1 +1,10 @@ | |||
1 | # Personal keymap for the collide39 | 1 | # Personal keymap for the collide39 |
2 | |||
3 | ## Features: | ||
4 | |||
5 | - leader key | ||
6 | - combos | ||
7 | - tap dance | ||
8 | - rgb backlight for the space key using a chameleon 4x WS28xx leds | ||
9 | |||
10 | # | ||
diff --git a/keyboards/c39/keymaps/kuchosauronad0/rules.mk b/keyboards/c39/keymaps/kuchosauronad0/rules.mk index e2be2e5ac..ac7c77dd4 100644 --- a/keyboards/c39/keymaps/kuchosauronad0/rules.mk +++ b/keyboards/c39/keymaps/kuchosauronad0/rules.mk | |||
@@ -2,19 +2,19 @@ BOOTLOADER = caterina | |||
2 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | 2 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) |
3 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | 3 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) |
4 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 4 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
5 | CONSOLE_ENABLE = no # Console for debug(+400) | 5 | CONSOLE_ENABLE = no # Console for debug(+400) |
6 | COMMAND_ENABLE = no # Commands for debug and configuration | 6 | COMMAND_ENABLE = no # Commands for debug and configuration |
7 | LEADER_ENABLE = yes # default is yes | 7 | LEADER_ENABLE = yes # default is yes |
8 | TAP_DANCE_ENABLE = no #(+1254) | 8 | TAP_DANCE_ENABLE = no #(+1254) |
9 | COMBO_ENABLE = yes | ||
9 | UNICODE_ENABLE = no #(+1134) | 10 | UNICODE_ENABLE = no #(+1134) |
10 | UNICODEMAP_ENABLE = yes | 11 | UNICODEMAP_ENABLE = yes |
11 | RGBLIGHT_ENABLE = no | 12 | RGBLIGHT_ENABLE = yes |
12 | AUDIO_ENABLE = no | 13 | AUDIO_ENABLE = no |
13 | NKRO_ENABLE = yes | 14 | NKRO_ENABLE = yes |
14 | 15 | ||
15 | INDICATOR_LIGHTS = no | 16 | INDICATOR_LIGHTS = yes |
16 | MACROS_ENABLED = no | 17 | MACROS_ENABLED = no |
17 | RGBLIGHT_TWINKLE = no | 18 | RGBLIGHT_STARTUP_ANIMATION = yes |
18 | RGBLIGHT_STARTUP_ANIMATION = no | ||
19 | 19 | ||
20 | NO_SECRETS = yes | 20 | NO_SECRETS = no |