Being clever didn't work

- i think I need to specify each mouse code that must be tapped
versus specifying what shouldn't be tapped
This commit is contained in:
Victor 2024-04-17 00:16:35 -05:00
parent 5511db5cfc
commit 1dd978d0ce
Failed to generate hash of commit
2 changed files with 21 additions and 5 deletions

View file

@ -16,12 +16,28 @@ bool get_combo_must_tap(uint16_t index, combo_t *combo) {
switch (index) {
#if defined(MOUSEKEY_ENABLE)
case MOUSE_BUTTON1:
case MOUSE_BUTTON2:
case MOUSE_BUTTON3:
case MOUSE_BUTTON4:
case MOUSE_BUTTON5:
case MOUSE_DRGTOG:
#endif //MOUSEKEY_ENABLE
case KEY_ESC:
case KEY_TAB:
case KEY_ENT:
case KEY_DEL:
case KEY_BSPC:
case KEY_BWRD:
case LYR_CONFIG:
case LYR_FUNCTION:
return false;
return true;
default:
return true;
return false;
}
}