Migrate DIRECT_PINS
to data driven (#19826)
This commit is contained in:
@@ -16,14 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix size */
|
||||
#define DIRECT_PINS { \
|
||||
{ D0, B1, B0 }, \
|
||||
{ B7, B2, B3 } \
|
||||
}
|
||||
|
||||
|
||||
#define ENCODERS_PAD_A { C6 }
|
||||
#define ENCODERS_PAD_B { B6 }
|
||||
#define ENCODER_RESOLUTION 2
|
||||
|
@@ -10,6 +10,12 @@
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["D0", "B1", "B0"],
|
||||
["B7", "B2", "B3"]
|
||||
]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [{"label":"0,0", "x":0, "y":0}, {"label":"0,1", "x":1, "y":0}, {"label":"0,2", "x":2, "y":0}, {"label":"1,0", "x":0, "y":1}, {"label":"1,1", "x":1, "y":1}, {"label":"1,2", "x":2, "y":1}]
|
||||
|
Reference in New Issue
Block a user