Move matrix config to info.json, part 5 (#20003)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-03-11 05:41:58 +11:00
committed by GitHub
parent 1022afa6c2
commit e933e0411f
683 changed files with 1764 additions and 4315 deletions

View File

@@ -3,23 +3,6 @@
#pragma once
/*
* Keyboard Matrix Assignments
*
* Change this to how you wired your keyboard
* COLS: AVR pins used for columns, left to right
* ROWS: AVR pins used for rows, top to bottom
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/
#define MATRIX_ROW_PINS { F4, F5, C7, C6 }
#define MATRIX_COL_PINS { F6, B7, B6, B4, B5, D6, D5, D3, D7, D4, D2, D1, D0, B0 }
/* COL2ROW, ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define TAP_CODE_DELAY 10
/* Underglow options: */

View File

@@ -7,6 +7,11 @@
"pid": "0x0002",
"vid": "0x4450"
},
"matrix_pins": {
"cols": ["F6", "B7", "B6", "B4", "B5", "D6", "D5", "D3", "D7", "D4", "D2", "D1", "D0", "B0"],
"rows": ["F4", "F5", "C7", "C6"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "F1", "pin_b": "F0"}