summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q2/rev_0111/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-01-22 10:26:24 +0000
committerQMK Bot <hello@qmk.fm>2022-01-22 10:26:24 +0000
commit8863e1f6963e9cd3f938cc31bf0ccb96e4c525be (patch)
treebf38ed01b42d330752bfbf6650d95836b26fee9c /keyboards/keychron/q2/rev_0111/config.h
parent82c194f86cbe3f349144d703a4a549eeece05073 (diff)
parent57d116796a4eaa1415bc8c6776ece59366001cfb (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/keychron/q2/rev_0111/config.h')
-rw-r--r--keyboards/keychron/q2/rev_0111/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboards/keychron/q2/rev_0111/config.h b/keyboards/keychron/q2/rev_0111/config.h
index cc50d0688a..76cd5d0e78 100644
--- a/keyboards/keychron/q2/rev_0111/config.h
+++ b/keyboards/keychron/q2/rev_0111/config.h
@@ -20,9 +20,14 @@
#define PRODUCT_ID 0x0111
#define DEVICE_VER 0x0100
+/* RGB Matrix Configuration */
+#define DRIVER_1_LED_TOTAL 34
+#define DRIVER_2_LED_TOTAL 33
+#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
+
/* Encoder used pins */
#define ENCODERS_PAD_A { A10 }
#define ENCODERS_PAD_B { B5 }
/* Specifies the number of pulses the encoder registers between each detent */
-#define ENCODER_RESOLUTION 2
+#define ENCODER_RESOLUTION 4