diff options
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r-- | quantum/rgblight.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h index d0dd6e4903..7acd5a2577 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h @@ -23,16 +23,21 @@ #endif #ifndef RGBLIGHT_EFFECT_SNAKE_LENGTH -#define RGBLIGHT_EFFECT_SNAKE_LENGTH 7 +#define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 #endif #ifndef RGBLIGHT_EFFECT_KNIGHT_LENGTH -#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 7 +#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 3 #endif + #ifndef RGBLIGHT_EFFECT_KNIGHT_OFFSET #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 0 #endif +#ifndef RGBLIGHT_EFFECT_KNIGHT_LED_NUM +#define RGBLIGHT_EFFECT_KNIGHT_LED_NUM RGBLED_NUM +#endif + #ifndef RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 1000 #endif @@ -85,6 +90,7 @@ void rgblight_toggle(void); void rgblight_enable(void); void rgblight_step(void); void rgblight_step_reverse(void); +uint32_t rgblight_get_mode(void); void rgblight_mode(uint8_t mode); void rgblight_set(void); void rgblight_update_dword(uint32_t dword); |