summaryrefslogtreecommitdiff
path: root/keyboards/preonic/rev3/config.h
diff options
context:
space:
mode:
authorAlbert Y <76888457+filterpaper@users.noreply.github.com>2021-02-28 14:15:38 +0800
committerGitHub <noreply@github.com>2021-02-28 17:15:38 +1100
commitdb7c8562eddb22350fc9849685bf82aa6dc6f31a (patch)
tree65a13fb727315179d5676cbee3f5a281af78cead /keyboards/preonic/rev3/config.h
parent51eac99ce4db739c6149e674ec89ac9fc984c512 (diff)
downloadqmk_firmware-db7c8562eddb22350fc9849685bf82aa6dc6f31a.tar.gz
qmk_firmware-db7c8562eddb22350fc9849685bf82aa6dc6f31a.zip
Add RGB Matrix support for Preonic rev3 (#12008)
* Add g_led_config for RGB Matrix support * Corrected indentation * Undo indentation on existing rev3.c code Co-authored-by: filterpaper <filterpaper@localhost>
Diffstat (limited to 'keyboards/preonic/rev3/config.h')
-rw-r--r--keyboards/preonic/rev3/config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/preonic/rev3/config.h b/keyboards/preonic/rev3/config.h
index e8b09e8484..b336477a32 100644
--- a/keyboards/preonic/rev3/config.h
+++ b/keyboards/preonic/rev3/config.h
@@ -124,6 +124,7 @@
#define RGB_DI_PIN A1
#define RGBLED_NUM 9
#define RGBLIGHT_ANIMATIONS
-
+// RGB Matrix support
+#define DRIVER_LED_TOTAL RGBLED_NUM
#endif