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
158 changed files with 560 additions and 1197 deletions

View File

@@ -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 */

View File

@@ -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": [