1
0
Fork 0

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

View file

@ -5,15 +5,5 @@
#pragma once
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 4
/* key matrix pins */
#define DIRECT_PINS { \
{ D7, C6, D4, D1 }, \
{ B1, B4, B5, B3 } \
}
#define ENCODERS_PAD_A { D2, F7 }
#define ENCODERS_PAD_B { D3, F6 }

View file

@ -10,6 +10,12 @@
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"matrix_pins": {
"direct": [
["D7", "C6", "D4", "D1"],
["B1", "B4", "B5", "B3"]
]
},
"layout_aliases": {
"LAYOUT": "LAYOUT_ortho_2x4"
},