remove own setting for streak
This commit is contained in:
parent
9720844cb1
commit
3d75f5c5a5
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue