Migrate DIRECT_PINS
to data driven (#19826)
This commit is contained in:
@@ -18,21 +18,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments
|
||||
*
|
||||
* Change this to how you wired your keyboard
|
||||
* COLS: AVR pins used for columns, left to right
|
||||
* ROWS: AVR pins used for rows, top to bottom
|
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
||||
*
|
||||
*/
|
||||
#define DIRECT_PINS \
|
||||
{ \
|
||||
{ D4, D2, E6, B5, D7 } \
|
||||
}
|
||||
|
||||
// These pins are not broken out, and cannot be used normally.
|
||||
// They are set as output and pulled high, by default
|
||||
#define UNUSABLE_PINS \
|
||||
|
@@ -1,4 +1,9 @@
|
||||
{
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina"
|
||||
"bootloader": "caterina",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["D4", "D2", "E6", "B5", "D7"]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user