
Hey everyone, I recently switched from Windows to a Mac mini and quickly ran into the Havit wireless mouse problem: it disconnects after ~20 seconds of inactivity, which is maddening when you're reading, watching a video, or just thinking.
The official Havit utility only exists for Windows, so I built a small Python tool to keep the mouse alive on macOS. Sharing it here in case it helps anyone in the same boat.
**What it does:** Moves the cursor 1 pixel and back every N seconds (default 15s). It's imperceptible and doesn't interfere with normal mouse usage — your own movements take priority.
**Features:** - CLI and GUI (Tkinter) — pick whichever you prefer - Launch Agent script for automatic startup at login - Configurable interval, pixels, and movement duration - Failsafe: move the cursor to a screen corner to abort - Works on macOS, Windows, and Linux - MIT licensed.
**Repo:** https://github.com/alvaroarta/mouse-jiggler-mac
Setup takes about 2 minutes if you have Python 3.9+ installed. README has a step-by-step guide for non-developers too. Feedback, issues, and PRs welcome. Hope it saves someone the headache.