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

@ -3,20 +3,6 @@
#pragma once
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 6
#define DIRECT_PINS {{B1, B10, A8, B15, B14, B13}, \
{B9, B8, B5, B4, B3, A15}, \
{A3, A4, A5, A6, A7, B0}, \
{A2, A1, A0, NO_PIN, NO_PIN, NO_PIN}}
#define DIRECT_PINS_RIGHT {{B13, B14, B15, A8, B10, B1}, \
{A15, B3, B4, B5, B8, B9}, \
{B0, A7, A6, A5, A4, A3}, \
{A0, A1, A2, NO_PIN, NO_PIN, NO_PIN}}
#define SERIAL_USART_FULL_DUPLEX // Enable full duplex operation mode.
#define SERIAL_USART_TX_PIN B6 // USART TX pin
#define SERIAL_USART_RX_PIN B7 // USART RX pin

View file

@ -19,6 +19,26 @@
"pid": "0x0000",
"vid": "0xFEED"
},
"matrix_pins": {
"direct": [
["B1", "B10", "A8", "B15", "B14", "B13"],
["B9", "B8", "B5", "B4", "B3", "A15"],
["A3", "A4", "A5", "A6", "A7", "B0"],
["A2", "A1", "A0", null, null, null]
]
},
"split": {
"matrix_pins": {
"right": {
"direct": [
["B13", "B14", "B15", "A8", "B10", "B1"],
["A15", "B3", "B4", "B5", "B8", "B9"],
["B0", "A7", "A6", "A5", "A4", "A3"],
["A0", "A1", "A2", null, null, null]
]
}
}
},
"community_layouts": ["split_3x6_3"],
"layouts": {
"LAYOUT_split_3x6_3": {