A clean, minimal auto clicker for Windows with a golden dark UI.
- Mouse side-button activation — trigger with Mouse4 or Mouse5
- Toggle mode — press once to start, press again to stop
- Hold mode — clicks only while the side button is held down
- 1-200 CPS — configurable clicks per second with sub-ms precision
- Left / Right / Middle — choose which mouse button gets clicked
- Always on top — stays visible over fullscreen apps
- Zero external dependencies — pure Python + Win32 API
Three threads, clean separation:
| Thread | Role |
|---|---|
| Main | Tkinter GUI — renders UI, handles settings |
| ClickEngine | Daemon — fires mouse_event clicks at target CPS using perf_counter spin-wait |
| XButtonPoller | Daemon — polls GetAsyncKeyState at 1ms intervals for side-button edge detection |
All cross-thread GUI updates go through root.after() for thread safety.
- Windows 10/11
- Python 3.8+
No pip packages required. The app uses only the standard library and Win32 API via ctypes.
Double-click autoclicker.pyw to launch (runs without a console window).
Or from a terminal:
pythonw autoclicker.pyw
| Setting | Options | Default |
|---|---|---|
| CPS | 1 — 200 | 20 |
| Button | Left, Right, Middle | Left |
| Mode | Toggle, Hold | Toggle |
| Trigger | Mouse4, Mouse5 | Mouse5 |
Press Mouse5 (default) to start/stop clicking.
Levi/
autoclicker.pyw Main application
levi.ico App icon (gold L, 16-256px)
README.md
MIT