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/kbo5000 | |
parent | d021bedf50801161a49812f63c425b372347055b (diff) |
Remove RGBLIGHT_ANIMATION and clean up effect defines for G-K (#18726)
Diffstat (limited to 'keyboards/keebio/kbo5000')
-rw-r--r-- | keyboards/keebio/kbo5000/rev1/config.h | 11 | ||||
-rw-r--r-- | keyboards/keebio/kbo5000/rev1/rev1.c | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/keyboards/keebio/kbo5000/rev1/config.h b/keyboards/keebio/kbo5000/rev1/config.h index 3d3253d2c3..9613f40588 100644 --- a/keyboards/keebio/kbo5000/rev1/config.h +++ b/keyboards/keebio/kbo5000/rev1/config.h @@ -51,7 +51,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* ws2812 RGB LED */ #define RGB_DI_PIN E6 -#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 #define RGBLED_NUM 16 // Number of LEDs #define RGBLED_SPLIT { 8, 8 } #define RGBLIGHT_LED_MAP { 1, 2, 3, 12, 13, 14, 15, 0, 7, 6, 5, 4, 11, 10, 9, 8 } diff --git a/keyboards/keebio/kbo5000/rev1/rev1.c b/keyboards/keebio/kbo5000/rev1/rev1.c index 757a8be2a1..904c85242b 100644 --- a/keyboards/keebio/kbo5000/rev1/rev1.c +++ b/keyboards/keebio/kbo5000/rev1/rev1.c @@ -22,7 +22,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 |