Add mouse key and tapping settings

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

View file

@ -10,9 +10,29 @@
// #define ASETNIOP_ENABLE (corded writing) // #define ASETNIOP_ENABLE (corded writing)
// #define ARTSENIO_ENABLE (one handed 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 #ifdef TAP_DANCE_ENABLE
# define TAPPING_TERM 120 # define TAPPING_TERM 120
# ifdef DYNAMIC_TAPPING_TERM_ENABLE # ifdef DYNAMIC_TAPPING_TERM_ENABLE
# define DYNAMIC_TAPPING_TERM_INCREMENT 10 # define DYNAMIC_TAPPING_TERM_INCREMENT 10
# endif // DYNAMIC_TAPPING_TERM_ENABLE # endif // DYNAMIC_TAPPING_TERM_ENABLE
#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 #endif // TAP_DANCE_ENABLED

View file

@ -289,11 +289,11 @@ void symR_reset(tap_dance_state_t *state, void *user_data);
#ifdef DYNAMIC_TAPPING_TERM_ENABLE #ifdef DYNAMIC_TAPPING_TERM_ENABLE
# define _SL4_2_ DE_SECT, DT_DOWN # define _SL4_2_ DE_SECT, DT_DOWN
# define _SL4_3_ DT_PRNT, _SL4_2_ # define _SL4_3_ DT_PRNT, _SL4_2_
# define _SR4_2_ DT_UP, KC_SPC # define _SR4_2_ DT_UP, SFT_SPC
#else #else
# define _SL4_2_ DE_SECT, DE_GRV # define _SL4_2_ DE_SECT, DE_GRV
# define _SL4_3_ DE_DEG, _SL4_2_ # define _SL4_3_ DE_DEG, _SL4_2_
# define _SR4_2_ KC_RALT, KC_SPC # define _SR4_2_ KC_RALT, SFT_SPC
#endif // DYNAMIC_TAPPING_TERM_ENABLE #endif // DYNAMIC_TAPPING_TERM_ENABLE
#define _SR4_3_ _SR4_2_, CW_TOGG #define _SR4_3_ _SR4_2_, CW_TOGG
// //
@ -354,7 +354,7 @@ void symR_reset(tap_dance_state_t *state, void *user_data);
// //
#define _LL4_2_ KC_LSFT, KC_TRNS #define _LL4_2_ KC_LSFT, KC_TRNS
#define _LL4_3_ DE_DLR, _LL4_2_ #define _LL4_3_ DE_DLR, _LL4_2_
#define _LR4_2_ ATT(KC_BSPC), KC_SPC #define _LR4_2_ ATT(KC_BSPC), SFT_SPC
#define _LR4_3_ _LR4_2_, KC_APP #define _LR4_3_ _LR4_2_, KC_APP
// //
#define _LOWER_3x5_ _LL1_5_, _LR1_5_, _LL2_5_, _LR2_5_, _LL3_5_, _LR3_5_ #define _LOWER_3x5_ _LL1_5_, _LR1_5_, _LL2_5_, _LR2_5_, _LL3_5_, _LR3_5_