Move matrix config to info.json, part 6 (#20019)

This commit is contained in:
Ryan
2023-03-11 00:32:05 +11:00
committed by GitHub
parent 9e64300e67
commit 76cc7fe109
702 changed files with 1779 additions and 5015 deletions

View File

@@ -17,14 +17,6 @@
#pragma once
/* key matrix size */
// A11 and A12 dont work. They are reserved for USB. B2 is reserved for BOOT1
#define MATRIX_COL_PINS \
{ B1, B10, B9, B8, B5, B4, B3, A15, B15, B14, B13, B12 }
#define MATRIX_ROW_PINS \
{ A4, A3, A2, A1, A0 }
// OLED config
#define OLED_DISPLAY_128X64
#define OLED_DISPLAY_WIDTH 128

View File

@@ -3,6 +3,11 @@
"usb": {
"device_version": "0.0.3"
},
"matrix_pins": {
"cols": ["B1", "B10", "B9", "B8", "B5", "B4", "B3", "A15", "B15", "B14", "B13", "B12"],
"rows": ["A4", "A3", "A2", "A1", "A0"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "C15", "pin_b": "C14", "resolution": 2}