Migrate DIRECT_PINS
to data driven (#19826)
This commit is contained in:
@@ -18,14 +18,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 4
|
||||
|
||||
/* key matrix pins */
|
||||
#define DIRECT_PINS { { F4, F5, B4, D7 }, { F6, F7, B6, B5 } }
|
||||
|
||||
#define RGB_DI_PIN E6
|
||||
#define RGBLED_NUM 4
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
@@ -9,6 +9,12 @@
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "atmel-dfu",
|
||||
"matrix_pins": {
|
||||
"direct": [
|
||||
["F4", "F5", "B4", "D7"],
|
||||
["F6", "F7", "B6", "B5"]
|
||||
]
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}]
|
||||
|
Reference in New Issue
Block a user