Something went wrong. Try again.
Collection of macros
Something went wrong. Try again.
1234567891011121314151617181920212223"""macrolib - cross-platform helpers shared by the game macros.
Platform-specific bits (mouse/keyboard input, OCR and screen capture) areabstracted here so a macro only has to deal with game logic. The publicsubmodules are:
macrolib.screen - screen capture (mss, or grim/screencast/spectacle on Wayland) macrolib.ocr - text recognition (Windows OCR / Apple Vision / RapidOCR) macrolib.input - mouse input and window focus (SendInput / Quartz / uinput) macrolib.hotkeys - global function-key hotkeys (evdev on Linux, pynput elsewhere)"""
from . import hotkeys, input, ocr, screen
__all__ = ["hotkeys", "input", "ocr", "screen"]
try: from importlib.metadata import version as _dist_version
__version__ = _dist_version("game-macros")except Exception: # not installed (e.g. running straight from the source tree) __version__ = "0.1.0"