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

@@ -17,12 +17,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MATRIX_ROW_PINS { A2, A14, A15, B3, B4, B5 }
#define MATRIX_COL_PINS { A1, B9, A3, A4, A5, A6, A7, B0, B1, B2, B10, B11, B12, B13, B14, B15, A8 }
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
/* Ensure we jump to bootloader if the QK_BOOT keycode was pressed */
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE

View File

@@ -8,6 +8,11 @@
"pid": "0x3838",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["A1", "B9", "A3", "A4", "A5", "A6", "A7", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8"],
"rows": ["A2", "A14", "A15", "B3", "B4", "B5"]
},
"diode_direction": "COL2ROW",
"indicators": {
"caps_lock": "B6",
"on_state": 0