Move matrix config to info.json, part 4 (#20001)

This commit is contained in:
Ryan
2023-03-11 00:00:24 +11:00
committed by GitHub
parent dd086a51d8
commit 9e64300e67
584 changed files with 1484 additions and 3703 deletions

View File

@@ -16,22 +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 { B4, B5, B6, C6, F7 }
#define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D0, D1, D2, D3, D5, F0, F1, C7, F4, F5, F6 }
#define DIODE_DIRECTION COL2ROW
#define RGB_DI_PIN E6
#define RGB_MATRIX_LED_COUNT 67
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses

View File

@@ -8,6 +8,11 @@
"pid": "0xBB91",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "D5", "F0", "F1", "C7", "F4", "F5", "F6"],
"rows": ["B4", "B5", "B6", "C6", "F7"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {