summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q0/rev_0131
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 04:59:07 +1100
committerGitHub <noreply@github.com>2023-03-11 04:59:07 +1100
commit1022afa6c24a64c78d1c9be99a695ff5335876f7 (patch)
treed5891c76ad09f9c0177ef11753796e31f6cfbc19 /keyboards/keychron/q0/rev_0131
parent4b1f0e8daa8cfacbbc3cdc22653e2bc1458cea96 (diff)
Move matrix config to info.json, part 8 (#20030)
Diffstat (limited to 'keyboards/keychron/q0/rev_0131')
-rw-r--r--keyboards/keychron/q0/rev_0131/config.h4
-rw-r--r--keyboards/keychron/q0/rev_0131/info.json5
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/keychron/q0/rev_0131/config.h b/keyboards/keychron/q0/rev_0131/config.h
index f94517ebb4..e4c5c2d3fc 100644
--- a/keyboards/keychron/q0/rev_0131/config.h
+++ b/keyboards/keychron/q0/rev_0131/config.h
@@ -16,10 +16,6 @@
#pragma once
-/* key matrix pins */
-#define MATRIX_ROW_PINS { B5, B4, B3, A15, A14, A13 }
-#define MATRIX_COL_PINS { C14, C15, A0, A1, A2 }
-
/* RGB Matrix Driver Configuration */
#define DRIVER_COUNT 1
#define DRIVER_ADDR_1 0b1110111
diff --git a/keyboards/keychron/q0/rev_0131/info.json b/keyboards/keychron/q0/rev_0131/info.json
index 94808bd9c4..d447502cba 100644
--- a/keyboards/keychron/q0/rev_0131/info.json
+++ b/keyboards/keychron/q0/rev_0131/info.json
@@ -8,6 +8,11 @@
"pid": "0x0131",
"device_version": "1.0.0"
},
+ "matrix_pins": {
+ "cols": ["C14", "C15", "A0", "A1", "A2"],
+ "rows": ["B5", "B4", "B3", "A15", "A14", "A13"]
+ },
+ "diode_direction": "ROW2COL",
"encoder": {
"rotary": [
{"pin_a": "A3", "pin_b": "A4"}