From 3d75f5c5a5a60b1ba85f92f32d47b890b8db69e8 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 15 Jun 2024 14:53:36 +0200 Subject: [PATCH] remove own setting for streak --- common/keymap.h | 13 ------------- 1 file changed, 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; - } -}