Migrate DIRECT_PINS
to data driven (#19826)
This commit is contained in:
@@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 2
|
||||
#define MATRIX_COLS 3
|
||||
|
||||
#define DIRECT_PINS {{D4,D5,B1}, {C3,C2,C1}}
|
||||
|
||||
/* Optional encoder pins */
|
||||
#define ENCODERS_PAD_A { D6 }
|
||||
#define ENCODERS_PAD_B { D7 }
|
||||
|
@@ -1,4 +1,10 @@
|
||||
{
|
||||
"processor": "atmega328p",
|
||||
"bootloader": "usbasploader"
|
||||
"bootloader": "usbasploader",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["D4", "D5", "B1"],
|
||||
["C3", "C2", "C1"]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@@ -19,12 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
/* key matrix size */
|
||||
#define MATRIX_ROWS 2
|
||||
#define MATRIX_COLS 3
|
||||
|
||||
#define DIRECT_PINS {{GP6,GP8,GP10}, {GP29,GP28,GP22}}
|
||||
|
||||
/* Optional encoder pins */
|
||||
#define ENCODERS_PAD_A { GP24 }
|
||||
#define ENCODERS_PAD_B { GP25 }
|
||||
|
@@ -1,4 +1,10 @@
|
||||
{
|
||||
"processor": "RP2040",
|
||||
"bootloader": "rp2040"
|
||||
"bootloader": "rp2040",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["GP6", "GP8", "GP10"],
|
||||
["GP29", "GP28", "GP22"]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user