aboutsummaryrefslogtreecommitdiff
path: root/quantum/led_matrix
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/led_matrix')
-rw-r--r--quantum/led_matrix/animations/alpha_mods_anim.h2
-rw-r--r--quantum/led_matrix/animations/band_anim.h2
-rw-r--r--quantum/led_matrix/animations/band_pinwheel_anim.h2
-rw-r--r--quantum/led_matrix/animations/band_spiral_anim.h2
-rw-r--r--quantum/led_matrix/animations/breathing_anim.h2
-rw-r--r--quantum/led_matrix/animations/cycle_left_right_anim.h2
-rw-r--r--quantum/led_matrix/animations/cycle_out_in_anim.h2
-rw-r--r--quantum/led_matrix/animations/cycle_up_down_anim.h2
-rw-r--r--quantum/led_matrix/animations/dual_beacon_anim.h2
-rw-r--r--quantum/led_matrix/animations/solid_reactive_cross.h8
-rw-r--r--quantum/led_matrix/animations/solid_reactive_nexus.h10
-rw-r--r--quantum/led_matrix/animations/solid_reactive_simple_anim.h2
-rw-r--r--quantum/led_matrix/animations/solid_reactive_wide.h8
-rw-r--r--quantum/led_matrix/animations/solid_splash_anim.h8
-rw-r--r--quantum/led_matrix/animations/wave_left_right_anim.h2
-rw-r--r--quantum/led_matrix/animations/wave_up_down_anim.h2
-rw-r--r--quantum/led_matrix/led_matrix.h1
-rw-r--r--quantum/led_matrix/led_matrix_legacy_enables.h82
18 files changed, 112 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
2LED_MATRIX_EFFECT(ALPHAS_MODS) 2LED_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
2LED_MATRIX_EFFECT(BAND) 2LED_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
2LED_MATRIX_EFFECT(BAND_PINWHEEL) 2LED_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
2LED_MATRIX_EFFECT(BAND_SPIRAL) 2LED_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
2LED_MATRIX_EFFECT(BREATHING) 2LED_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
2LED_MATRIX_EFFECT(CYCLE_LEFT_RIGHT) 2LED_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
2LED_MATRIX_EFFECT(CYCLE_OUT_IN) 2LED_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
2LED_MATRIX_EFFECT(CYCLE_UP_DOWN) 2LED_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
2LED_MATRIX_EFFECT(DUAL_BEACON) 2LED_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
5LED_MATRIX_EFFECT(SOLID_REACTIVE_CROSS) 5LED_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
9LED_MATRIX_EFFECT(SOLID_REACTIVE_MULTICROSS) 9LED_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
26bool SOLID_REACTIVE_CROSS(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_REACTIVE_CROSS_math); } 26bool 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
30bool SOLID_REACTIVE_MULTICROSS(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_REACTIVE_CROSS_math); } 30bool 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
5LED_MATRIX_EFFECT(SOLID_REACTIVE_NEXUS) 5LED_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
9LED_MATRIX_EFFECT(SOLID_REACTIVE_MULTINEXUS) 9LED_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
23bool SOLID_REACTIVE_NEXUS(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_REACTIVE_NEXUS_math); } 23bool 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
27bool SOLID_REACTIVE_MULTINEXUS(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_REACTIVE_NEXUS_math); } 27bool 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
3LED_MATRIX_EFFECT(SOLID_REACTIVE_SIMPLE) 3LED_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
5LED_MATRIX_EFFECT(SOLID_REACTIVE_WIDE) 5LED_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
9LED_MATRIX_EFFECT(SOLID_REACTIVE_MULTIWIDE) 9LED_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
21bool SOLID_REACTIVE_WIDE(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_REACTIVE_WIDE_math); } 21bool 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
25bool SOLID_REACTIVE_MULTIWIDE(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_REACTIVE_WIDE_math); } 25bool 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
5LED_MATRIX_EFFECT(SOLID_SPLASH) 5LED_MATRIX_EFFECT(SOLID_SPLASH)
6# endif 6# endif
7 7
8# ifndef DISABLE_LED_MATRIX_SOLID_MULTISPLASH 8# ifdef ENABLE_LED_MATRIX_SOLID_MULTISPLASH
9LED_MATRIX_EFFECT(SOLID_MULTISPLASH) 9LED_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
21bool SOLID_SPLASH(effect_params_t* params) { return effect_runner_reactive_splash(qsub8(g_last_hit_tracker.count, 1), params, &SOLID_SPLASH_math); } 21bool 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
25bool SOLID_MULTISPLASH(effect_params_t* params) { return effect_runner_reactive_splash(0, params, &SOLID_SPLASH_math); } 25bool 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
2LED_MATRIX_EFFECT(WAVE_LEFT_RIGHT) 2LED_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
2LED_MATRIX_EFFECT(WAVE_UP_DOWN) 2LED_MATRIX_EFFECT(WAVE_UP_DOWN)
3# ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS 3# ifdef LED_MATRIX_CUSTOM_EFFECT_IMPLS
4 4
diff --git a/quantum/led_matrix/led_matrix.h b/quantum/led_matrix/led_matrix.h
index 6f85854fb..a7a1c983f 100644
--- a/quantum/led_matrix/led_matrix.h
+++ b/quantum/led_matrix/led_matrix.h
@@ -23,6 +23,7 @@
23#include <stdbool.h> 23#include <stdbool.h>
24#include "led_matrix_types.h" 24#include "led_matrix_types.h"
25#include "quantum.h" 25#include "quantum.h"
26#include "led_matrix_legacy_enables.h"
26 27
27#ifdef IS31FL3731 28#ifdef IS31FL3731
28# include "is31fl3731-simple.h" 29# include "is31fl3731-simple.h"
diff --git a/quantum/led_matrix/led_matrix_legacy_enables.h b/quantum/led_matrix/led_matrix_legacy_enables.h
new file mode 100644
index 000000000..7738d2f34
--- /dev/null
+++ b/quantum/led_matrix/led_matrix_legacy_enables.h
@@ -0,0 +1,82 @@
1/* Copyright 2021 QMK
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17// to-do: remove this
18
19#pragma once
20
21#ifndef DISABLE_LED_MATRIX_ALPHAS_MODS
22# define ENABLE_LED_MATRIX_ALPHAS_MODS
23#endif
24#ifndef DISABLE_LED_MATRIX_BREATHING
25# define ENABLE_LED_MATRIX_BREATHING
26#endif
27#ifndef DISABLE_LED_MATRIX_BAND
28# define ENABLE_LED_MATRIX_BAND
29#endif
30#ifndef DISABLE_LED_MATRIX_BAND_PINWHEEL
31# define ENABLE_LED_MATRIX_BAND_PINWHEEL
32#endif
33#ifndef DISABLE_LED_MATRIX_BAND_SPIRAL
34# define ENABLE_LED_MATRIX_BAND_SPIRAL
35#endif
36#ifndef DISABLE_LED_MATRIX_CYCLE_LEFT_RIGHT
37# define ENABLE_LED_MATRIX_CYCLE_LEFT_RIGHT
38#endif
39#ifndef DISABLE_LED_MATRIX_CYCLE_UP_DOWN
40# define ENABLE_LED_MATRIX_CYCLE_UP_DOWN
41#endif
42#ifndef DISABLE_LED_MATRIX_CYCLE_OUT_IN
43# define ENABLE_LED_MATRIX_CYCLE_OUT_IN
44#endif
45#ifndef DISABLE_LED_MATRIX_DUAL_BEACON
46# define ENABLE_LED_MATRIX_DUAL_BEACON
47#endif
48#if defined(LED_MATRIX_KEYREACTIVE_ENABLED)
49# ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_SIMPLE
50# define ENABLE_LED_MATRIX_SOLID_REACTIVE_SIMPLE
51# endif
52# ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_WIDE
53# define ENABLE_LED_MATRIX_SOLID_REACTIVE_WIDE
54# endif
55# ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTIWIDE
56# define ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTIWIDE
57# endif
58# ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_CROSS
59# define ENABLE_LED_MATRIX_SOLID_REACTIVE_CROSS
60# endif
61# ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTICROSS
62# define ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTICROSS
63# endif
64# ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_NEXUS
65# define ENABLE_LED_MATRIX_SOLID_REACTIVE_NEXUS
66# endif
67# ifndef DISABLE_LED_MATRIX_SOLID_REACTIVE_MULTINEXUS
68# define ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTINEXUS
69# endif
70# ifndef DISABLE_LED_MATRIX_SPLASH
71# define ENABLE_LED_MATRIX_SPLASH
72# endif
73# ifndef DISABLE_LED_MATRIX_MULTISPLASH
74# define ENABLE_LED_MATRIX_MULTISPLASH
75# endif
76#endif
77#ifndef DISABLE_LED_MATRIX_WAVE_LEFT_RIGHT
78# define ENABLE_LED_MATRIX_WAVE_LEFT_RIGHT
79#endif
80#ifndef DISABLE_LED_MATRIX_WAVE_UP_DOWN
81# define ENABLE_LED_MATRIX_WAVE_UP_DOWN
82#endif