Move matrix config to info.json, part 6 (#20019)
This commit is contained in:
@@ -17,17 +17,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#define MATRIX_ROW_PINS { B13, B14, B15, A8, A9, A3, A10, A1, A2, A15, A0 }
|
||||
#define MATRIX_COL_PINS { B11, B10, B1, B0, A7, A6, A5, A4 }
|
||||
|
||||
#define NUM_LOCK_LED_PIN B5
|
||||
#define SCROLL_LOCK_LED_PIN B4
|
||||
#define CAPS_LOCK_LED_PIN B3
|
||||
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B11", "B10", "B1", "B0", "A7", "A6", "A5", "A4"],
|
||||
"rows": ["B13", "B14", "B15", "A8", "A9", "A3", "A10", "A1", "A2", "A15", "A0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "STM32F103",
|
||||
"bootloader": "stm32duino",
|
||||
"layouts": {
|
||||
|
Reference in New Issue
Block a user