Move matrix config to info.json, part 2 (#19987)

This commit is contained in:
Ryan
2023-03-10 22:16:56 +11:00
committed by GitHub
parent 80661e5f19
commit dd086a51d8
494 changed files with 1235 additions and 3287 deletions

View File

@@ -6,13 +6,6 @@
#define RGB_DI_PIN E6
#define RGBLED_NUM 6
/* key matrix pins */
#define MATRIX_ROW_PINS { F7, D7, C6, D4 }
#define MATRIX_COL_PINS { F4, F5, F6 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* misc */
#define LAYER_STATE_8BIT
#define NO_ACTION_TAPPING

View File

@@ -8,6 +8,11 @@
"pid": "0x2949",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F4", "F5", "F6"],
"rows": ["F7", "D7", "C6", "D4"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B1", "pin_b": "B3"}