LFK87 refactor (#20635)

This commit is contained in:
Ryan
2023-05-02 10:10:55 +10:00
committed by GitHub
parent 50a8287f34
commit 4b1ec081d4
13 changed files with 453 additions and 200 deletions

View File

@@ -17,26 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define DIODE_DIRECTION COL2ROW
#ifdef LFK_TKL_REV_A
/* RevB Matrix config */
#define MATRIX_ROWS 6
#define MATRIX_COLS 17
#define MATRIX_ROW_PINS {D2, D3, D4, D5, D6, D7 }
#define MATRIX_COL_PINS {A0, A1, A2, A3, A4, A5, A6, A7, E6, E7,\
F0, F1, F2, F3, C0, C1, C2 }
#define RGBLED_NUM 25 // Number of LEDs
#else
/* RevC/D Matrix config */
#define MATRIX_ROWS 7
#define MATRIX_COLS 16
#define MATRIX_ROW_PINS {F2, D7, D6, D5, D4, D3, F3}
#define MATRIX_COL_PINS {A0, A1, A2, A3, A4, A5, A6, A7, C7, C1, C0, E1, E0, C2, C3, C4}
#define RGBLED_NUM 24 // Number of LEDs
#endif
#define AUDIO_VOICES
#define AUDIO_PIN C6