2019-05-15 02:00:31 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
/* key matrix size */
|
|
|
|
#define MATRIX_ROWS 5
|
|
|
|
#define MATRIX_COLS 12
|
|
|
|
|
2021-01-01 17:32:21 +01:00
|
|
|
/*
|
|
|
|
* Keyboard Matrix Assignments
|
|
|
|
*
|
|
|
|
* Change this to how you wired your keyboard
|
|
|
|
* COLS: AVR pins used for columns, left to right
|
|
|
|
* ROWS: AVR pins used for rows, top to bottom
|
|
|
|
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
|
|
|
|
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
|
|
|
|
*
|
|
|
|
*/
|
2019-05-15 02:00:31 +02:00
|
|
|
#define MATRIX_ROW_PINS { F7, B1, B3, B2, B6 }
|
|
|
|
#define MATRIX_COL_PINS { B5, B4, E6, D7, C6, D4, D0, D1, D2, F6, F5, F4 }
|
|
|
|
|
2021-01-01 17:32:21 +01:00
|
|
|
/* COL2ROW, ROW2COL */
|
2019-05-15 02:00:31 +02:00
|
|
|
#define DIODE_DIRECTION COL2ROW
|
|
|
|
|
2021-01-01 17:32:21 +01:00
|
|
|
#define RGB_DI_PIN D3
|
2019-05-15 02:00:31 +02:00
|
|
|
#ifdef RGB_DI_PIN
|
2021-01-01 17:32:21 +01:00
|
|
|
# define RGBLED_NUM 12
|
|
|
|
# define RGBLIGHT_HUE_STEP 4
|
|
|
|
# define RGBLIGHT_SAT_STEP 4
|
|
|
|
# define RGBLIGHT_VAL_STEP 4
|
|
|
|
//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
|
|
|
|
//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
2022-10-15 18:55:27 +02:00
|
|
|
# define RGBLIGHT_EFFECT_BREATHING
|
|
|
|
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
|
|
|
|
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
|
|
|
|
# define RGBLIGHT_EFFECT_SNAKE
|
|
|
|
# define RGBLIGHT_EFFECT_KNIGHT
|
|
|
|
# define RGBLIGHT_EFFECT_CHRISTMAS
|
|
|
|
# define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
|
|
|
# define RGBLIGHT_EFFECT_RGB_TEST
|
|
|
|
# define RGBLIGHT_EFFECT_ALTERNATING
|
|
|
|
# define RGBLIGHT_EFFECT_TWINKLE
|
2019-05-15 02:00:31 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* 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
|
2021-01-01 17:32:21 +01:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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
|