Skip to content

Commit

Permalink
Use quick tap term instead of force hold
Browse files Browse the repository at this point in the history
  • Loading branch information
sid-6581 committed Oct 29, 2024
1 parent 1df56c7 commit a6bec59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion builddefs/build_vial.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ifeq ($(strip $(QMK_SETTINGS)), yes)
SRC += $(QUANTUM_DIR)/qmk_settings.c
OPT_DEFS += -DQMK_SETTINGS \
-DAUTO_SHIFT_NO_SETUP -DAUTO_SHIFT_REPEAT_PER_KEY -DAUTO_SHIFT_NO_AUTO_REPEAT_PER_KEY \
-DPERMISSIVE_HOLD_PER_KEY -DHOLD_ON_OTHER_KEY_PRESS_PER_KEY -DTAPPING_FORCE_HOLD_PER_KEY -DRETRO_TAPPING_PER_KEY \
-DPERMISSIVE_HOLD_PER_KEY -DHOLD_ON_OTHER_KEY_PRESS_PER_KEY -DQUICK_TAP_TERM_PER_KEY -DRETRO_TAPPING_PER_KEY \
-DCOMBO_TERM_PER_COMBO
endif

Expand Down
4 changes: 2 additions & 2 deletions quantum/qmk_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) {
return !(QS.tapping & 2);
}

bool get_tapping_force_hold(uint16_t keycode, keyrecord_t *record) {
return QS.tapping & 4;
uint16_t get_quick_tap_term(uint16_t keycode, keyrecord_t *record) {
return QS.tapping & 4 ? 0 : QS.tapping_term;
}

bool get_retro_tapping(uint16_t keycode, keyrecord_t *record) {
Expand Down

0 comments on commit a6bec59

Please sign in to comment.