[Core] Flow Tap tap-hold option to disable HRMs during fast typing (#25125)
aka Global Quick Tap, Require Prior Idle
This commit is contained in:
parent
a7bf8e64a5
commit
8d8dcb089e
11 changed files with 648 additions and 36 deletions
|
@ -22,11 +22,7 @@ bool process_leader(uint16_t keycode, keyrecord_t *record) {
|
|||
if (record->event.pressed) {
|
||||
if (leader_sequence_active() && !leader_sequence_timed_out()) {
|
||||
#ifndef LEADER_KEY_STRICT_KEY_PROCESSING
|
||||
if (IS_QK_MOD_TAP(keycode)) {
|
||||
keycode = QK_MOD_TAP_GET_TAP_KEYCODE(keycode);
|
||||
} else if (IS_QK_LAYER_TAP(keycode)) {
|
||||
keycode = QK_LAYER_TAP_GET_TAP_KEYCODE(keycode);
|
||||
}
|
||||
keycode = get_tap_keycode(keycode);
|
||||
#endif
|
||||
|
||||
if (!leader_sequence_add(keycode)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue