diff options
| author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2018-06-05 00:10:39 +0900 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-06-04 08:10:39 -0700 |
| commit | 5229734647706054066c277ea348a6d25cc38095 (patch) | |
| tree | ac59bd43b32548ebac576b2fddd6db86afa40f4b /quantum/rgblight.h | |
| parent | cb91320d6d8836dd13db19bd2434abe2e7cadc20 (diff) | |
| download | qmk_firmware-5229734647706054066c277ea348a6d25cc38095.tar.gz qmk_firmware-5229734647706054066c277ea348a6d25cc38095.zip | |
Add rgblight mode 35 (R,G,B test mode) (#3114)
* add rgblight mode 35 (RGB cyclic mode) into quantum/rgblight.c
* Update docs, add rgblight mode 35(RGB cyclic)
* rename RGBCYCLIC to RGBTEST
Diffstat (limited to 'quantum/rgblight.h')
| -rw-r--r-- | quantum/rgblight.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h index 569424506..e9c192a4e 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h | |||
| @@ -17,7 +17,7 @@ | |||
| 17 | #define RGBLIGHT_H | 17 | #define RGBLIGHT_H |
| 18 | 18 | ||
| 19 | #ifdef RGBLIGHT_ANIMATIONS | 19 | #ifdef RGBLIGHT_ANIMATIONS |
| 20 | #define RGBLIGHT_MODES 34 | 20 | #define RGBLIGHT_MODES 35 |
| 21 | #else | 21 | #else |
| 22 | #define RGBLIGHT_MODES 1 | 22 | #define RGBLIGHT_MODES 1 |
| 23 | #endif | 23 | #endif |
| @@ -83,6 +83,7 @@ extern const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[3] PROGMEM; | |||
| 83 | extern const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[3] PROGMEM; | 83 | extern const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[3] PROGMEM; |
| 84 | extern const uint8_t RGBLED_SNAKE_INTERVALS[3] PROGMEM; | 84 | extern const uint8_t RGBLED_SNAKE_INTERVALS[3] PROGMEM; |
| 85 | extern const uint8_t RGBLED_KNIGHT_INTERVALS[3] PROGMEM; | 85 | extern const uint8_t RGBLED_KNIGHT_INTERVALS[3] PROGMEM; |
| 86 | extern const uint16_t RGBLED_RGBTEST_INTERVALS[1] PROGMEM; | ||
| 86 | 87 | ||
| 87 | typedef union { | 88 | typedef union { |
| 88 | uint32_t raw; | 89 | uint32_t raw; |
| @@ -160,5 +161,6 @@ void rgblight_effect_rainbow_swirl(uint8_t interval); | |||
| 160 | void rgblight_effect_snake(uint8_t interval); | 161 | void rgblight_effect_snake(uint8_t interval); |
| 161 | void rgblight_effect_knight(uint8_t interval); | 162 | void rgblight_effect_knight(uint8_t interval); |
| 162 | void rgblight_effect_christmas(void); | 163 | void rgblight_effect_christmas(void); |
| 164 | void rgblight_effect_rgbtest(void); | ||
| 163 | 165 | ||
| 164 | #endif | 166 | #endif |
