summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q5_pro/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/q5_pro/config.h')
-rwxr-xr-xkeyboards/keychron/q5_pro/config.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/keyboards/keychron/q5_pro/config.h b/keyboards/keychron/q5_pro/config.h
index 87236a1247..c60b086d04 100755
--- a/keyboards/keychron/q5_pro/config.h
+++ b/keyboards/keychron/q5_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
@@ -74,12 +73,17 @@
#endif
/* Encoder Configuration */
-#define ENCODER_DEFAULT_POS 0x3
+#ifdef ENCODER_ENABLE
+# define ENCODER_DEFAULT_POS 0x3
+#endif
/* Emulated EEPROM configuration */
#define FEE_DENSITY_BYTES FEE_PAGE_SIZE
#define DYNAMIC_KEYMAP_EEPROM_MAX_ADDR 2047
+/* HC595 Driver configuration */
+#define HC595_END_INDEX 19
+
/* Factory test keys */
#define FN_KEY1 MO(1)
#define FN_KEY2 MO(3)