1
0
Fork 0

Move matrix config to info.json, part 7 (#20020)

This commit is contained in:
Ryan 2023-03-11 00:39:56 +11:00 committed by GitHub
parent ace372d90d
commit caa8c81086
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
421 changed files with 1081 additions and 3038 deletions

View file

@ -8,6 +8,11 @@
"pid": "0x7075",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B12", "B13", "B14", "B15", "A8", "A15", "B3", "B4", "B5", "B8", "B9", "C13", "C14", "C15", "A0", "A1"],
"rows": ["B11", "B10", "B1", "B0", "A7", "A6"]
},
"diode_direction": "COL2ROW",
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",

View file

@ -16,23 +16,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 { B11, B10, B1, B0, A7, A6 }
#define MATRIX_COL_PINS { B12, B13, B14, B15, A8, A15, B3, B4, B5, B8, B9, C13, C14, C15, A0, A1 }
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define RGB_MATRIX_LED_COUNT 92
#define DRIVER_INDICATOR_LED_TOTAL 0