Migrate DIRECT_PINS
to data driven (#19826)
This commit is contained in:
parent
0b796b91a3
commit
2cdf99ae95
158 changed files with 560 additions and 1197 deletions
|
@ -17,15 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
|
||||
#define MATRIX_ROWS 2
|
||||
#define MATRIX_COLS 3
|
||||
|
||||
#define DIRECT_PINS { \
|
||||
{ B12, B6, B7 }, \
|
||||
{ NO_PIN, B5, NO_PIN} \
|
||||
}
|
||||
|
||||
/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */
|
||||
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
|
||||
|
||||
|
|
|
@ -10,6 +10,12 @@
|
|||
},
|
||||
"processor": "STM32F072",
|
||||
"bootloader": "stm32-dfu",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["B12", "B6", "B7"],
|
||||
[null, "B5", null]
|
||||
]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":0.5, "y":1, "w":2}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue