Move matrix config to info.json, part 7 (#20020)
This commit is contained in:
parent
ace372d90d
commit
caa8c81086
421 changed files with 1081 additions and 3038 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue