Move matrix config to info.json, part 2 (#19987)
This commit is contained in:
@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* Force USB NKRO */
|
||||
#define FORCE_NKRO
|
||||
|
||||
#define MATRIX_ROW_PINS { B3, B4, B5, B6, B7, A0 }
|
||||
#define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, B0, B1, B2, B10, B11, B12, B13, B14, B15 }
|
||||
|
||||
/* COL2ROW, ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD1
|
||||
#define BACKLIGHT_PWM_CHANNEL 3
|
||||
#define BACKLIGHT_PAL_MODE 6
|
||||
|
@@ -7,6 +7,11 @@
|
||||
"pid": "0x0001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A1", "A2", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15"],
|
||||
"rows": ["B3", "B4", "B5", "B6", "B7", "A0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A15", "pin_b": "A14", "resolution": 2}
|
||||
|
Reference in New Issue
Block a user