diff options
author | skullydazed <skullydazed@users.noreply.github.com> | 2017-09-06 14:49:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-06 14:49:19 -0700 |
commit | 4580d3a730c078484ea417575c617c17598b5a39 (patch) | |
tree | 6b180261bde6124a189b054a0657faa480e571c5 /keyboards/clueboard/rev2 | |
parent | 0ce45eb0b7ad0af28de4418906543c51dbc505cc (diff) |
RGB improvements (#1684)
* Allow the knight animation to be restricted to a portion of the LED strip
* Add keys for jumping directly to particular animation modes
* Remove orphaned break statements
* Tweak the `RGB_MODE` buttons so they cycle through the same mode.
* small indentation fix
Diffstat (limited to 'keyboards/clueboard/rev2')
-rw-r--r-- | keyboards/clueboard/rev2/config.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/keyboards/clueboard/rev2/config.h b/keyboards/clueboard/rev2/config.h index 8435fd02be..bc34fc07bb 100644 --- a/keyboards/clueboard/rev2/config.h +++ b/keyboards/clueboard/rev2/config.h @@ -30,10 +30,17 @@ /* Underlight configuration */ #define RGB_DI_PIN D7 -#define RGBLIGHT_ANIMATIONS #define RGBLED_NUM 14 // Number of LEDs -#define RGBLIGHT_HUE_STEP 10 +#define RGBLIGHT_HUE_STEP 32 #define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_VAL_STEP 17 +#define RGBLIGHT_ANIMATIONS +#define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2 +#define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1 +#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 3 // How many LEDs wide to light up +#define RGBLIGHT_EFFECT_KNIGHT_OFFSET 1 // The led to start at +#define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5 // How many LEDs to travel +#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up + #endif |