mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-04 14:44:16 -04:00
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:
parent
5511db5cfc
commit
1dd978d0ce
2 changed files with 21 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue