Move matrix config to info.json, part 8 (#20030)
This commit is contained in:
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#define MATRIX_ROW_PINS { B5, B0, B3, B4 }
|
||||
#define MATRIX_COL_PINS { A1, A0, A2, A3 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* RGB underglow */
|
||||
// NOTE: for PS2AVRGB boards, underglow commands are sent via I2C to 0xB0.
|
||||
#define RGBLED_NUM 4
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0044",
|
||||
"device_version": "2.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A1", "A0", "A2", "A3"],
|
||||
"rows": ["B5", "B0", "B3", "B4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"backlight": {
|
||||
"pin": "D4",
|
||||
"levels": 12,
|
||||
|
Reference in New Issue
Block a user