Taking out Auto Mouse

- It works okay when you are just clicking around but clicking on the
keyboard doesn't reset the timeout on the mouse.
- in addition, I don't like the flow breaking pauses to wait for the timeout
- making mouse layer a toggle instead of automatic
This commit is contained in:
Victor 2024-06-25 15:19:21 -05:00
parent 169f363763
commit 57937cb5f3
Failed to generate hash of commit
4 changed files with 23 additions and 21 deletions

View file

@ -64,12 +64,12 @@ endif
ifeq ($(strip $(OLED_ENABLE)), yes)
SRC += features/oled.c
endif
endifs
ifeq ($(strip $(AUDIO_ENABLE)), yes)
MUSIC_MODE = no
endif
ifeq ($(strip $(HOST_STATE_AUTO_MOUSE)), yes)
SRC += features/hoststateautomouse.c
endif
#ifeq ($(strip $(HOST_STATE_AUTO_MOUSE)), yes)
# SRC += features/hoststateautomouse.c
#endif

View file

@ -55,10 +55,11 @@ enum keycodes {
#define ___x___ KC_NO
// momentary layer
// layer changes
#define NAV MO(_NAVIGATION)
#define NUM MO(_NUMBER)
#define CONFIG MO(_CONFIG)
#define MOUSE TG(_MOUSE)
#define CONFIG MO(_CONFIG)
// Windows Shortcuts
#define SC_COPY LCTL(KC_C)
@ -221,12 +222,12 @@ enum keycodes {
#define LAYER_NAVIGATION \
KC_ESC, KC_HOME, KC_UP, KC_END, KC_PGUP, ___x___, ___x___, SC_FILE, SC_SNIP, CONFIG, \
KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, ___x___, _SCAG_MODS________________________, \
_UCCPR_L___________________________________, ___x___, KC_APP, TR_SNIP, TR_SDPI, TR_PDPI, \
_UCCPR_L___________________________________, ___x___, KC_APP, ___x___, ___x___, ___x___, \
ZOOMRST, NUM, KC_ENT, _LAYER_TRANS_____________
#define LAYER_NUMBER \
KC_ESC, ___x___, ___x___, ___x___, TR_GRV, ___x___, KC_7, KC_8, KC_9, KC_COMM, \
KC_ESC, ___x___, ___x___, MOUSE, TR_GRV, ___x___, KC_7, KC_8, KC_9, KC_COMM, \
_GACS_MODS________________________, TR_SCLN, KC_0, KC_4, KC_5, KC_6, KC_DOT, \
_UCCPR_L___________________________________, ___x___, KC_1, KC_2, KC_3, KC_MINS, \
_LAYER_TRANS_____________, _BASE_R4_________________
@ -240,10 +241,10 @@ enum keycodes {
#define LAYER_MOUSE \
___x___, ___x___, ___x___, ___x___, ___x___, ___x___, ___x___, ___x___, ___x___, ___x___, \
_GACS_MODS________________________, KC_BTN3, ___x___, ___x___, ___x___, ___x___, ___x___, \
___x___, ___x___, ___x___, KC_BTN4, KC_BTN5, ___x___, ___x___, ___x___, ___x___, ___x___, \
___x___, KC_BTN1, KC_BTN2, ___x___, ___x___, ___x___
___x___, KC_BTN5, KC_BTN4, KC_BTN3, TR_PDPI, ___x___, ___x___, ___x___, ___x___, ___x___, \
_GACS_MODS________________________, TR_DRGS, ___x___, ___x___, ___x___, ___x___, ___x___, \
_UCCPR_L___________________________________, ___x___, ___x___, TR_SNIP, TR_SDPI, ___x___, \
___x___, KC_BTN1, KC_BTN2, ___x___, MOUSE, ___x___
#define LAYER_CONFIG \