mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-26 19:18:03 +06:00
14 lines
244 B
C
14 lines
244 B
C
|
#pragma once
|
||
|
|
||
|
|
||
|
/* key matrix size */
|
||
|
#define MATRIX_ROWS 3
|
||
|
#define MATRIX_COLS 4
|
||
|
|
||
|
/* key matrix pins */
|
||
|
#define MATRIX_ROW_PINS { D1, D0, D4 }
|
||
|
#define MATRIX_COL_PINS { C6, D7, E6, B4 }
|
||
|
|
||
|
/* COL2ROW or ROW2COL */
|
||
|
#define DIODE_DIRECTION COL2ROW
|