mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-05-06 15:44:17 -04:00
Reverting back to mouse combos
- It didn't feel right having to hold down a key to get more mouse keys
This commit is contained in:
parent
0915d57815
commit
b7468905a1
4 changed files with 28 additions and 35 deletions
|
@ -4,11 +4,6 @@ uint16_t get_combo_term(uint16_t index, combo_t *combo) {
|
|||
// or with combo index, i.e. its name from enum.
|
||||
switch (index) {
|
||||
|
||||
/*
|
||||
case LYR_CONFIG:
|
||||
return COMBO_HOLD_TERM + 100;
|
||||
*/
|
||||
|
||||
default:
|
||||
return COMBO_TERM;
|
||||
|
||||
|
@ -19,14 +14,14 @@ bool get_combo_must_tap(uint16_t index, combo_t *combo) {
|
|||
|
||||
switch (index) {
|
||||
|
||||
/*
|
||||
|
||||
#if defined(MOUSEKEY_ENABLE)
|
||||
case MOUSE_BUTTON3:
|
||||
case MOUSE_BUTTON4:
|
||||
case MOUSE_BUTTON5:
|
||||
case MOUSE_DRGTOG:
|
||||
#endif //MOUSEKEY_ENABLE
|
||||
*/
|
||||
|
||||
case KEY_ESC:
|
||||
case KEY_ENT:
|
||||
case KEY_TAB:
|
||||
|
@ -40,11 +35,6 @@ bool get_combo_must_tap(uint16_t index, combo_t *combo) {
|
|||
bool get_combo_must_hold(uint16_t index, combo_t *combo) {
|
||||
switch (index) {
|
||||
|
||||
/*
|
||||
case LYR_CONFIG:
|
||||
return true;
|
||||
*/
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
@ -82,7 +72,6 @@ bool combo_should_trigger(uint16_t combo_index, combo_t *combo, uint16_t keycode
|
|||
}
|
||||
break;
|
||||
|
||||
/*
|
||||
case MOUSE_BUTTON1:
|
||||
case MOUSE_BUTTON2:
|
||||
case MOUSE_BUTTON3:
|
||||
|
@ -95,7 +84,7 @@ bool combo_should_trigger(uint16_t combo_index, combo_t *combo, uint16_t keycode
|
|||
return false;
|
||||
}
|
||||
break;
|
||||
*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue