summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
Diffstat (limited to 'quantum')
-rw-r--r--quantum/led_matrix/post_config.h19
-rw-r--r--quantum/rgb_matrix/post_config.h29
2 files changed, 48 insertions, 0 deletions
diff --git a/quantum/led_matrix/post_config.h b/quantum/led_matrix/post_config.h
new file mode 100644
index 0000000000..b6770b9ee1
--- /dev/null
+++ b/quantum/led_matrix/post_config.h
@@ -0,0 +1,19 @@
+// Copyright 2023 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+// clang-format off
+
+// reactive
+#if defined(ENABLE_LED_MATRIX_SOLID_REACTIVE_SIMPLE) || \
+ defined(ENABLE_LED_MATRIX_SOLID_REACTIVE_WIDE) || \
+ defined(ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTIWIDE) || \
+ defined(ENABLE_LED_MATRIX_SOLID_REACTIVE_CROSS) || \
+ defined(ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTICROSS) || \
+ defined(ENABLE_LED_MATRIX_SOLID_REACTIVE_NEXUS) || \
+ defined(ENABLE_LED_MATRIX_SOLID_REACTIVE_MULTINEXUS) || \
+ defined(ENABLE_LED_MATRIX_SOLID_SPLASH) || \
+ defined(ENABLE_LED_MATRIX_SOLID_MULTISPLASH)
+# define LED_MATRIX_KEYPRESSES
+#endif
diff --git a/quantum/rgb_matrix/post_config.h b/quantum/rgb_matrix/post_config.h
new file mode 100644
index 0000000000..7162c8679b
--- /dev/null
+++ b/quantum/rgb_matrix/post_config.h
@@ -0,0 +1,29 @@
+// Copyright 2023 QMK
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+// clang-format off
+
+// framebuffer
+#if defined(ENABLE_RGB_MATRIX_TYPING_HEATMAP) || \
+ defined(ENABLE_RGB_MATRIX_DIGITAL_RAIN)
+# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
+#endif
+
+// reactive
+#if defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE) || \
+ defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE) || \
+ defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE) || \
+ defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE) || \
+ defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS) || \
+ defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS) || \
+ defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS) || \
+ defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS) || \
+ defined(ENABLE_RGB_MATRIX_SPLASH) || \
+ defined(ENABLE_RGB_MATRIX_MULTISPLASH) || \
+ defined(ENABLE_RGB_MATRIX_SOLID_SPLASH) || \
+ defined(ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS) || \
+ defined(ENABLE_RGB_MATRIX_SOLID_MULTISPLASH)
+# define RGB_MATRIX_KEYPRESSES
+#endif