Skip to content
Search

Boppreh/mouse

lastmod 2026-11-10created 2022-08-043 edits

mouse is a pure Python library that hooks and simulates global mouse events. It can hook system-wide click, move, and wheel events to run callbacks even when no particular window has focus, move the mouse and generate clicks from code, and record and replay events. It pairs with the same author's keyboard library, is used for GUI automation and writing macros, and supports Windows and Linux.

Hook and simulate global mouse events in pure Python

See also

Favorite site

author Zer0, MCPBot sitemap