diff options
author | MakotoKurauchi <pluis@me.com> | 2018-10-11 04:53:18 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-10-10 12:53:18 -0700 |
commit | 79bff502471d8fd534e9266954a184aa0f7d55c3 (patch) | |
tree | 6451e2c3d54435676c9bbd0737cadd4f093ccad3 /keyboards/helix/pico/keymaps/default/keymap.c | |
parent | ab91e07753720f8114d6c427139a1436e6efa3ce (diff) | |
download | qmk_firmware-79bff502471d8fd534e9266954a184aa0f7d55c3.tar.gz qmk_firmware-79bff502471d8fd534e9266954a184aa0f7d55c3.zip |
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/pico/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/helix/pico/keymaps/default/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/helix/pico/keymaps/default/keymap.c b/keyboards/helix/pico/keymaps/default/keymap.c index 75221d485..4c5878517 100644 --- a/keyboards/helix/pico/keymaps/default/keymap.c +++ b/keyboards/helix/pico/keymaps/default/keymap.c | |||
@@ -238,7 +238,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
238 | } else { | 238 | } else { |
239 | TOG_STATUS = !TOG_STATUS; | 239 | TOG_STATUS = !TOG_STATUS; |
240 | #ifdef RGBLIGHT_ENABLE | 240 | #ifdef RGBLIGHT_ENABLE |
241 | //rgblight_mode(16); | 241 | //rgblight_mode(RGBLIGHT_MODE_SNAKE + 1); |
242 | #endif | 242 | #endif |
243 | } | 243 | } |
244 | layer_on(_LOWER); | 244 | layer_on(_LOWER); |
@@ -261,7 +261,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
261 | } else { | 261 | } else { |
262 | TOG_STATUS = !TOG_STATUS; | 262 | TOG_STATUS = !TOG_STATUS; |
263 | #ifdef RGBLIGHT_ENABLE | 263 | #ifdef RGBLIGHT_ENABLE |
264 | //rgblight_mode(15); | 264 | //rgblight_mode(RGBLIGHT_MODE_SNAKE); |
265 | #endif | 265 | #endif |
266 | } | 266 | } |
267 | layer_on(_RAISE); | 267 | layer_on(_RAISE); |