Migrate DIRECT_PINS
to data driven (#19826)
This commit is contained in:
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 1
|
||||
#define MATRIX_COLS 6
|
||||
|
||||
#define DIRECT_PINS {{ B4, F6, F5, F4, B5, F7 }}
|
||||
|
||||
#define ENCODERS_PAD_A { B6, B3 }
|
||||
#define ENCODERS_PAD_B { B2, B1 }
|
||||
#define ENCODER_RESOLUTION 4
|
||||
|
@@ -10,6 +10,11 @@
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["B4", "F6", "F5", "F4", "B5", "F7"]
|
||||
]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [{"x":0.5, "y":0.75}, {"x":2.5, "y":0.75}, {"x":0, "y":1.75}, {"x":1, "y":1.75}, {"x":2, "y":1.75}, {"x":3, "y":1.75}]
|
||||
|
Reference in New Issue
Block a user