Move matrix config to info.json, part 3 (#19991)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-03-11 00:34:34 +11:00
committed by GitHub
parent 76cc7fe109
commit ace372d90d
623 changed files with 1593 additions and 4581 deletions

View File

@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS { D5, D6, D7, D0, C5, C4 }
#define MATRIX_COL_PINS { B4, B3, B2, B1, B0, A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C3 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View File

@ -8,6 +8,11 @@
"pid": "0x5575",
"device_version": "0.0.3"
},
"matrix_pins": {
"cols": ["B4", "B3", "B2", "B1", "B0", "A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C3"],
"rows": ["D5", "D6", "D7", "D0", "C5", "C4"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "C1", "pin_b": "C2"}