Move matrix config to info.json, part 6 (#20019)
This commit is contained in:
@@ -1 +0,0 @@
|
||||
#pragma once
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0C60",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F7", "F6", "B1", "B3", "B2", "B6", "B5", "B4"],
|
||||
"rows": ["F4", "F5", "C6", "D7", "E6"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
|
@@ -1,11 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
// wiring of each half
|
||||
#define MATRIX_ROW_PINS { F4, F5, C6, D7, E6 }
|
||||
#define MATRIX_COL_PINS { F7, F6, B1, B3, B2, B6, B5, B4 }
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
/* ws2812 RGB LED */
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 1 // Number of LEDs
|
||||
|
Reference in New Issue
Block a user