diff options
author | Joshua Diamond <josh@windowoffire.com> | 2020-05-09 04:56:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-09 01:56:16 -0700 |
commit | 2fe7e221ec9e412cc008aa5c03eaf27e35ff62c6 (patch) | |
tree | 79ae7e86cfb9048b3bd9795b596ec318581d801e /quantum/rgblight_modes.h | |
parent | e0f548085cc9c29e85122d393e74143eb5de1d4d (diff) |
New RGB Lighting effect: Twinkle (#8887)
* Add twinkle RGB Lighting effect
* 2nd twinkle algo - double-buffering
* Further refinement: Per-LED twinkle
* Add documentation for Twinkle RBG Lighting mode
* Bias twinkle saturation closer to the set value
* Fix whitespace
Diffstat (limited to 'quantum/rgblight_modes.h')
-rw-r--r-- | quantum/rgblight_modes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/quantum/rgblight_modes.h b/quantum/rgblight_modes.h index 40c9ce4980..7abdb87bc6 100644 --- a/quantum/rgblight_modes.h +++ b/quantum/rgblight_modes.h @@ -53,6 +53,14 @@ _RGBM_SINGLE_DYNAMIC(RGB_TEST) # ifdef RGBLIGHT_EFFECT_ALTERNATING _RGBM_SINGLE_DYNAMIC(ALTERNATING) # endif +# ifdef RGBLIGHT_EFFECT_TWINKLE +_RGBM_MULTI_DYNAMIC(TWINKLE) +_RGBM_TMP_DYNAMIC(twinkle_38, TWINKLE) +_RGBM_TMP_DYNAMIC(twinkle_39, TWINKLE) +_RGBM_TMP_DYNAMIC(twinkle_40, TWINKLE) +_RGBM_TMP_DYNAMIC(twinkle_41, TWINKLE) +_RGBM_TMP_DYNAMIC(TWINKLE_end, TWINKLE) +# endif //// Add a new mode here. // #ifdef RGBLIGHT_EFFECT_<name> // _RGBM_<SINGLE|MULTI>_<STATIC|DYNAMIC>( <name> ) |