Move matrix config to info.json, part 2 (#19987)
This commit is contained in:
@@ -15,12 +15,6 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define MATRIX_ROW_PINS { B15, B14, B12, B1, B0 }
|
||||
#define MATRIX_COL_PINS { B13, A7, A6, A5, A4, A3, A2, B7, B6, B5, B4, B3, A15, A14 }
|
||||
|
||||
// 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
|
||||
|
||||
|
@@ -2,6 +2,11 @@
|
||||
"usb": {
|
||||
"device_version": "0.2.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B13", "A7", "A6", "A5", "A4", "A3", "A2", "B7", "B6", "B5", "B4", "B3", "A15", "A14"],
|
||||
"rows": ["B15", "B14", "B12", "B1", "B0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"indicators": {
|
||||
"caps_lock": "A1"
|
||||
},
|
||||
|
Reference in New Issue
Block a user