2019-09-07 17:58:17 +02:00
|
|
|
/* Wait between tap_code register and unregister to fix flaky media keys. */
|
2019-06-07 21:58:23 +02:00
|
|
|
#undef TAP_CODE_DELAY
|
|
|
|
|
2019-09-07 17:58:17 +02:00
|
|
|
#define TAP_CODE_DELAY 20
|
2019-06-07 21:58:23 +02:00
|
|
|
|
2020-02-11 04:11:09 +01:00
|
|
|
/*
|
|
|
|
* Force the default tapping term since some keyboards make it way too short
|
|
|
|
* (*cough*Lily58*cough*).
|
|
|
|
*/
|
2019-10-05 21:40:08 +02:00
|
|
|
#undef TAPPING_TERM
|
|
|
|
|
2020-02-11 04:11:09 +01:00
|
|
|
#define TAPPING_TERM 200
|
2019-10-05 21:40:08 +02:00
|
|
|
|
2019-10-20 20:41:36 +02:00
|
|
|
/*
|
|
|
|
* Treat mod-tap keys as holds even if the mod-tap key and the key being
|
|
|
|
* modified are both relased within TAPPING_TERM. This assumes the mod-tap key
|
|
|
|
* isn't usually pressed in quick succession with other tapped keys, which is
|
|
|
|
* good when the tap keycode is something like KC_ESC rather than a letter.
|
|
|
|
*/
|
|
|
|
#define PERMISSIVE_HOLD
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Turn off key repeat support of the tap keycode for tap-hold keys, enabling
|
|
|
|
* holds to work correctly in quick succession after taps.
|
|
|
|
*/
|
|
|
|
#define TAPPING_FORCE_HOLD
|
|
|
|
|
2019-12-26 16:46:18 +01:00
|
|
|
#if defined(RGB_MATRIX_ENABLE)
|
|
|
|
/* Turn off per-key RGB when the host goes to sleep. */
|
|
|
|
#define RGB_DISABLE_WHEN_USB_SUSPENDED true
|
|
|
|
|
|
|
|
/* Keep per-key RGB increments consistent across keyboards. */
|
|
|
|
#undef RGB_MATRIX_HUE_STEP
|
|
|
|
#undef RGB_MATRIX_SAT_STEP
|
|
|
|
#undef RGB_MATRIX_VAL_STEP
|
|
|
|
#undef RGB_MATRIX_SPD_STEP
|
|
|
|
|
|
|
|
#define RGB_MATRIX_HUE_STEP 8
|
|
|
|
#define RGB_MATRIX_SAT_STEP 17
|
|
|
|
#define RGB_MATRIX_VAL_STEP 17
|
|
|
|
#define RGB_MATRIX_SPD_STEP 17
|
|
|
|
|
|
|
|
/* Turn on additional RGB animations. */
|
|
|
|
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
|
|
|
#define RGB_MATRIX_KEYPRESSES
|
|
|
|
#endif
|
|
|
|
|
2019-09-07 17:58:17 +02:00
|
|
|
#if defined(RGBLIGHT_ENABLE)
|
2019-10-20 20:41:36 +02:00
|
|
|
/* Turn off RGB underglow when the host goes to sleep. */
|
|
|
|
#define RGBLIGHT_SLEEP
|
2019-05-23 06:08:48 +02:00
|
|
|
|
2019-10-20 20:41:36 +02:00
|
|
|
/* Keep RGB underglow level increments consistent across keyboards. */
|
|
|
|
#undef RGBLIGHT_HUE_STEP
|
|
|
|
#undef RGBLIGHT_SAT_STEP
|
|
|
|
#undef RGBLIGHT_VAL_STEP
|
2019-05-23 06:08:48 +02:00
|
|
|
|
2019-10-20 20:41:36 +02:00
|
|
|
#define RGBLIGHT_HUE_STEP 8
|
|
|
|
#define RGBLIGHT_SAT_STEP 17
|
|
|
|
#define RGBLIGHT_VAL_STEP 17
|
2019-09-07 17:58:17 +02:00
|
|
|
#endif
|
2019-05-23 06:08:48 +02:00
|
|
|
|
2019-09-07 17:58:17 +02:00
|
|
|
#if defined(BACKLIGHT_ENABLE)
|
2019-10-20 20:41:36 +02:00
|
|
|
/* Enable backlight breathing across the board. */
|
|
|
|
#define BACKLIGHT_BREATHING
|
2019-05-23 06:08:48 +02:00
|
|
|
|
2019-10-20 20:41:36 +02:00
|
|
|
/* Keep backlight level increments consistent across keyboards. */
|
|
|
|
#undef BACKLIGHT_LEVELS
|
2019-05-23 06:08:48 +02:00
|
|
|
|
2019-10-20 20:41:36 +02:00
|
|
|
#define BACKLIGHT_LEVELS 7
|
2019-09-07 17:58:17 +02:00
|
|
|
#endif
|
2019-05-23 06:08:48 +02:00
|
|
|
|
2019-09-07 17:58:17 +02:00
|
|
|
#if defined(MOUSEKEY_ENABLE)
|
2019-10-20 20:41:36 +02:00
|
|
|
/* Make mouse operation smoother. */
|
|
|
|
#undef MOUSEKEY_DELAY
|
|
|
|
#undef MOUSEKEY_INTERVAL
|
|
|
|
|
|
|
|
#define MOUSEKEY_DELAY 0
|
|
|
|
#define MOUSEKEY_INTERVAL 16
|
|
|
|
|
|
|
|
/* Lower mouse speed to adjust for reduced MOUSEKEY_INTERVAL. */
|
|
|
|
#undef MOUSEKEY_MAX_SPEED
|
|
|
|
#undef MOUSEKEY_TIME_TO_MAX
|
|
|
|
#undef MOUSEKEY_WHEEL_MAX_SPEED
|
|
|
|
#undef MOUSEKEY_WHEEL_TIME_TO_MAX
|
|
|
|
|
|
|
|
#define MOUSEKEY_MAX_SPEED 7
|
|
|
|
#define MOUSEKEY_TIME_TO_MAX 150
|
|
|
|
#define MOUSEKEY_WHEEL_MAX_SPEED 3
|
|
|
|
#define MOUSEKEY_WHEEL_TIME_TO_MAX 150
|
2019-09-07 17:58:17 +02:00
|
|
|
#endif
|