Skip to content

Commit

Permalink
Deactivate after bilateral combination
Browse files Browse the repository at this point in the history
  • Loading branch information
manna-harbour committed Oct 26, 2020
1 parent 3cbda2a commit b8f3651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/tap_hold.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ For instance, holding and releasing `LT(2, KC_SPACE)` without hitting another ke

## Bilateral Combinations

The last mod-tap hold will be converted to the corresponding mod-tap tap if another key on the same hand is tapped during the hold.
The last mod-tap hold will be converted to the corresponding mod-tap tap if another key on the same hand is tapped during the hold, unless a key on the other hand is tapped first.

This option can be used to prevent accidental modifier combinations with mod-tap, in particular those caused by rollover on home row mods. As only the last mod-tap hold is affected, it should be enabled after adjusting settings and typing style so that accidental mods happen only occasionally, e.g. with a long enough tapping term, ignore mod tap interrupt, and deliberately brief keypresses.

Expand Down
2 changes: 1 addition & 1 deletion tmk_core/common/action.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ static void bilateral_combinations_tap(keyevent_t event) {
dprint("BILATERAL_COMBINATIONS: change\n");
unregister_mods(bilateral_combinations.mods);
tap_code(bilateral_combinations.tap);
bilateral_combinations.active = false;
}
bilateral_combinations.active = false;
}
}
#endif
Expand Down

0 comments on commit b8f3651

Please sign in to comment.