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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
494 changed files with 1235 additions and 3287 deletions

View file

@ -16,14 +16,6 @@
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS { B3, B2 }
#define MATRIX_COL_PINS { B5, B4, B1, B0 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* RBG underglow */
#define RGB_DI_PIN C2
#ifdef RGB_DI_PIN

View file

@ -8,6 +8,11 @@
"pid": "0x0008",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B5", "B4", "B1", "B0"],
"rows": ["B3", "B2"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {