macOS support — Quartz event tap for OS input injection #7

Open
opened 2026-04-26 21:43:43 -07:00 by pyr0ball · 0 comments
Owner

Current ActionExecutor only supports xdotool (X11/Linux) and pyautogui (cross-platform, but pyautogui has macOS quirks).

For macOS, add a dedicated QuartzBackend using Quartz.CGEventCreateMouseEvent and Quartz.CGEventCreateKeyboardEvent.

Requires: Accessibility permission in System Settings → Privacy & Security → Accessibility. First-run wizard must prompt for this.

The ActionExecutor backend auto-detection adds: darwin → try Quartz import → fall back to pyautogui.

Also ensure the camera loop works correctly with macOS AVFoundation camera access permission.

Current ActionExecutor only supports xdotool (X11/Linux) and pyautogui (cross-platform, but pyautogui has macOS quirks). For macOS, add a dedicated `QuartzBackend` using `Quartz.CGEventCreateMouseEvent` and `Quartz.CGEventCreateKeyboardEvent`. **Requires:** Accessibility permission in System Settings → Privacy & Security → Accessibility. First-run wizard must prompt for this. The `ActionExecutor` backend auto-detection adds: `darwin` → try Quartz import → fall back to pyautogui. Also ensure the camera loop works correctly with macOS AVFoundation camera access permission.
pyr0ball added this to the Phase A — Camera-Only milestone 2026-04-26 21:43:43 -07:00
Sign in to join this conversation.
No labels
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Circuit-Forge/raven#7
No description provided.