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

@@ -1,27 +0,0 @@
/* Copyright 2020 Yatara
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 4
/* Pinout */
#define DIRECT_PINS { \
{B4, B5, B6, B7} \
}

View File

@@ -10,6 +10,11 @@
},
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"matrix_pins": {
"direct": [
["B4", "B5", "B6", "B7"]
]
},
"layouts": {
"LAYOUT": {
"layout": [