Move matrix config to info.json, part 4 (#20001)
This commit is contained in:
@@ -16,10 +16,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#define MATRIX_ROW_PINS { B6, B4, D6, D5, D1, C6, B5, D7, D4, D0 }
|
||||
#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7 }
|
||||
|
||||
/* rgb num */
|
||||
#define RGBLED_NUM 10
|
||||
#define RGB_DI_PIN D3
|
||||
@@ -34,8 +30,5 @@
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
|
||||
/* COL2ROW, ROW2COL*/
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define PMW33XX_CS_PIN SPI_SS_PIN
|
||||
#define POINTING_DEVICE_INVERT_Y
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7"],
|
||||
"rows": ["B6", "B4", "D6", "D5", "D1", "C6", "B5", "D7", "D4", "D0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B7", "pin_b": "E6"}
|
||||
|
Reference in New Issue
Block a user