1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
494 changed files with 1235 additions and 3287 deletions

View file

@ -16,11 +16,6 @@
#pragma once
// wiring of each half
#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 }
#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
#define DIODE_DIRECTION COL2ROW
#define TAPPING_TERM 100
/* joystick support */

View file

@ -8,6 +8,11 @@
"pid": "0x2784",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "C6", "D7", "E6", "B4", "B5"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "F5", "pin_b": "F4", "resolution": 2}