Migrate DIRECT_PINS
to data driven (#19826)
This commit is contained in:
@@ -20,19 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define ENCODERS_PAD_A { B5, B6 }
|
||||
#define ENCODERS_PAD_B { B4, B2 }
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 4
|
||||
#define MATRIX_COLS 4
|
||||
|
||||
/*Keyboard Matrix Assignments */
|
||||
|
||||
#define DIRECT_PINS { \
|
||||
{ NO_PIN, E6, C6, NO_PIN }, \
|
||||
{ D2, D7, D4, D3 }, \
|
||||
{ F7, B1, B3, NO_PIN }, \
|
||||
{ F6, F5, F4, NO_PIN } \
|
||||
}
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
@@ -10,6 +10,14 @@
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
[null, "E6", "C6", null],
|
||||
["D2", "D7", "D4", "D3"],
|
||||
["F7", "B1", "B3", null],
|
||||
["F6", "F5", "F4", null]
|
||||
]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
Reference in New Issue
Block a user