2018-11-28 03:43:48 +06:00
|
|
|
#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 }
|
|
|
|
|
|
|
|
/* COL2ROW or ROW2COL */
|
|
|
|
#define DIODE_DIRECTION ROW2COL
|
|
|
|
|
|
|
|
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
|
2019-06-07 01:09:56 +06:00
|
|
|
#define DEBOUNCE 5
|
2018-11-28 03:43:48 +06:00
|
|
|
|
|
|
|
/* number of backlight levels */
|
|
|
|
#define BACKLIGHT_LEVELS 3
|
|
|
|
|
|
|
|
/* Locking resynchronize hack */
|
|
|
|
#define LOCKING_RESYNC_ENABLE
|