Move matrix config to info.json, part 6 (#20019)

This commit is contained in:
Ryan
2023-03-11 00:32:05 +11:00
committed by GitHub
parent 9e64300e67
commit 76cc7fe109
702 changed files with 1779 additions and 5015 deletions

View File

@@ -1 +0,0 @@
#pragma once

View File

@@ -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"
},

View File

@@ -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