Remove IGNORE_MOD_TAP_INTERRUPT_PER_KEY in favour of HOLD_ON_OTHER_KEY_PRESS_PER_KEY (#15741)
This commit is contained in:
parent
ca13734f91
commit
515dd18c28
42 changed files with 227 additions and 518 deletions
|
@ -81,7 +81,6 @@
|
|||
#endif // !ONESHOT_TIMEOUT
|
||||
|
||||
#if defined(PER_KEY_TAPPING)
|
||||
# define IGNORE_MOD_TAP_INTERRUPT_PER_KEY
|
||||
# define PERMISSIVE_HOLD_PER_KEY
|
||||
# define QUICK_TAP_TERM_PER_KEY
|
||||
# define HOLD_ON_OTHER_KEY
|
||||
|
|
|
@ -42,21 +42,6 @@ __attribute__((weak)) bool get_hold_on_other_key_press(uint16_t keycode, keyreco
|
|||
}
|
||||
#endif // HOLD_ON_OTHER_KEY_PRESS_PER_KEY
|
||||
|
||||
#ifdef IGNORE_MOD_TAP_INTERRUPT_PER_KEY
|
||||
__attribute__((weak)) bool get_ignore_mod_tap_interrupt(uint16_t keycode, keyrecord_t *record) {
|
||||
// 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 true;
|
||||
// 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;
|
||||
switch (keycode) {
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
}
|
||||
#endif // IGNORE_MOD_TAP_INTERRUPT_PER_KEY
|
||||
|
||||
#ifdef QUICK_TAP_TERM_PER_KEY
|
||||
__attribute__((weak)) uint16_t get_quick_tap_term(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue