summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q0/rev_0130/config.h
diff options
context:
space:
mode:
authorlalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com>2023-02-03 05:33:56 +0800
committerGitHub <noreply@github.com>2023-02-02 13:33:56 -0800
commita76e70cffff69d5ba30a39f844df490fcddd93c7 (patch)
tree877ea885fade7aadaa3175191a2b78f87f633bca /keyboards/keychron/q0/rev_0130/config.h
parentd3b00d959421c183acb4ebc5c1a8882d39264b17 (diff)
[Keyboard] Add rev_0131 for Keychron Q0 (#19547)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/keychron/q0/rev_0130/config.h')
-rw-r--r--keyboards/keychron/q0/rev_0130/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/keychron/q0/rev_0130/config.h b/keyboards/keychron/q0/rev_0130/config.h
index 126d636589..80a2e150af 100644
--- a/keyboards/keychron/q0/rev_0130/config.h
+++ b/keyboards/keychron/q0/rev_0130/config.h
@@ -16,9 +16,19 @@
#pragma once
+/* key matrix pins */
+#define MATRIX_ROW_PINS { B5, B4, B3, A15, A14, A13 }
+#define MATRIX_COL_PINS { A5, A6, A7, B0 }
+
+/* RGB Matrix Driver Configuration */
+#define DRIVER_COUNT 1
+#define DRIVER_ADDR_1 0b1110100
+
/* RGB Matrix Configuration */
#define DRIVER_1_LED_TOTAL 21
#define RGB_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL
+#define RGB_MATRIX_CENTER { 56, 16 }
+
/* Enable num-lock LED */
#define NUM_LOCK_LED_INDEX 4