17 lines
311 B
C
17 lines
311 B
C
#pragma once
|
|
|
|
|
|
/* key matrix size */
|
|
#define MATRIX_ROWS 1
|
|
#define MATRIX_COLS 6
|
|
|
|
#define MATRIX_ROW_PINS { A0 }
|
|
#define MATRIX_COL_PINS { B4, A15, B3, A1, B6, B5 }
|
|
|
|
/* COL2ROW, ROW2COL */
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
#define LED_NUM_LOCK_PIN A9
|
|
#define LED_CAPS_LOCK_PIN A10
|
|
#define LED_SCROLL_LOCK_PIN A8
|