summaryrefslogtreecommitdiff
path: root/keyboards/helix/rev2/keymaps/yshrsmz/keymap.c
diff options
context:
space:
mode:
authorMakotoKurauchi <pluis@me.com>2018-10-11 04:53:18 +0900
committerDrashna Jaelre <drashna@live.com>2018-10-10 12:53:18 -0700
commit79bff502471d8fd534e9266954a184aa0f7d55c3 (patch)
tree6451e2c3d54435676c9bbd0737cadd4f093ccad3 /keyboards/helix/rev2/keymaps/yshrsmz/keymap.c
parentab91e07753720f8114d6c427139a1436e6efa3ce (diff)
Keymaps: Helix rgblight mode update (#4091)
* Helix each keymap's using rgblight mode symbol instead magic number No change in build result. * Helix pico keymaps: make rgblight modes selectable. No change in build result. * Helix rev2 keymaps: make rgblight modes selectable. No change in build result. * fixed Helix froggy/keymap.c: invalid rgblight mode value 0 to 1 (=RGBLIGHT_MODE_STATIC_LIGHT) * Deselect RGB_TEST and ALTERNATING in Helix rev2,pico keymaps config.h.
Diffstat (limited to 'keyboards/helix/rev2/keymaps/yshrsmz/keymap.c')
-rw-r--r--keyboards/helix/rev2/keymaps/yshrsmz/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/helix/rev2/keymaps/yshrsmz/keymap.c b/keyboards/helix/rev2/keymaps/yshrsmz/keymap.c
index cce28796e6..049a864c1a 100644
--- a/keyboards/helix/rev2/keymaps/yshrsmz/keymap.c
+++ b/keyboards/helix/rev2/keymaps/yshrsmz/keymap.c
@@ -312,7 +312,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
} else {
TOG_STATUS = !TOG_STATUS;
#ifdef RGBLIGHT_ENABLE
- //rgblight_mode(16);
+ //rgblight_mode(RGBLIGHT_MODE_SNAKE + 1);
#endif
}
layer_on(_LOWER);
@@ -335,7 +335,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
} else {
TOG_STATUS = !TOG_STATUS;
#ifdef RGBLIGHT_ENABLE
- //rgblight_mode(15);
+ //rgblight_mode(RGBLIGHT_MODE_SNAKE);
#endif
}
layer_on(_RAISE);
@@ -450,7 +450,7 @@ void music_scale_user(void)
// hook point for 'led_test' keymap
// 'default' keymap's led_test_init() is empty function, do nothing
-// 'led_test' keymap's led_test_init() force rgblight_mode_noeeprom(35);
+// 'led_test' keymap's led_test_init() force rgblight_mode_noeeprom(RGBLIGHT_MODE_RGB_TEST);
__attribute__ ((weak))
void led_test_init(void) {}