diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-02-18 04:34:55 +0100 |
---|---|---|
committer | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-03-02 15:15:58 +0100 |
commit | 45dddfa6c27123ec6b598d561d3c3859882ccbad (patch) | |
tree | 6e4b25f77846e53e9f2d0b6777551a9c4aaac3ca /users/konstantin/rgb.c | |
parent | fbe2eba4729a1d7b00b76243e146b5324d65976b (diff) | |
download | firmware-45dddfa6c27123ec6b598d561d3c3859882ccbad.tar.gz firmware-45dddfa6c27123ec6b598d561d3c3859882ccbad.tar.bz2 firmware-45dddfa6c27123ec6b598d561d3c3859882ccbad.zip |
Set preferred intervals for rgblight effects
Diffstat (limited to 'users/konstantin/rgb.c')
-rw-r--r-- | users/konstantin/rgb.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/users/konstantin/rgb.c b/users/konstantin/rgb.c index 37b1ab3d5..ed6efe87a 100644 --- a/users/konstantin/rgb.c +++ b/users/konstantin/rgb.c @@ -1,4 +1,24 @@ #include "rgb.h" +#ifdef RGBLIGHT_EFFECT_BREATHING +const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {20, 30, 5, 10}; +#endif + +#ifdef RGBLIGHT_EFFECT_RAINBOW_MOOD +const uint8_t RGBLED_RAINBOW_MOOD_INTERVALS[] PROGMEM = {20, 50, 100}; +#endif + +#ifdef RGBLIGHT_EFFECT_RAINBOW_SWIRL +const uint8_t RGBLED_RAINBOW_SWIRL_INTERVALS[] PROGMEM = {20, 50, 100}; +#endif + +#ifdef RGBLIGHT_EFFECT_SNAKE +const uint8_t RGBLED_SNAKE_INTERVALS[] PROGMEM = {20, 50, 100}; +#endif + +#ifdef RGBLIGHT_EFFECT_KNIGHT +const uint8_t RGBLED_KNIGHT_INTERVALS[] PROGMEM = {20, 50, 100}; +#endif + const hsv_t GODSPEED_BLUE = { .h = 300, .s = 68, .v = RGBLIGHT_LIMIT_VAL }; const hsv_t GODSPEED_YELLOW = { .h = 35, .s = 165, .v = RGBLIGHT_LIMIT_VAL }; |