Migrate DIRECT_PINS to data driven (#19826)

This commit is contained in:
Ryan
2023-02-14 18:39:41 +11:00
committed by GitHub
parent 0b796b91a3
commit 2cdf99ae95
158 changed files with 560 additions and 1197 deletions

View File

@@ -17,18 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3
/* Keyboard Matrix Assignments */
#define DIRECT_PINS { \
{ B12, B5, B6 }, \
{ B14, B4, B7 }, \
{ A3, F1, F0 } \
}
// Left, Right, Middle
#define ENCODERS_PAD_A { A8, B3, A10 }
#define ENCODERS_PAD_B { A4, A15, A9 }

View File

@@ -5,5 +5,12 @@
"device_version": "2.0.0"
},
"processor": "STM32F072",
"bootloader": "stm32-dfu"
"bootloader": "stm32-dfu",
"matrix_pins": {
"direct": [
["B12", "B5", "B6"],
["B14", "B4", "B7"],
["A3", "F1", "F0"]
]
}
}