Add mouse key and tapping settings

This commit is contained in:
Björn Struckmeier 2024-12-09 01:51:52 -05:00
parent 56973404ac
commit 578c29f110
2 changed files with 24 additions and 4 deletions

View file

@ -10,9 +10,29 @@
// #define ASETNIOP_ENABLE (corded writing)
// #define ARTSENIO_ENABLE (one handed writing)
// Mousekey mode
#ifdef MOUSEKEY_ENABLE
# define MK_COMBINED
# define MOUSEKEY_MAX_SPEED 4
# define MOUSEKEY_TIME_TO_MAX 45
# define MOUSEKEY_WHEEL_MAX_SPEED 20
# define MOUSEKEY_WHEEL_TIME_TO_MAX 60
#endif // MOUSEKEY_ENABLE
#ifdef COMBO_ENABLE
# define COMBO_SHOULD_TRIGGER
#endif // COMBO_ENABLE
#ifdef TAP_DANCE_ENABLE
# define TAPPING_TERM 120
# ifdef DYNAMIC_TAPPING_TERM_ENABLE
# define DYNAMIC_TAPPING_TERM_INCREMENT 10
# endif // DYNAMIC_TAPPING_TERM_ENABLE
#endif // TAP_DANCE_ENABLED
#else
// Tap-hold settings
# define TAPPING_TERM 170
# define TAP_CODE_DELAY 20
# define PERMISSIVE_HOLD
# define TAPPING_FORCE_HOLD
# define ONESHOT_TAP_TOGGLE 3
#endif // TAP_DANCE_ENABLED