Migrate DIRECT_PINS
to data driven (#19826)
This commit is contained in:
@@ -1,13 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 2
|
||||
#define MATRIX_COLS 3
|
||||
|
||||
/* define direct pins used */
|
||||
#define DIRECT_PINS { { D1,C6,B4}, { D0,D4,D7} }
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
|
@@ -10,6 +10,12 @@
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["D1", "C6", "B4"],
|
||||
["D0", "D4", "D7"]
|
||||
]
|
||||
},
|
||||
"community_layouts": ["ortho_2x3"],
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_2x3": {
|
||||
|
@@ -1,16 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 2
|
||||
#define MATRIX_COLS 4
|
||||
|
||||
/* define direct pins used */
|
||||
#define DIRECT_PINS \
|
||||
{ \
|
||||
{D1, D0, D4, C6}, { D7, E6, B4, B5 } \
|
||||
}
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
|
@@ -10,6 +10,12 @@
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["D1", "D0", "D4", "C6"],
|
||||
["D7", "E6", "B4", "B5"]
|
||||
]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_2x4": {
|
||||
"layout": [
|
||||
|
@@ -1,13 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 2
|
||||
#define MATRIX_COLS 5
|
||||
|
||||
/* define direct pins used */
|
||||
#define DIRECT_PINS { { D1,C6,B4,B5,B2}, { D0,D4,D7,E6,B6} }
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
|
@@ -10,6 +10,12 @@
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["D1", "C6", "B4", "B5", "B2"],
|
||||
["D0", "D4", "D7", "E6", "B6"]
|
||||
]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_2x5": {
|
||||
"layout": [
|
||||
|
Reference in New Issue
Block a user