From 6fec73334aa2161ec66a161c569391e58b707aeb Mon Sep 17 00:00:00 2001 From: lokher Date: Thu, 2 Nov 2023 14:35:25 +0800 Subject: fix q8_pro matrix issue --- keyboards/keychron/q8_pro/config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/keyboards/keychron/q8_pro/config.h b/keyboards/keychron/q8_pro/config.h index cff892ec8d..1ae0db9dde 100755 --- a/keyboards/keychron/q8_pro/config.h +++ b/keyboards/keychron/q8_pro/config.h @@ -20,7 +20,8 @@ #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 +83,7 @@ #endif /* HC595 Driver configuretion */ +#define HC595_OFFSET_INDEX 1 #define HC595_END_INDEX 14 /* Factory test keys */ -- cgit v1.2.3