diff options
author | Drashna Jaelre <drashna@live.com> | 2022-10-15 09:55:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 09:55:27 -0700 |
commit | 55b9a4d06e12df08564d3b6261f9ed81f75e07ec (patch) | |
tree | 45bd1178a35c7c8c069e1ce0dd9bb9a51cb0e5e2 /keyboards/keebio/bdn9/rev1 | |
parent | d021bedf50801161a49812f63c425b372347055b (diff) |
Remove RGBLIGHT_ANIMATION and clean up effect defines for G-K (#18726)
Diffstat (limited to 'keyboards/keebio/bdn9/rev1')
-rw-r--r-- | keyboards/keebio/bdn9/rev1/config.h | 12 | ||||
-rw-r--r-- | keyboards/keebio/bdn9/rev1/rev1.c | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/keyboards/keebio/bdn9/rev1/config.h b/keyboards/keebio/bdn9/rev1/config.h index a674477d99..b57958d35f 100644 --- a/keyboards/keebio/bdn9/rev1/config.h +++ b/keyboards/keebio/bdn9/rev1/config.h @@ -45,8 +45,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ - /*== all animations enable ==*/ - #define RGBLIGHT_ANIMATIONS +#define RGBLIGHT_EFFECT_BREATHING +#define RGBLIGHT_EFFECT_RAINBOW_MOOD +#define RGBLIGHT_EFFECT_RAINBOW_SWIRL +#define RGBLIGHT_EFFECT_SNAKE +#define RGBLIGHT_EFFECT_KNIGHT +#define RGBLIGHT_EFFECT_CHRISTMAS +#define RGBLIGHT_EFFECT_STATIC_GRADIENT +#define RGBLIGHT_EFFECT_RGB_TEST +#define RGBLIGHT_EFFECT_ALTERNATING +#define RGBLIGHT_EFFECT_TWINKLE #endif /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ diff --git a/keyboards/keebio/bdn9/rev1/rev1.c b/keyboards/keebio/bdn9/rev1/rev1.c index b1b0afc608..f064ca51df 100644 --- a/keyboards/keebio/bdn9/rev1/rev1.c +++ b/keyboards/keebio/bdn9/rev1/rev1.c @@ -8,7 +8,7 @@ void eeconfig_init_kb(void) { #ifdef RGBLIGHT_ENABLE rgblight_enable(); // Enable RGB by default rgblight_sethsv(0, 255, 255); // Set default HSV - red hue, full saturation, full brightness -#ifdef RGBLIGHT_ANIMATIONS +#ifdef RGBLIGHT_EFFECT_RAINBOW_SWIRL rgblight_mode(RGBLIGHT_MODE_RAINBOW_SWIRL + 2); // set to RGB_RAINBOW_SWIRL by default #endif #endif |