Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove IGNORE_MOD_TAP_INTERRUPT_PER_KEY in favour of HOLD_ON_OTHER_KEY_PRESS_PER_KEY #15741

Merged
merged 16 commits into from
Dec 13, 2022
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tap_mod_tap_key_while_mod_tap_key_is_held → tap_a_mod_tap_key_while_a…
…nother_mod_tap_key_is_held
precondition committed Dec 12, 2022

Verified

This commit was signed with the committer’s verified signature.
rithviknishad Rithvik Nishad
commit 9f8e2431755879ea19534ce802cb1b343ad02572
2 changes: 1 addition & 1 deletion tests/tap_hold_configurations/default_mod_tap/config.h
Original file line number Diff line number Diff line change
@@ -18,4 +18,4 @@

#include "test_common.h"

#define IGNORE_MOD_TAP_INTERRUPT
#define IGNORE_MOD_TAP_INTERRUPT
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ TEST_F(DefaultTapHold, tap_regular_key_while_mod_tap_key_is_held) {
testing::Mock::VerifyAndClearExpectations(&driver);
}

TEST_F(DefaultTapHold, tap_mod_tap_key_while_mod_tap_key_is_held) {
TEST_F(DefaultTapHold, tap_a_mod_tap_key_while_another_mod_tap_key_is_held) {
TestDriver driver;
InSequence s;
auto first_mod_tap_hold_key = KeymapKey(0, 1, 0, SFT_T(KC_P));
Original file line number Diff line number Diff line change
@@ -18,4 +18,4 @@

#include "test_common.h"

#define IGNORE_MOD_TAP_INTERRUPT
#define IGNORE_MOD_TAP_INTERRUPT
Original file line number Diff line number Diff line change
@@ -60,7 +60,7 @@ TEST_F(PermissiveHold, tap_regular_key_while_mod_tap_key_is_held) {
testing::Mock::VerifyAndClearExpectations(&driver);
}

TEST_F(PermissiveHold, tap_mod_tap_key_while_mod_tap_key_is_held) {
TEST_F(PermissiveHold, tap_a_mod_tap_key_while_another_mod_tap_key_is_held) {
TestDriver driver;
InSequence s;
auto first_mod_tap_hold_key = KeymapKey(0, 1, 0, SFT_T(KC_P));
Original file line number Diff line number Diff line change
@@ -19,4 +19,4 @@
#include "test_common.h"

#define IGNORE_MOD_TAP_INTERRUPT
#define PERMISSIVE_HOLD
#define PERMISSIVE_HOLD
Original file line number Diff line number Diff line change
@@ -62,7 +62,7 @@ TEST_F(PermissiveHold_IgnoreModTapInterrupt, tap_regular_key_while_mod_tap_key_i
testing::Mock::VerifyAndClearExpectations(&driver);
}

TEST_F(PermissiveHold_IgnoreModTapInterrupt, tap_mod_tap_key_while_mod_tap_key_is_held) {
TEST_F(PermissiveHold_IgnoreModTapInterrupt, tap_a_mod_tap_key_while_another_mod_tap_key_is_held) {
TestDriver driver;
InSequence s;
auto first_mod_tap_hold_key = KeymapKey(0, 1, 0, SFT_T(KC_P));