diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-08-17 11:19:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-18 04:19:00 +1000 |
| commit | 7da97c293da851851c204af065a0c8d2f884effd (patch) | |
| tree | d1ebbc3898f66b570bf6005bdfffe0682efa8240 /quantum/led_matrix/animations | |
| parent | 85351dc23d423d1fa5d23aed8b4b478c49949b46 (diff) | |
| download | qmk_firmware-7da97c293da851851c204af065a0c8d2f884effd.tar.gz qmk_firmware-7da97c293da851851c204af065a0c8d2f884effd.zip | |
Rgb matrix/enable modes explicitly (#13758)
* Change animations to require explicet activation
* Add support for legacy config
* Make default for now
* Add LED Matrix support
* change LED Matrix docs
Diffstat (limited to 'quantum/led_matrix/animations')
16 files changed, 29 insertions, 29 deletions
diff --git a/quantum/led_matrix/animations/alpha_mods_anim.h b/quantum/led_matrix/animations/alpha_mods_anim.h index a4638fde6..14038cd08 100644 --- a/quantum/led_matrix/animations/alpha_mods_anim.h +++ b/quantum/led_matrix/animations/alpha_mods_anim.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #ifndef DISABLE_LED_MATRIX_ALPHAS_MODS | 1 | #ifdef ENABLE_LED_MATRIX_ALPHAS_MODS |
| 2 | LED_MATRIX_EFFECT(ALPHAS_MODS) | 2 | LED_MATRIX_EFFECT(ALPHAS_MODS) |
| 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 4 | 4 | ||
diff --git a/quantum/led_matrix/animations/band_anim.h b/quantum/led_matrix/animations/band_anim.h index f9cb85dc4..5548787b8 100644 --- a/quantum/led_matrix/animations/band_anim.h +++ b/quantum/led_matrix/animations/band_anim.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #ifndef DISABLE_LED_MATRIX_BAND | 1 | #ifdef ENABLE_LED_MATRIX_BAND |
| 2 | LED_MATRIX_EFFECT(BAND) | 2 | LED_MATRIX_EFFECT(BAND) |
| 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 4 | 4 | ||
diff --git a/quantum/led_matrix/animations/band_pinwheel_anim.h b/quantum/led_matrix/animations/band_pinwheel_anim.h index d3144bffb..89651582d 100644 --- a/quantum/led_matrix/animations/band_pinwheel_anim.h +++ b/quantum/led_matrix/animations/band_pinwheel_anim.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #ifndef DISABLE_LED_MATRIX_BAND_PINWHEEL | 1 | #ifdef ENABLE_LED_MATRIX_BAND_PINWHEEL |
| 2 | LED_MATRIX_EFFECT(BAND_PINWHEEL) | 2 | LED_MATRIX_EFFECT(BAND_PINWHEEL) |
| 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 4 | 4 | ||
diff --git a/quantum/led_matrix/animations/band_spiral_anim.h b/quantum/led_matrix/animations/band_spiral_anim.h index defbe6967..70b0ffaea 100644 --- a/quantum/led_matrix/animations/band_spiral_anim.h +++ b/quantum/led_matrix/animations/band_spiral_anim.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #ifndef DISABLE_LED_MATRIX_BAND_SPIRAL | 1 | #ifdef ENABLE_LED_MATRIX_BAND_SPIRAL |
| 2 | LED_MATRIX_EFFECT(BAND_SPIRAL) | 2 | LED_MATRIX_EFFECT(BAND_SPIRAL) |
| 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 4 | 4 | ||
diff --git a/quantum/led_matrix/animations/breathing_anim.h b/quantum/led_matrix/animations/breathing_anim.h index 4f49f5069..e3f600c45 100644 --- a/quantum/led_matrix/animations/breathing_anim.h +++ b/quantum/led_matrix/animations/breathing_anim.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #ifndef DISABLE_LED_MATRIX_BREATHING | 1 | #ifdef ENABLE_LED_MATRIX_BREATHING |
| 2 | LED_MATRIX_EFFECT(BREATHING) | 2 | LED_MATRIX_EFFECT(BREATHING) |
| 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 4 | 4 | ||
diff --git a/quantum/led_matrix/animations/cycle_left_right_anim.h b/quantum/led_matrix/animations/cycle_left_right_anim.h index c426d02fd..769e6d794 100644 --- a/quantum/led_matrix/animations/cycle_left_right_anim.h +++ b/quantum/led_matrix/animations/cycle_left_right_anim.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #ifndef DISABLE_LED_MATRIX_CYCLE_LEFT_RIGHT | 1 | #ifdef ENABLE_LED_MATRIX_CYCLE_LEFT_RIGHT |
| 2 | LED_MATRIX_EFFECT(CYCLE_LEFT_RIGHT) | 2 | LED_MATRIX_EFFECT(CYCLE_LEFT_RIGHT) |
| 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 4 | 4 | ||
diff --git a/quantum/led_matrix/animations/cycle_out_in_anim.h b/quantum/led_matrix/animations/cycle_out_in_anim.h index 55527556f..6adf9c25f 100644 --- a/quantum/led_matrix/animations/cycle_out_in_anim.h +++ b/quantum/led_matrix/animations/cycle_out_in_anim.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #ifndef DISABLE_LED_MATRIX_CYCLE_OUT_IN | 1 | #ifdef ENABLE_LED_MATRIX_CYCLE_OUT_IN |
| 2 | LED_MATRIX_EFFECT(CYCLE_OUT_IN) | 2 | LED_MATRIX_EFFECT(CYCLE_OUT_IN) |
| 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 4 | 4 | ||
diff --git a/quantum/led_matrix/animations/cycle_up_down_anim.h b/quantum/led_matrix/animations/cycle_up_down_anim.h index d97de0d1e..7a5868ac2 100644 --- a/quantum/led_matrix/animations/cycle_up_down_anim.h +++ b/quantum/led_matrix/animations/cycle_up_down_anim.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #ifndef DISABLE_LED_MATRIX_CYCLE_UP_DOWN | 1 | #ifdef ENABLE_LED_MATRIX_CYCLE_UP_DOWN |
| 2 | LED_MATRIX_EFFECT(CYCLE_UP_DOWN) | 2 | LED_MATRIX_EFFECT(CYCLE_UP_DOWN) |
| 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 4 | 4 | ||
diff --git a/quantum/led_matrix/animations/dual_beacon_anim.h b/quantum/led_matrix/animations/dual_beacon_anim.h index e1bc5ae46..3552c9fc3 100644 --- a/quantum/led_matrix/animations/dual_beacon_anim.h +++ b/quantum/led_matrix/animations/dual_beacon_anim.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #ifndef DISABLE_LED_MATRIX_DUAL_BEACON | 1 | #ifdef ENABLE_LED_MATRIX_DUAL_BEACON |
| 2 | LED_MATRIX_EFFECT(DUAL_BEACON) | 2 | LED_MATRIX_EFFECT(DUAL_BEACON) |
| 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 4 | 4 | ||
diff --git a/quantum/led_matrix/animations/solid_reactive_cross.h b/quantum/led_matrix/animations/solid_reactive_cross.h index 94425c959..3a3c46be1 100644 --- a/quantum/led_matrix/animations/solid_reactive_cross.h +++ b/quantum/led_matrix/animations/solid_reactive_cross.h | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | #ifdef LED_MATRIX_KEYREACTIVE_ENABLED | 1 | #ifdef LED_MATRIX_KEYREACTIVE_ENABLED |
| 2 | # if !defined(DISABLE_LED_MATRIX_SOLID_REACTIVE_CROSS) || !defined(DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTICROSS) | 2 | # if !defined(DISABLE_LED_MATRIX_SOLID_REACTIVE_CROSS) || !defined(DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTICROSS) |
| 3 | 3 | ||
| 4 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_CROSS | 4 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_CROSS |
| 5 | LED_MATRIX_EFFECT(SOLID_REACTIVE_CROSS) | 5 | LED_MATRIX_EFFECT(SOLID_REACTIVE_CROSS) |
| 6 | # endif | 6 | # endif |
| 7 | 7 | ||
| 8 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTICROSS | 8 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTICROSS |
| 9 | LED_MATRIX_EFFECT(SOLID_REACTIVE_MULTICROSS) | 9 | LED_MATRIX_EFFECT(SOLID_REACTIVE_MULTICROSS) |
| 10 | # endif | 10 | # endif |
| 11 | 11 | ||
| @@ -22,11 +22,11 @@ static uint8_t SOLID_REACTIVE_CROSS_math(uint8_t val, int16_t dx, int16_t dy, ui | |||
| 22 | return qadd8(val, 255 - effect); | 22 | return qadd8(val, 255 - effect); |
| 23 | } | 23 | } |
| 24 | 24 | ||
| 25 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_CROSS | 25 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_CROSS |
| 26 | bool SOLID_REACTIVE_CROSS(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_REACTIVE_CROSS_math); } | 26 | bool SOLID_REACTIVE_CROSS(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_REACTIVE_CROSS_math); } |
| 27 | # endif | 27 | # endif |
| 28 | 28 | ||
| 29 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTICROSS | 29 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTICROSS |
| 30 | bool SOLID_REACTIVE_MULTICROSS(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_REACTIVE_CROSS_math); } | 30 | bool SOLID_REACTIVE_MULTICROSS(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_REACTIVE_CROSS_math); } |
| 31 | # endif | 31 | # endif |
| 32 | 32 | ||
diff --git a/quantum/led_matrix/animations/solid_reactive_nexus.h b/quantum/led_matrix/animations/solid_reactive_nexus.h index 504b1104f..2520b8e1d 100644 --- a/quantum/led_matrix/animations/solid_reactive_nexus.h +++ b/quantum/led_matrix/animations/solid_reactive_nexus.h | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | #ifdef LED_MATRIX_KEYREACTIVE_ENABLED | 1 | #ifdef LED_MATRIX_KEYREACTIVE_ENABLED |
| 2 | # if !defined(DISABLE_LED_MATRIX_SOLID_REACTIVE_NEXUS) || !defined(DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTINEXUS) | 2 | # if defined(ENABLE_LED_MATRIX_SOLID_REACTIVE_NEXUS) || defined(ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTINEXUS) |
| 3 | 3 | ||
| 4 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_NEXUS | 4 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_NEXUS |
| 5 | LED_MATRIX_EFFECT(SOLID_REACTIVE_NEXUS) | 5 | LED_MATRIX_EFFECT(SOLID_REACTIVE_NEXUS) |
| 6 | # endif | 6 | # endif |
| 7 | 7 | ||
| 8 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTINEXUS | 8 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTINEXUS |
| 9 | LED_MATRIX_EFFECT(SOLID_REACTIVE_MULTINEXUS) | 9 | LED_MATRIX_EFFECT(SOLID_REACTIVE_MULTINEXUS) |
| 10 | # endif | 10 | # endif |
| 11 | 11 | ||
| @@ -19,11 +19,11 @@ static uint8_t SOLID_REACTIVE_NEXUS_math(uint8_t val, int16_t dx, int16_t dy, ui | |||
| 19 | return qadd8(val, 255 - effect); | 19 | return qadd8(val, 255 - effect); |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_NEXUS | 22 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_NEXUS |
| 23 | bool SOLID_REACTIVE_NEXUS(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_REACTIVE_NEXUS_math); } | 23 | bool SOLID_REACTIVE_NEXUS(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_REACTIVE_NEXUS_math); } |
| 24 | # endif | 24 | # endif |
| 25 | 25 | ||
| 26 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTINEXUS | 26 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTINEXUS |
| 27 | bool SOLID_REACTIVE_MULTINEXUS(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_REACTIVE_NEXUS_math); } | 27 | bool SOLID_REACTIVE_MULTINEXUS(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_REACTIVE_NEXUS_math); } |
| 28 | # endif | 28 | # endif |
| 29 | 29 | ||
diff --git a/quantum/led_matrix/animations/solid_reactive_simple_anim.h b/quantum/led_matrix/animations/solid_reactive_simple_anim.h index 4752a8416..43f6ad9ab 100644 --- a/quantum/led_matrix/animations/solid_reactive_simple_anim.h +++ b/quantum/led_matrix/animations/solid_reactive_simple_anim.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #ifdef LED_MATRIX_KEYREACTIVE_ENABLED | 1 | #ifdef LED_MATRIX_KEYREACTIVE_ENABLED |
| 2 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_SIMPLE | 2 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_SIMPLE |
| 3 | LED_MATRIX_EFFECT(SOLID_REACTIVE_SIMPLE) | 3 | LED_MATRIX_EFFECT(SOLID_REACTIVE_SIMPLE) |
| 4 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 4 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 5 | 5 | ||
diff --git a/quantum/led_matrix/animations/solid_reactive_wide.h b/quantum/led_matrix/animations/solid_reactive_wide.h index 922e32fe5..d683b0251 100644 --- a/quantum/led_matrix/animations/solid_reactive_wide.h +++ b/quantum/led_matrix/animations/solid_reactive_wide.h | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | #ifdef LED_MATRIX_KEYREACTIVE_ENABLED | 1 | #ifdef LED_MATRIX_KEYREACTIVE_ENABLED |
| 2 | # if !defined(DISABLE_LED_MATRIX_SOLID_REACTIVE_WIDE) || !defined(DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTIWIDE) | 2 | # if !defined(DISABLE_LED_MATRIX_SOLID_REACTIVE_WIDE) || !defined(DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTIWIDE) |
| 3 | 3 | ||
| 4 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_WIDE | 4 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_WIDE |
| 5 | LED_MATRIX_EFFECT(SOLID_REACTIVE_WIDE) | 5 | LED_MATRIX_EFFECT(SOLID_REACTIVE_WIDE) |
| 6 | # endif | 6 | # endif |
| 7 | 7 | ||
| 8 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTIWIDE | 8 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTIWIDE |
| 9 | LED_MATRIX_EFFECT(SOLID_REACTIVE_MULTIWIDE) | 9 | LED_MATRIX_EFFECT(SOLID_REACTIVE_MULTIWIDE) |
| 10 | # endif | 10 | # endif |
| 11 | 11 | ||
| @@ -17,11 +17,11 @@ static uint8_t SOLID_REACTIVE_WIDE_math(uint8_t val, int16_t dx, int16_t dy, uin | |||
| 17 | return qadd8(val, 255 - effect); | 17 | return qadd8(val, 255 - effect); |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_WIDE | 20 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_WIDE |
| 21 | bool SOLID_REACTIVE_WIDE(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_REACTIVE_WIDE_math); } | 21 | bool SOLID_REACTIVE_WIDE(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_REACTIVE_WIDE_math); } |
| 22 | # endif | 22 | # endif |
| 23 | 23 | ||
| 24 | # ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTIWIDE | 24 | # ifdef ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTIWIDE |
| 25 | bool SOLID_REACTIVE_MULTIWIDE(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_REACTIVE_WIDE_math); } | 25 | bool SOLID_REACTIVE_MULTIWIDE(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_REACTIVE_WIDE_math); } |
| 26 | # endif | 26 | # endif |
| 27 | 27 | ||
diff --git a/quantum/led_matrix/animations/solid_splash_anim.h b/quantum/led_matrix/animations/solid_splash_anim.h index d95889b81..cf599c8fe 100644 --- a/quantum/led_matrix/animations/solid_splash_anim.h +++ b/quantum/led_matrix/animations/solid_splash_anim.h | |||
| @@ -1,11 +1,11 @@ | |||
| 1 | #ifdef LED_MATRIX_KEYREACTIVE_ENABLED | 1 | #ifdef LED_MATRIX_KEYREACTIVE_ENABLED |
| 2 | # if !defined(DISABLE_LED_MATRIX_SOLID_SPLASH) || !defined(DISABLE_LED_MATRIX_SOLID_MULTISPLASH) | 2 | # if !defined(DISABLE_LED_MATRIX_SOLID_SPLASH) || !defined(DISABLE_LED_MATRIX_SOLID_MULTISPLASH) |
| 3 | 3 | ||
| 4 | # ifndef DISABLE_LED_MATRIX_SOLID_SPLASH | 4 | # ifdef ENABLE_LED_MATRIX_SOLID_SPLASH |
| 5 | LED_MATRIX_EFFECT(SOLID_SPLASH) | 5 | LED_MATRIX_EFFECT(SOLID_SPLASH) |
| 6 | # endif | 6 | # endif |
| 7 | 7 | ||
| 8 | # ifndef DISABLE_LED_MATRIX_SOLID_MULTISPLASH | 8 | # ifdef ENABLE_LED_MATRIX_SOLID_MULTISPLASH |
| 9 | LED_MATRIX_EFFECT(SOLID_MULTISPLASH) | 9 | LED_MATRIX_EFFECT(SOLID_MULTISPLASH) |
| 10 | # endif | 10 | # endif |
| 11 | 11 | ||
| @@ -17,11 +17,11 @@ uint8_t SOLID_SPLASH_math(uint8_t val, int16_t dx, int16_t dy, uint8_t dist, uin | |||
| 17 | return qadd8(val, 255 - effect); | 17 | return qadd8(val, 255 - effect); |
| 18 | } | 18 | } |
| 19 | 19 | ||
| 20 | # ifndef DISABLE_LED_MATRIX_SOLID_SPLASH | 20 | # ifdef ENABLE_LED_MATRIX_SOLID_SPLASH |
| 21 | bool SOLID_SPLASH(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_SPLASH_math); } | 21 | bool SOLID_SPLASH(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_SPLASH_math); } |
| 22 | # endif | 22 | # endif |
| 23 | 23 | ||
| 24 | # ifndef DISABLE_LED_MATRIX_SOLID_MULTISPLASH | 24 | # ifdef ENABLE_LED_MATRIX_SOLID_MULTISPLASH |
| 25 | bool SOLID_MULTISPLASH(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_SPLASH_math); } | 25 | bool SOLID_MULTISPLASH(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_SPLASH_math); } |
| 26 | # endif | 26 | # endif |
| 27 | 27 | ||
diff --git a/quantum/led_matrix/animations/wave_left_right_anim.h b/quantum/led_matrix/animations/wave_left_right_anim.h index 8579f1b45..c062cf968 100644 --- a/quantum/led_matrix/animations/wave_left_right_anim.h +++ b/quantum/led_matrix/animations/wave_left_right_anim.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #ifndef DISABLE_LED_MATRIX_WAVE_LEFT_RIGHT | 1 | #ifdef ENABLE_LED_MATRIX_WAVE_LEFT_RIGHT |
| 2 | LED_MATRIX_EFFECT(WAVE_LEFT_RIGHT) | 2 | LED_MATRIX_EFFECT(WAVE_LEFT_RIGHT) |
| 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 4 | 4 | ||
diff --git a/quantum/led_matrix/animations/wave_up_down_anim.h b/quantum/led_matrix/animations/wave_up_down_anim.h index 635c60841..5e612f6b6 100644 --- a/quantum/led_matrix/animations/wave_up_down_anim.h +++ b/quantum/led_matrix/animations/wave_up_down_anim.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #ifndef DISABLE_LED_MATRIX_WAVE_UP_DOWN | 1 | #ifdef ENABLE_LED_MATRIX_WAVE_UP_DOWN |
| 2 | LED_MATRIX_EFFECT(WAVE_UP_DOWN) | 2 | LED_MATRIX_EFFECT(WAVE_UP_DOWN) |
| 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS | 3 | # ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS |
| 4 | 4 | ||
