diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:32:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:32:05 +1100 |
commit | 76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (patch) | |
tree | f25535b5a7d7d489b5bb77b5c8c57b24ba78a849 /keyboards/handwired/sono1/stm32f103 | |
parent | 9e64300e67720a5468c2585391250ca5579b311b (diff) |
Move matrix config to info.json, part 6 (#20019)
Diffstat (limited to 'keyboards/handwired/sono1/stm32f103')
-rw-r--r-- | keyboards/handwired/sono1/stm32f103/config.h | 4 | ||||
-rw-r--r-- | keyboards/handwired/sono1/stm32f103/info.json | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/keyboards/handwired/sono1/stm32f103/config.h b/keyboards/handwired/sono1/stm32f103/config.h index b961eaffd6..7cd783c0e9 100644 --- a/keyboards/handwired/sono1/stm32f103/config.h +++ b/keyboards/handwired/sono1/stm32f103/config.h @@ -17,9 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -#define MATRIX_ROW_PINS { A5, B3, A9, A10, B13, B14, B15, A8, B7, B8, B9, C13, A15, A0, A1 } -#define MATRIX_COL_PINS { A4, A3, B11, B10, B1, B0, A7, A6 } - #define LED_CTRL_XFER_PIN B6 #define LED_KB_LOCK_PIN B12 diff --git a/keyboards/handwired/sono1/stm32f103/info.json b/keyboards/handwired/sono1/stm32f103/info.json index b25392382a..f6e874a77f 100644 --- a/keyboards/handwired/sono1/stm32f103/info.json +++ b/keyboards/handwired/sono1/stm32f103/info.json @@ -2,6 +2,11 @@ "usb": { "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["A4", "A3", "B11", "B10", "B1", "B0", "A7", "A6"], + "rows": ["A5", "B3", "A9", "A10", "B13", "B14", "B15", "A8", "B7", "B8", "B9", "C13", "A15", "A0", "A1"] + }, + "diode_direction": "COL2ROW", "indicators": { "caps_lock": "B5", "num_lock": "B4", |