diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-06-15 14:53:36 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-06-15 14:53:36 +0200 |
commit | 3d75f5c5a5a60b1ba85f92f32d47b890b8db69e8 (patch) | |
tree | 72bfba396acfd3619c973187b745c04e6a9aa9c4 /common/keymap.h | |
parent | 9720844cb1d15920f6b2c8cd931e2891ea91fe84 (diff) |
remove own setting for streak
Diffstat (limited to 'common/keymap.h')
-rw-r--r-- | common/keymap.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/common/keymap.h b/common/keymap.h index 72208b8..4bf2012 100644 --- a/common/keymap.h +++ b/common/keymap.h @@ -103,16 +103,3 @@ bool achordion_chord(uint16_t tap_hold_keycode, on_left_hand(other_record->event.key); } -uint16_t achordion_streak_timeout(uint16_t tap_hold_keycode) { - if (IS_QK_LAYER_TAP(tap_hold_keycode)) { - return 0; // Disable streak detection on layer-tap keys. - } - - // Otherwise, tap_hold_keycode is a mod-tap key. - const uint8_t mod = mod_config(QK_MOD_TAP_GET_MODS(tap_hold_keycode)); - if ((mod & (MOD_LSFT | MOD_RSFT)) != 0) { - return 0; // Disable for Shift mod-tap keys. - } else { - return 100; - } -} |