[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
This commit is contained in:
@@ -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),_______ ,
|
||||
_______ ,_______ ,_______ ,_______ ,_______ ,_______ , _______ ,_______ ,_______ ,_______ ,_______ ,_______
|
||||
// └────────┴────────┴──────────┴──────────┴─────────────┴────────┘ └────────┴─────────────┴──────────┴──────────┴────────┴────────┘
|
||||
),
|
||||
*/
|
||||
*/
|
||||
|
Reference in New Issue
Block a user