mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-28 19:58:48 +06:00
18 lines
399 B
C
18 lines
399 B
C
#pragma once
|
|
|
|
#include "config_common.h"
|
|
|
|
/* key matrix size */
|
|
#define MATRIX_ROWS 4
|
|
#define MATRIX_COLS 12
|
|
|
|
#define MATRIX_ROW_PINS { B8, A0, A1, A2 }
|
|
#define MATRIX_COL_PINS { B13, B14, B15, B9, B7, B6, B5, B4, B3, B2, B1, B0 }
|
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
|
#define DEBOUNCE 5
|
|
|
|
#define FORCE_NKRO
|