summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q14_pro/config.h
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-10-16 11:48:23 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-10-16 11:48:23 +0800
commit03b160c413f4bd59c60b677dde13e0bda3face56 (patch)
tree5061d6ca350b504ec1a4d8ca43526d65c31c416a /keyboards/keychron/q14_pro/config.h
parent805573369c663ef6dff3714653085e109403051e (diff)
Update q14 pro
Diffstat (limited to 'keyboards/keychron/q14_pro/config.h')
-rwxr-xr-xkeyboards/keychron/q14_pro/config.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/keychron/q14_pro/config.h b/keyboards/keychron/q14_pro/config.h
index 446b9b5a43..2df9cab111 100755
--- a/keyboards/keychron/q14_pro/config.h
+++ b/keyboards/keychron/q14_pro/config.h
@@ -20,8 +20,7 @@
#define RGB_DISABLE_WHEN_USB_SUSPENDED
/* DIP switch */
-#define DIP_SWITCH_PINS \
- { A8 }
+#define DIP_SWITCH_PINS { A8 }
/* Increase I2C speed to 1000 KHz */
#define I2C1_TIMINGR_PRESC 0U
@@ -82,6 +81,9 @@
# define ENCODER_DEFAULT_POS 0x3
#endif
+/* HC595 Driver configuration */
+#define HC595_END_INDEX 18
+
/* Factory test keys */
#define FN_KEY1 MO(1)
#define FN_KEY2 MO(3)