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

@ -16,22 +16,6 @@
#pragma once
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 3
/* Keyboard Matrix Assignments */
// clang-format off
#define DIRECT_PINS { \
{ NO_PIN, NO_PIN, GP0 }, \
{ GP1, GP2, GP3 }, \
{ GP4, GP5, GP6 }, \
{ GP7, GP8, GP9 }, \
{ GP10, GP11, GP12 } \
}
// clang-format on
/* OLED SPI Defines */
#define OLED_DISPLAY_128X64
#define OLED_IC OLED_IC_SH1106

View file

@ -10,6 +10,15 @@
},
"processor": "RP2040",
"bootloader": "rp2040",
"matrix_pins": {
"direct": [
[null, null, "GP0"],
["GP1", "GP2", "GP3"],
["GP4", "GP5", "GP6"],
["GP7", "GP8", "GP9"],
["GP10", "GP11", "GP12"]
]
},
"layouts": {
"LAYOUT": {
"layout": [