Remove RGBLIGHT_ANIMATION and clean up effect defines for layouts+users (#18729)

This commit is contained in:
Drashna Jaelre 2022-10-15 09:59:31 -07:00 committed by GitHub
parent f0da486fab
commit ad8630bd72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
28 changed files with 236 additions and 51 deletions

View File

@ -19,7 +19,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifndef RGB_DI_PIN #ifndef RGB_DI_PIN
#define RGB_DI_PIN F4 #define RGB_DI_PIN F4
#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 8 // Number of LEDs #define RGBLED_NUM 8 // Number of LEDs
#define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_SAT_STEP 8

View File

@ -2,7 +2,16 @@
/* ws2812 RGB LED */ /* ws2812 RGB LED */
#define RGB_DI_PIN D7 #define RGB_DI_PIN D7
#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 15 // Number of LEDs #define RGBLED_NUM 15 // Number of LEDs
#define RGBLIGHT_HUE_STEP 12 #define RGBLIGHT_HUE_STEP 12
#define RGBLIGHT_SAT_STEP 255 #define RGBLIGHT_SAT_STEP 255

View File

@ -3,7 +3,16 @@
#if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM) #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
#define RGB_DI_PIN B7 #define RGB_DI_PIN B7
#define RGBLED_NUM 13 // Number of LEDs #define RGBLED_NUM 13 // Number of LEDs
#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 RGBLIGHT_HUE_STEP 12 #define RGBLIGHT_HUE_STEP 12
#define RGBLIGHT_SAT_STEP 12 #define RGBLIGHT_SAT_STEP 12

View File

@ -8,7 +8,16 @@
#define TAPPING_TERM 150 #define TAPPING_TERM 150
#undef RGBLED_NUM #undef RGBLED_NUM
#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 12 #define RGBLED_NUM 12
#define RGBLED_SPLIT { 6, 6 } #define RGBLED_SPLIT { 6, 6 }
#define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_HUE_STEP 8

View File

@ -19,7 +19,16 @@
#define RGBLED_NUM 1 #define RGBLED_NUM 1
#endif #endif
#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 RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_VAL_STEP 8

View File

@ -20,7 +20,16 @@
#if defined(KEYBOARD_fractal) #if defined(KEYBOARD_fractal)
# define RGB_DI_PIN D2 # define RGB_DI_PIN D2
# undef RGBLED_NUM # undef RGBLED_NUM
# 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 29 // Number of LEDs # define RGBLED_NUM 29 // Number of LEDs
# undef RGBLIGHT_HUE_STEP # undef RGBLIGHT_HUE_STEP
# define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_HUE_STEP 8

View File

@ -12,7 +12,16 @@
#if defined(KEYBOARD_preonic_rev2) #if defined(KEYBOARD_preonic_rev2)
#define RGB_DI_PIN B3 #define RGB_DI_PIN B3
#undef RGBLED_NUM #undef RGBLED_NUM
#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 11 // Number of LEDs #define RGBLED_NUM 11 // Number of LEDs
#undef RGBLIGHT_HUE_STEP #undef RGBLIGHT_HUE_STEP
#define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_HUE_STEP 8

View File

@ -4,7 +4,16 @@
#if defined(KEYBOARD_fractal) #if defined(KEYBOARD_fractal)
# define RGB_DI_PIN D2 # define RGB_DI_PIN D2
# undef RGBLED_NUM # undef RGBLED_NUM
# 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 29 // Number of LEDs # define RGBLED_NUM 29 // Number of LEDs
# undef RGBLIGHT_HUE_STEP # undef RGBLIGHT_HUE_STEP
# define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_HUE_STEP 8

View File

@ -16,5 +16,14 @@
#pragma once #pragma once
// Explicit RGB Animation Mode Include // Explicit RGB Animation Mode Include
#undef RGBLIGHT_ANIMATIONS #undef RGBLIGHT_EFFECT_RAINBOW_MOOD
#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
#undef RGBLIGHT_EFFECT_SNAKE
#undef RGBLIGHT_EFFECT_KNIGHT
#undef RGBLIGHT_EFFECT_CHRISTMAS
#undef RGBLIGHT_EFFECT_STATIC_GRADIENT
#undef RGBLIGHT_EFFECT_RGB_TEST
#undef RGBLIGHT_EFFECT_ALTERNATING
#undef RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_EFFECT_BREATHING // Only have Breathing Animation #define RGBLIGHT_EFFECT_BREATHING // Only have Breathing Animation

View File

@ -7,7 +7,13 @@
#define USB_POLLING_INTERVAL_MS 1 #define USB_POLLING_INTERVAL_MS 1
#if defined(RGBLIGHT_ENABLE) #if defined(RGBLIGHT_ENABLE)
# undef RGBLIGHT_ANIMATIONS # undef RGBLIGHT_EFFECT_RAINBOW_MOOD
# undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
# undef RGBLIGHT_EFFECT_CHRISTMAS
# undef RGBLIGHT_EFFECT_STATIC_GRADIENT
# undef RGBLIGHT_EFFECT_RGB_TEST
# undef RGBLIGHT_EFFECT_ALTERNATING
# undef RGBLIGHT_EFFECT_TWINKLE
# define RGBLIGHT_SLEEP # define RGBLIGHT_SLEEP
# define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_SNAKE # define RGBLIGHT_EFFECT_SNAKE

View File

@ -5,7 +5,16 @@
// because layouts seem to not be respecting config.h order atm // because layouts seem to not be respecting config.h order atm
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
# undef RGBLIGHT_ANIMATIONS # undef RGBLIGHT_EFFECT_BREATHING
# undef RGBLIGHT_EFFECT_RAINBOW_MOOD
# undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
# undef RGBLIGHT_EFFECT_SNAKE
# undef RGBLIGHT_EFFECT_KNIGHT
# undef RGBLIGHT_EFFECT_CHRISTMAS
# undef RGBLIGHT_EFFECT_STATIC_GRADIENT
# undef RGBLIGHT_EFFECT_RGB_TEST
# undef RGBLIGHT_EFFECT_ALTERNATING
# undef RGBLIGHT_EFFECT_TWINKLE
# if defined(__AVR__) && (!defined(__AVR_AT90USB1286__) && !defined(RGBLIGHT_ALL_ANIMATIONS)) # if defined(__AVR__) && (!defined(__AVR_AT90USB1286__) && !defined(RGBLIGHT_ALL_ANIMATIONS))
# define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_SNAKE # define RGBLIGHT_EFFECT_SNAKE

View File

@ -17,7 +17,16 @@
#define TAP_CODE_DELAY 5 #define TAP_CODE_DELAY 5
#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
#ifdef TAP_DANCE_ENABLE #ifdef TAP_DANCE_ENABLE
# define TAPPING_TERM 175 # define TAPPING_TERM 175

View File

@ -25,7 +25,6 @@
/* ws2812 RGB LED /* ws2812 RGB LED
#define RGB_DI_PIN B5 #define RGB_DI_PIN B5
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 8 // Number of LEDs #define RGBLED_NUM 8 // Number of LEDs
#define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_SAT_STEP 17

View File

@ -12,4 +12,3 @@ EXTRAKEY_ENABLE = yes
COMMAND_ENABLE = yes COMMAND_ENABLE = yes
CONSOLE_ENABLE = yes CONSOLE_ENABLE = yes
RGBLIGHT_ENABLE = no RGBLIGHT_ENABLE = no
RGBLIGHT_ANIMATIONS = yes

View File

@ -31,7 +31,16 @@
#define MOUSEKEY_WHEEL_TIME_TO_MAX 50 #define MOUSEKEY_WHEEL_TIME_TO_MAX 50
// RGB lighting // RGB lighting
#undef RGBLIGHT_ANIMATIONS #undef RGBLIGHT_EFFECT_BREATHING
#undef RGBLIGHT_EFFECT_RAINBOW_MOOD
#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
#undef RGBLIGHT_EFFECT_SNAKE
#undef RGBLIGHT_EFFECT_KNIGHT
#undef RGBLIGHT_EFFECT_CHRISTMAS
#undef RGBLIGHT_EFFECT_STATIC_GRADIENT
#undef RGBLIGHT_EFFECT_RGB_TEST
#undef RGBLIGHT_EFFECT_ALTERNATING
#undef RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL #define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -19,8 +19,17 @@
#endif // !AUDIO_ENABLE #endif // !AUDIO_ENABLE
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
# define RGBLIGHT_SLEEP # undef RGBLIGHT_SLEEP
# undef RGBLIGHT_ANIMATIONS #undef RGBLIGHT_EFFECT_BREATHING
#undef RGBLIGHT_EFFECT_RAINBOW_MOOD
#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
#undef RGBLIGHT_EFFECT_SNAKE
#undef RGBLIGHT_EFFECT_KNIGHT
#undef RGBLIGHT_EFFECT_CHRISTMAS
#undef RGBLIGHT_EFFECT_STATIC_GRADIENT
#undef RGBLIGHT_EFFECT_RGB_TEST
#undef RGBLIGHT_EFFECT_ALTERNATING
#undef RGBLIGHT_EFFECT_TWINKLE
# define RGBLIGHT_HUE_STEP 16 # define RGBLIGHT_HUE_STEP 16
# define RGBLIGHT_SAT_STEP 16 # define RGBLIGHT_SAT_STEP 16
# define RGBLIGHT_VAL_STEP 16 # define RGBLIGHT_VAL_STEP 16
@ -83,4 +92,3 @@
#define TAP_CODE_DELAY 5 #define TAP_CODE_DELAY 5
#define MACRO_TIMER 5 #define MACRO_TIMER 5

View File

@ -2,7 +2,16 @@
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
#define RGBLIGHT_SLEEP #define RGBLIGHT_SLEEP
#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 // RGBLIGHT_ENABLE #endif // RGBLIGHT_ENABLE
#ifdef RGB_MATRIX_ENABLE #ifdef RGB_MATRIX_ENABLE

View File

@ -2,7 +2,16 @@
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
#define RGBLIGHT_SLEEP #define RGBLIGHT_SLEEP
#undef RGBLIGHT_ANIMATIONS #undef RGBLIGHT_EFFECT_RAINBOW_MOOD
#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
#undef RGBLIGHT_EFFECT_SNAKE
#undef RGBLIGHT_EFFECT_KNIGHT
#undef RGBLIGHT_EFFECT_CHRISTMAS
#undef RGBLIGHT_EFFECT_STATIC_GRADIENT
#undef RGBLIGHT_EFFECT_RGB_TEST
#undef RGBLIGHT_EFFECT_ALTERNATING
#undef RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_BREATHING
#endif // RGBLIGHT_ENABLE #endif // RGBLIGHT_ENABLE

View File

@ -30,7 +30,16 @@
#define RGBLIGHT_COLOR_LAYER_3 0x00, 0xFF, 0xFF // move #define RGBLIGHT_COLOR_LAYER_3 0x00, 0xFF, 0xFF // move
#define RGBLIGHT_COLOR_LAYER_4 0xFF, 0x00, 0xFF // delmove #define RGBLIGHT_COLOR_LAYER_4 0xFF, 0x00, 0xFF // delmove
#define RGBLIGHT_COLOR_LAYER_5 0x00, 0xFF, 0xFF #define RGBLIGHT_COLOR_LAYER_5 0x00, 0xFF, 0xFF
#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 RGB_LIGHT_EFFECT_BREATHE_MAX 200 #define RGB_LIGHT_EFFECT_BREATHE_MAX 200
#define RGBLIGHT_RAINBOW_SWIRL_RANGE 127 #define RGBLIGHT_RAINBOW_SWIRL_RANGE 127
#endif // rgblight #endif // rgblight

View File

@ -6,7 +6,6 @@
#pragma once #pragma once
// Selection of RGBLIGHT MODE to use. // Selection of RGBLIGHT MODE to use.
#undef RGBLIGHT_ANIMATIONS
#undef RGBLIGHT_EFFECT_BREATHING #undef RGBLIGHT_EFFECT_BREATHING
#undef RGBLIGHT_EFFECT_RAINBOW_MOOD #undef RGBLIGHT_EFFECT_RAINBOW_MOOD
#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL #undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
@ -16,6 +15,7 @@
#undef RGBLIGHT_EFFECT_STATIC_GRADIENT #undef RGBLIGHT_EFFECT_STATIC_GRADIENT
#undef RGBLIGHT_EFFECT_RGB_TEST #undef RGBLIGHT_EFFECT_RGB_TEST
#undef RGBLIGHT_EFFECT_ALTERNATING #undef RGBLIGHT_EFFECT_ALTERNATING
#undef RGBLIGHT_EFFECT_TWINKLE
#if defined(LED_ANIMATIONS) #if defined(LED_ANIMATIONS)
# if LED_ANIMATIONS_LEVEL > 1 # if LED_ANIMATIONS_LEVEL > 1

View File

@ -17,7 +17,6 @@
#pragma once #pragma once
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
// # define RGBLIGHT_ANIMATIONS
# define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 16 # define RGBLIGHT_SAT_STEP 16
# define RGBLIGHT_VAL_STEP 16 # define RGBLIGHT_VAL_STEP 16

View File

@ -14,7 +14,6 @@ This bit of code allows you to define layer lighting that respects your current
``` ```
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
// # define RGBLIGHT_ANIMATIONS
# define RGBLIGHT_HUE_STEP 8 # define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 16 # define RGBLIGHT_SAT_STEP 16
# define RGBLIGHT_VAL_STEP 16 # define RGBLIGHT_VAL_STEP 16

View File

@ -18,9 +18,16 @@
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
# define RGBLIGHT_SLEEP # define RGBLIGHT_SLEEP
# ifdef RGBLIGHT_ANIMATIONS # undef RGBLIGHT_EFFECT_BREATHING
# undef RGBLIGHT_ANIMATIONS # undef RGBLIGHT_EFFECT_RAINBOW_MOOD
# endif # undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
# undef RGBLIGHT_EFFECT_SNAKE
# undef RGBLIGHT_EFFECT_KNIGHT
# undef RGBLIGHT_EFFECT_CHRISTMAS
# undef RGBLIGHT_EFFECT_STATIC_GRADIENT
# undef RGBLIGHT_EFFECT_RGB_TEST
# undef RGBLIGHT_EFFECT_ALTERNATING
# undef RGBLIGHT_EFFECT_TWINKLE
# define RGBLIGHT_SLEEP # define RGBLIGHT_SLEEP
# define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD # define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@ -27,9 +27,16 @@
# define RGBLIGHT_VAL_STEP 8 # define RGBLIGHT_VAL_STEP 8
#endif #endif
// Trim animations I don't use/like // Trim animations I don't use/like
# ifdef RGBLIGHT_ANIMATIONS # undef RGBLIGHT_EFFECT_BREATHING
# undef RGBLIGHT_ANIMATIONS # undef RGBLIGHT_EFFECT_RAINBOW_MOOD
# endif # undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
# undef RGBLIGHT_EFFECT_SNAKE
# undef RGBLIGHT_EFFECT_KNIGHT
# undef RGBLIGHT_EFFECT_CHRISTMAS
# undef RGBLIGHT_EFFECT_STATIC_GRADIENT
# undef RGBLIGHT_EFFECT_RGB_TEST
# undef RGBLIGHT_EFFECT_ALTERNATING
# undef RGBLIGHT_EFFECT_TWINKLE
# define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_STATIC_GRADIENT # define RGBLIGHT_EFFECT_STATIC_GRADIENT
# define RGBLIGHT_EFFECT_TWINKLE # define RGBLIGHT_EFFECT_TWINKLE

View File

@ -14,7 +14,16 @@
# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF # define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
# define RGBLIGHT_STARTUP_ANIMATION # define RGBLIGHT_STARTUP_ANIMATION
# undef RGBLIGHT_ANIMATIONS # undef RGBLIGHT_EFFECT_BREATHING
# undef RGBLIGHT_EFFECT_RAINBOW_MOOD
# undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
# undef RGBLIGHT_EFFECT_SNAKE
# undef RGBLIGHT_EFFECT_KNIGHT
# undef RGBLIGHT_EFFECT_CHRISTMAS
# undef RGBLIGHT_EFFECT_STATIC_GRADIENT
# undef RGBLIGHT_EFFECT_RGB_TEST
# undef RGBLIGHT_EFFECT_ALTERNATING
# undef RGBLIGHT_EFFECT_TWINKLE
# define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD # define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL # define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@ -15,7 +15,16 @@
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
#undef RGBLED_NUM #undef RGBLED_NUM
#define RGBLED_NUM 50 #define RGBLED_NUM 50
#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 RGBLIGHT_SLEEP #define RGBLIGHT_SLEEP
#endif // RGBLIGHT_ENABLE #endif // RGBLIGHT_ENABLE

View File

@ -4,7 +4,6 @@
#ifdef RGBLIGHT_ENABLE #ifdef RGBLIGHT_ENABLE
# define RGBLIGHT_SLEEP # define RGBLIGHT_SLEEP
//# define RGBLIGHT_ANIMATIONS // disabled to save space
# define RGBLIGHT_LAYERS # define RGBLIGHT_LAYERS
# define RGBLIGHT_MAX_LAYERS 8 // default is 16 # define RGBLIGHT_MAX_LAYERS 8 // default is 16
# define RGBLIGHT_DISABLE_KEYCODES // RGB_foo keys no longer work, saves 600 bytes # define RGBLIGHT_DISABLE_KEYCODES // RGB_foo keys no longer work, saves 600 bytes

View File

@ -14,7 +14,16 @@
#undef RGBLED_NUM #undef RGBLED_NUM
#define RGBLED_NUM 20 #define RGBLED_NUM 20
#undef RGBLIGHT_ANIMATIONS #undef RGBLIGHT_EFFECT_BREATHING
#undef RGBLIGHT_EFFECT_RAINBOW_MOOD
#undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
#undef RGBLIGHT_EFFECT_SNAKE
#undef RGBLIGHT_EFFECT_KNIGHT
#undef RGBLIGHT_EFFECT_CHRISTMAS
#undef RGBLIGHT_EFFECT_STATIC_GRADIENT
#undef RGBLIGHT_EFFECT_RGB_TEST
#undef RGBLIGHT_EFFECT_ALTERNATING
#undef RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL #define RGBLIGHT_EFFECT_RAINBOW_SWIRL