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

@@ -15,20 +15,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 { B3, D4, F1, C6 }
#define MATRIX_COL_PINS { F4, F5, B0, B2, B1, B4, D7, C7, D2, F7 }
/*
* WS2812 Underglow Matrix options
*/

View File

@@ -2,6 +2,11 @@
"usb": {
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F4", "F5", "B0", "B2", "B1", "B4", "D7", "C7", "D2", "F7"],
"rows": ["B3", "D4", "F1", "C6"]
},
"diode_direction": "ROW2COL",
"encoder": {
"rotary": [
{"pin_a": "D5", "pin_b": "D3"}