Lightweight vibecoded Windows tray app that centers your mouse cursor on the primary monitor with a single hotkey.
- System tray icon with right-click menu
- Configurable hotkey — any key or combo, no modifier required
- GUI hotkey editor (right-click tray -> Edit Hotkey)
- Config stored in
%APPDATA%\MidCursor\config.ini - Low-level keyboard hook — zero restrictions on key bindings
- ~160 KB standalone exe, no runtime dependencies
Grab the latest midcursor.exe from Releases.
Ctrl+Alt+M — change it via the tray menu or by editing the config file directly.
# Modifiers (optional): CTRL ALT SHIFT WIN
# Keys: A-Z, 0-9, F1-F24, SPACE, TAB, ENTER, ESC, LEFT, RIGHT, UP, DOWN
hotkey=CTRL+ALT+MA bare key like F9 or SPACE works too.
Requires Rust.
cargo build --release
The binary will be at target\release\midcursor.exe.
MIT