Move matrix config to info.json, part 2 (#19987)

This commit is contained in:
Ryan
2023-03-10 22:16:56 +11:00
committed by GitHub
parent 80661e5f19
commit dd086a51d8
494 changed files with 1235 additions and 3287 deletions

View File

@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// Checked with Eagle Schematic
#define MATRIX_ROW_PINS { B1, B2, B3, D3, D1, D0 }
#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4, B0, B7, E6}
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Define RGB */
#define RGBLED_NUM 87
#define RGB_MATRIX_LED_COUNT 87

View File

@@ -8,6 +8,11 @@
"pid": "0x0003",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "B0", "B7", "E6"],
"rows": ["B1", "B2", "B3", "D3", "D1", "D0"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layout_aliases": {