mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 17:37:40 +06:00
24 lines
509 B
C
24 lines
509 B
C
#pragma once
|
|
|
|
#include "config_common.h"
|
|
|
|
/* key matrix size */
|
|
#define MATRIX_ROWS 4
|
|
#define MATRIX_COLS 3
|
|
|
|
#define MATRIX_ROW_PINS { D2, D3, C6, C7 }
|
|
#define MATRIX_COL_PINS { B4, D7, D6 }
|
|
#define UNUSED_PINS
|
|
|
|
/* COL2ROW or ROW2COL */
|
|
#define DIODE_DIRECTION ROW2COL
|
|
|
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
|
#define DEBOUNCE 5
|
|
|
|
/* number of backlight levels */
|
|
#define BACKLIGHT_LEVELS 3
|
|
|
|
/* Locking resynchronize hack */
|
|
#define LOCKING_RESYNC_ENABLE
|