aboutsummaryrefslogtreecommitdiff
path: root/quantum/led_matrix/led_matrix.h
diff options
context:
space:
mode:
authorPascal Getreuer <[email protected]>2025-05-11 16:30:19 -0700
committerGitHub <[email protected]>2025-05-12 09:30:19 +1000
commitf4171412a676ae3cbd1cd50e859a7deb1a554e15 (patch)
tree57d1acc2b9f9651b8d82299a3288cbe51b0199cb /quantum/led_matrix/led_matrix.h
parent7f42a5bc03a3f80d65314c69adb0b1176cf13167 (diff)
downloadqmk_firmware-f4171412a676ae3cbd1cd50e859a7deb1a554e15.tar.gz
qmk_firmware-f4171412a676ae3cbd1cd50e859a7deb1a554e15.zip
Enable community modules to define LED matrix and RGB matrix effects. (#25187)
Co-authored-by: Joel Challis <[email protected]>
Diffstat (limited to 'quantum/led_matrix/led_matrix.h')
-rw-r--r--quantum/led_matrix/led_matrix.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/led_matrix/led_matrix.h b/quantum/led_matrix/led_matrix.h
index 0006d487e9..0dfe33ffab 100644
--- a/quantum/led_matrix/led_matrix.h
+++ b/quantum/led_matrix/led_matrix.h
@@ -98,6 +98,12 @@ enum led_matrix_effects {
#include "led_matrix_effects.inc"
#undef LED_MATRIX_EFFECT
+#ifdef COMMUNITY_MODULES_ENABLE
+# define LED_MATRIX_EFFECT(name, ...) LED_MATRIX_COMMUNITY_MODULE_##name,
+# include "led_matrix_community_modules.inc"
+# undef LED_MATRIX_EFFECT
+#endif
+
#if defined(LED_MATRIX_CUSTOM_KB) || defined(LED_MATRIX_CUSTOM_USER)
# define LED_MATRIX_EFFECT(name, ...) LED_MATRIX_CUSTOM_##name,
# ifdef LED_MATRIX_CUSTOM_KB