Adding/tuning combos

- all five mouse buttons and drag tog on the left hand side
- added esc, tab, enter to left side
- added backspace, and del
This commit is contained in:
Victor 2024-04-16 23:46:10 -05:00
parent d3b130a53c
commit dae4f2b76a
Failed to generate hash of commit
3 changed files with 47 additions and 57 deletions

View file

@ -1,27 +1,5 @@
#include "combo.h"
//only need to make it for the qwerty layer
//const uint16_t PROGMEM dragtog_combo[] = {TR_COMM, TR_DOT, COMBO_END};
//const uint16_t PROGMEM sniptog_combo[] = {KC_M, TR_DOT, COMBO_END};
//const uint16_t PROGMEM moubtn4_combo[] = {KC_SPC, NAV, COMBO_END};
/*
mouse buttons to map
- mb1 left 1 df
- mb2 right 3 dg
- mb3 middle
- mb4 back 2 cv
- mb5 forward
bigrams that may work for mouse
- cv
- cb
- xc
- cv
*/
bool get_combo_must_hold(uint16_t index, combo_t *combo) {
switch (index) {
@ -38,25 +16,12 @@ bool get_combo_must_tap(uint16_t index, combo_t *combo) {
switch (index) {
/*
case DRAGTOGGLE:
case SNIPERTOGGLE:
case MOUSEBUTTON4:
return true;
*/
#if defined(MOUSEKEY_ENABLE)
case MOUSE_BUTTON1:
case MOUSE_BUTTON2:
case MOUSE_BUTTON4:
case MOUSE_DRGTOG:
#endif //MOUSEKEY_ENABLE
case KB_TAB:
case KB_BSPC:
case LYR_CONFIG:
case LYR_FUNCTION:
return false;
default:
return false;
return true;
}
}