diff options
author | Stefan Kerkmann <karlk90@pm.me> | 2023-04-06 01:04:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 00:04:23 +0100 |
commit | 73b376a88151d03d43e0eca8242faa4bad199ac0 (patch) | |
tree | 5a904ef2e75c3ac2b69ff6b6a80ce661fb303d5c /keyboards/handwired | |
parent | 71159275597d49fde16cd6643d106223415b0451 (diff) |
[Chore] Remove stray mod tap interrupt defines and per key functions (#20347)
* Remove stray defines and per key functions
* Remove defunct get_ignore_mod_tap_interrupt declaration
Diffstat (limited to 'keyboards/handwired')
-rw-r--r-- | keyboards/handwired/stef9998/split_5x7/keymaps/stef9998/keymap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/handwired/stef9998/split_5x7/keymaps/stef9998/keymap.c b/keyboards/handwired/stef9998/split_5x7/keymaps/stef9998/keymap.c index 5b74c3567e..833a245c54 100644 --- a/keyboards/handwired/stef9998/split_5x7/keymaps/stef9998/keymap.c +++ b/keyboards/handwired/stef9998/split_5x7/keymaps/stef9998/keymap.c @@ -39,20 +39,20 @@ enum custom_keycodes { // Shortcut to make keymap more readable #define KC_FN MO(_FN) -bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record) { +bool get_hold_on_other_key_press(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case SC_LSPO: // Do not force the mod-tap key press to be handled as a modifier // if any other key was pressed while the mod-tap key is held down. - return false; + return true; // case MT(MOD_LSFT,KC_9): // return false; case SC_RSPC: - return false; + return true; default: // Force the mod-tap key press to be handled as a modifier if any // other key was pressed while the mod-tap key is held down. - return true; + return false; } } @@ -185,4 +185,4 @@ _______ ,_______ ,RALT_T(KC_S),LCTL_T(KC_D),LSFT_T(KC_F),LT(_SYM,KC_G),_______ , _______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,_______ ,_______ // └────────┴────────┴──────────┴──────────┴─────────────┴────────┘ └────────┴─────────────┴──────────┴──────────┴────────┴────────┘ ), - */
\ No newline at end of file + */ |