1
0
Fork 0

Move matrix config to info.json, part 5 (#20003)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan 2023-03-11 05:41:58 +11:00 committed by GitHub
parent 1022afa6c2
commit e933e0411f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
683 changed files with 1764 additions and 4315 deletions

View file

@ -17,22 +17,6 @@
#pragma once
/*
* Key matrix pins
* ROWS: AVR pins used for rows, top to bottom
* COLS: AVR pins used for columns, left to right
*/
#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 }
#define MATRIX_COL_PINS { D7, C7, C6, B6, B5, B4, D6, D4, E6, D5, D3, D2, B7, B0 }
/*
* Diode Direction
* COL2ROW = COL => Anode (+), ROW => Cathode (-)
* ROW2COL = ROW => Anode (+), COL => Cathode (-)
*/
#define DIODE_DIRECTION COL2ROW
#ifdef RGB_MATRIX_ENABLE
# define RGB_DI_PIN E2
# define RGB_MATRIX_LED_COUNT 84