aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/dztech/dz60rgb/config.h
diff options
context:
space:
mode:
authormoyi4681 <moyi4681@users.noreply.github.com>2019-05-10 09:48:07 +0800
committerDrashna Jaelre <drashna@live.com>2019-05-09 18:48:07 -0700
commitbce391a663d2848bff8ffffca0e4bad771bd3890 (patch)
tree59837151307cfda19e6da1bf7b97223db664320e /keyboards/dztech/dz60rgb/config.h
parent2835a7074985f25dea9398a7ac211914c9d52fe4 (diff)
downloadfirmware-bce391a663d2848bff8ffffca0e4bad771bd3890.tar.gz
firmware-bce391a663d2848bff8ffffca0e4bad771bd3890.tar.bz2
firmware-bce391a663d2848bff8ffffca0e4bad771bd3890.zip
[Keyboard] DZTECH: CODE CLEANUP (#5828)
* Delete board.c * Delete board.h * Delete board.mk * Delete bootloader_defs.h * Delete chconf.h * Delete halconf.h * Delete mcuconf.h * Update rules.mk * Update config.h * Update config.h * Update config.h * Update config.h * Update config.h * Update rules.mk * Delete bootloader_defs.h * Delete halconf.h * Delete chconf.h * Delete mcuconf.h * Update rules.mk * Update config.h * Update dz40rgb.c * Update dz65rgb.c
Diffstat (limited to 'keyboards/dztech/dz60rgb/config.h')
-rw-r--r--keyboards/dztech/dz60rgb/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/dztech/dz60rgb/config.h b/keyboards/dztech/dz60rgb/config.h
index 0c04acce3..edf0982ab 100644
--- a/keyboards/dztech/dz60rgb/config.h
+++ b/keyboards/dztech/dz60rgb/config.h
@@ -32,5 +32,11 @@
#define DRIVER_ADDR_1 0b1010000
#define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
#define DRIVER_COUNT 2
+#if defined (dzrgb60_ansi) || defined (dzrgb60_iso)
+#define DRIVER_1_LED_TOTAL 61
+#elif defined (dzrgb60_hhkb) || defined (dzrgb60_hhkb_iso)
+#define DRIVER_1_LED_TOTAL 62
+#else
#define DRIVER_1_LED_TOTAL 63
+#endif
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL