summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/keymap.h13
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;
- }
-}