2018-09-19 23:16:18 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
/* key matrix size */
|
|
|
|
#define MATRIX_ROWS 6
|
|
|
|
#define MATRIX_COLS 16
|
|
|
|
|
|
|
|
/* Planck PCB default pin-out */
|
|
|
|
#define MATRIX_ROW_PINS { F1, F4, F5, F0, B3, B0 }
|
|
|
|
#define MATRIX_COL_PINS { B2, D0, D1, D2, D3, D5, D4, D6, D7, B4, B1, C6, C7, E6, F6, F7 }
|
|
|
|
|
|
|
|
/* COL2ROW or ROW2COL */
|
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
|
2020-11-21 19:11:24 +00:00
|
|
|
#define LED_CAPS_LOCK_PIN B6
|
|
|
|
#define LED_SCROLL_LOCK_PIN B7
|
|
|
|
|
|
|
|
#define BACKLIGHT_PIN B5
|
|
|
|
#define BACKLIGHT_BREATHING
|
2018-09-19 23:16:18 +00:00
|
|
|
#define BACKLIGHT_LEVELS 3
|
|
|
|
|
|
|
|
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
|
|
|
#define LOCKING_SUPPORT_ENABLE
|
|
|
|
|
|
|
|
/* Locking resynchronize hack */
|
|
|
|
#define LOCKING_RESYNC_ENABLE
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Feature disable options
|
|
|
|
* These options are also useful to firmware size reduction.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* disable debug print */
|
|
|
|
//#define NO_DEBUG
|
|
|
|
|
|
|
|
/* disable print */
|
|
|
|
//#define NO_PRINT
|
|
|
|
|
|
|
|
/* disable action features */
|
|
|
|
//#define NO_ACTION_LAYER
|
|
|
|
//#define NO_ACTION_TAPPING
|
|
|
|
//#define NO_ACTION_ONESHOT
|