Move matrix config to info.json, part 1 (#19985)
This commit is contained in:
@@ -16,14 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS { D4, D6, D7, B4, B5, C6 }
|
||||
#define MATRIX_COL_PINS { D5, D3, D2, D1, D0 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x6060",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D5", "D3", "D2", "D1", "D0"],
|
||||
"rows": ["D4", "D6", "D7", "B4", "B5", "C6"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"backlight": {
|
||||
"pin": "B6"
|
||||
},
|
||||
|
Reference in New Issue
Block a user