Migrate DIRECT_PINS to data driven (#19826)

This commit is contained in:
Ryan
2023-02-14 18:39:41 +11:00
committed by GitHub
parent 0b796b91a3
commit 2cdf99ae95
158 changed files with 560 additions and 1197 deletions

View File

@@ -15,16 +15,6 @@
*/
#pragma once
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 1
/* Milk default pinout */
#define DIRECT_PINS { \
{D4}, \
{C6} \
}
#ifdef RGBLIGHT_ENABLE
#define RGB_DI_PIN B6
#define RGBLED_NUM 1

View File

@@ -10,6 +10,12 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {
"direct": [
["D4"],
["C6"]
]
},
"layouts": {
"LAYOUT": {
"layout": [ {"x": 0, "y": 0 }, {"x": 0, "y": 1 }]