summaryrefslogtreecommitdiffstats
path: root/keyboards/deng/djam/config.h
diff options
context:
space:
mode:
authorLeo Deng <myst.dg@gmail.com>2023-01-20 12:24:06 +0800
committerGitHub <noreply@github.com>2023-01-19 21:24:06 -0700
commit255e138ee18e65e63000b64f019096ed4dbe3b5f (patch)
tree781eab68e83779cf365037619e2b2dea2bcad4fa /keyboards/deng/djam/config.h
parentf2ad3ba7c3ccff20560010ebe57c76d381771499 (diff)
djam add rgb matrix (#19621)
Diffstat (limited to 'keyboards/deng/djam/config.h')
-rw-r--r--keyboards/deng/djam/config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/deng/djam/config.h b/keyboards/deng/djam/config.h
index 001b2ff19f..edb558930d 100644
--- a/keyboards/deng/djam/config.h
+++ b/keyboards/deng/djam/config.h
@@ -26,3 +26,14 @@
#define BACKLIGHT_PIN B7
#define BACKLIGHT_LEVELS 5
+
+#ifdef RGB_MATRIX_ENABLE
+#define RGB_DI_PIN D5
+#define RGB_MATRIX_LED_COUNT 31
+#define RGB_MATRIX_KEYPRESSES
+#define ENABLE_RGB_MATRIX_BREATHING
+#define ENABLE_RGB_MATRIX_CYCLE_ALL
+#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
+#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
+#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
+#endif