summaryrefslogtreecommitdiff
path: root/4x5
diff options
context:
space:
mode:
Diffstat (limited to '4x5')
-rw-r--r--4x5/config.h7
-rw-r--r--4x5/keymaps/colemak_mod_dh/keymap.c20
-rw-r--r--4x5/rules.mk5
3 files changed, 17 insertions, 15 deletions
diff --git a/4x5/config.h b/4x5/config.h
index 1893ae1..5dd35ca 100644
--- a/4x5/config.h
+++ b/4x5/config.h
@@ -48,8 +48,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
//#define MATRIX_HAS_GHOST
/* WS2812 RGB LED strip input and number of LEDs */
-// #define RGB_DI_PIN D3
-// #define RGBLED_NUM 12
+#define RGB_DI_PIN D1
+#define RGBLIGHT_ANIMATIONS
+#define RGBLED_NUM 6
+#define RGBLIGHT_SPLIT
+#define RGBLED_SPLIT {3, 3}
/* number of backlight levels */
// #define BACKLIGHT_LEVELS 3
diff --git a/4x5/keymaps/colemak_mod_dh/keymap.c b/4x5/keymaps/colemak_mod_dh/keymap.c
index 93a9cbb..0e92543 100644
--- a/4x5/keymaps/colemak_mod_dh/keymap.c
+++ b/4x5/keymaps/colemak_mod_dh/keymap.c
@@ -29,29 +29,29 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Raise
* ,----------------------------------, ,----------------------------------,
- * | | PgUp | up | PgDn | | | | VOL+ | mup | VOL- | |
+ * | | PgUp | up | PgDn | | | | | mup | MUTE | VOL+ |
* |------+------+------+------+------| |-------------+------+------+------|
- * |S(INS)| left | down | right| F11 | | F12 |mleft |mdown |mright| MUTE |
+ * |S(INS)| left | down | right| F11 | | F12 |mleft |mdown |mright| VOL- |
* |------+------+------+------+------| |------+------+------+------+------|
* | F1 | F2 | F3 | F4 | F5 | | F6 | F7 | F8 | F9 | F10 |
* |------+------+------+-------------, ,-------------+------+------+------,
* | | RESET| | mbtn |mbtn2 |
* '------+------+--------------------' '--------------------+------+------'
* | | | | | | | |
- * | | | | | | | |
+ * | | | | | HUE+ | SAT+ | VAL+ |
* | | | | | | | |
* '------+------+------| |------+------+------'
- * | | | | | |
+ * | | | |RGBMOD|RGBTOG|
* '------+------' '------+------'
*/
[_RAISE] = LAYOUT( \
- ____, KC_PGUP, KC_UP, KC_PGDN, ____, ____, KC_VOLU, KC_MU, KC_VOLD, ____, \
- S(KC_INSERT), KC_LEFT, KC_DOWN, KC_RIGHT, KC_F11, KC_F12, KC_ML, KC_MD, KC_MR, KC_MUTE, \
- KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, \
- ____, RESET, KC_MB1, KC_MB2, \
- ____, ____, ____, ____, ____, ____, \
- ____, ____, ____, ____ \
+ ____, KC_PGUP, KC_UP, KC_PGDN, ____, ____, ____, KC_MU, KC_MUTE, KC_VOLU, \
+ S(KC_INSERT), KC_LEFT, KC_DOWN, KC_RIGHT, KC_F11, KC_F12, KC_ML, KC_MD, KC_MR, KC_VOLD, \
+ KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, \
+ ____, RESET, KC_MB1, KC_MB2, \
+ ____, ____, ____, RGB_HUI, RGB_SAI, RGB_VAI, \
+ ____, ____, RGB_MOD, RGB_TOG \
),
/* Base
* ,----------------------------------, ,----------------------------------,
diff --git a/4x5/rules.mk b/4x5/rules.mk
index 7508070..89634ba 100644
--- a/4x5/rules.mk
+++ b/4x5/rules.mk
@@ -1,4 +1,3 @@
-
# Build Options
# change to "no" to disable the options, or define them in the Makefile in
# the appropriate keymap folder that will get included automatically
@@ -9,12 +8,12 @@ EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
CONSOLE_ENABLE = no # Console for debug(+400)
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
MIDI_ENABLE = no # MIDI controls
AUDIO_ENABLE = no # Audio output on port C6
UNICODE_ENABLE = no # Unicode
BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
-RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
+RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend