Migrate DIRECT_PINS
to data driven (#19826)
This commit is contained in:
@@ -17,19 +17,6 @@
|
||||
|
||||
#define USB_MAX_POWER_CONSUMPTION 100
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 1
|
||||
#define MATRIX_COLS 1
|
||||
|
||||
/* Default pinout */
|
||||
/* See arduino micro pinout: https://content.arduino.cc/assets/Pinout-Micro_latest.png
|
||||
* for pins e.g.
|
||||
* PB5 = digital pin 9 / analog pin 9
|
||||
*/
|
||||
#define DIRECT_PINS { \
|
||||
{B5} \
|
||||
}
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
#define RGB_DI_PIN B6
|
||||
#define RGBLED_NUM 1
|
||||
|
@@ -10,6 +10,11 @@
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["B5"]
|
||||
]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [ {"x": 0, "y": 0 }]
|
||||
|
Reference in New Issue
Block a user