Short description of your ezmsg package.
pip install ezmsg-peripheraldeviceezmsgezmsg-baseprocnumpypynput
Event-driven mouse listener - captures every mouse movement event:
python examples/mouse_listen.pyPolling mouse position - reads mouse position at a fixed rate:
python examples/mouse_poll.py --rate 60import ezmsg.core as ez
from ezmsg.peripheraldevice import MouseListener, MouseListenerSettings
from ezmsg.peripheraldevice import MousePoller, MousePollerSettingsNote: MouseListener requires extra permissions.
We use uv for development.
- Install
uvif not already installed. - Fork this repository and clone your fork locally.
- Open a terminal and
cdto the cloned folder. - Run
uv syncto create a.venvand install dependencies. - (Optional) Install pre-commit hooks:
uv run pre-commit install - After making changes, run the test suite:
uv run pytest tests
MIT License - see LICENSE for details.