forked from mirror/qmk_firmware
Move matrix config to info.json, part 7 (#20020)
This commit is contained in:
@@ -16,15 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*/
|
||||
#define MATRIX_ROW_PINS { D4 }
|
||||
#define MATRIX_COL_PINS { D2, D1, D0 }
|
||||
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
#define RGB_DI_PIN B1
|
||||
#define RGBLED_NUM 2
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
|
||||
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0000",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D2", "D1", "D0"],
|
||||
"rows": ["D4"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"backlight": {
|
||||
"pin": "B6"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user