Move matrix config to info.json, part 2 (#19987)
This commit is contained in:
@@ -16,13 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS { A15, A14, A13, B3, B4 }
|
||||
#define MATRIX_COL_PINS { A10, A8, B15, B14, B13, B12, B9, B1, B0, A7, A6, A5, A4, A3, A2, A1, A0 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
|
@@ -3,6 +3,11 @@
|
||||
"usb": {
|
||||
"device_version": "0.0.3"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A10", "A8", "B15", "B14", "B13", "B12", "B9", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0"],
|
||||
"rows": ["A15", "A14", "A13", "B3", "B4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "stm32-dfu"
|
||||
}
|
||||
|
Reference in New Issue
Block a user