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

@ -16,18 +16,6 @@
#pragma once
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 6
/* Keyboard Matrix Assignments */
#define DIRECT_PINS { \
{ D6, B4, C7, B1, E6, D7 }, \
{ C6, D4, D0, D1, D2, D2 }, \
{ F0, F1, F5, F5, F6, F7 } \
}
/* LEDs Pins */
#define LED_PINS 5
#define LED_PINS_HW {B5, B6, B7, B3, B2}

View file

@ -10,6 +10,13 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"matrix_pins": {
"direct": [
["D6", "B4", "C7", "B1", "E6", "D7"],
["C6", "D4", "D0", "D1", "D2", "D2"],
["F0", "F1", "F5", "F5", "F6", "F7"]
]
},
"debounce": 10,
"layouts": {
"LAYOUT": {