Move matrix config to info.json, part 2 (#19987)
This commit is contained in:
@@ -18,14 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
// wiring of each half
|
||||
#define MATRIX_ROW_PINS { D4, F5, F4, F1 }
|
||||
#define MATRIX_COL_PINS { B2, B3, D6, D7, B4, B5 }
|
||||
// #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6 } //uncomment this line and comment line above if you need to reverse left-to-right key order
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define SELECT_SOFT_SERIAL_SPEED 1
|
||||
// #define USE_I2C
|
||||
#define SPLIT_USB_DETECT
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B2", "B3", "D6", "D7", "B4", "B5"],
|
||||
"rows": ["D4", "F5", "F4", "F1"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B0", "pin_b": "D2"}
|
||||
|
Reference in New Issue
Block a user