// INPUT & AUTOMATION GUIDE
Control iPhone from Mac with Full Keyboard & Mouse Support
Mirroring your iPhone screen to Mac is only half the battle. To be truly productive, you need two-way interaction: clicking icons, dragging through feeds, and typing long messages with your Mac's physical keyboard.
How Mouse & Touch Translation Works in MirrorUE
Unlike video-only tools like QuickTime, MirrorUE establishes a bidirectional CoreDevice UniversalHID channel alongside the USB video stream. Every pointer movement and click is converted in real time into normalized capacitive touch coordinates:
🖱️ Click & Drag Gestures
Left-click taps elements instantly. Click and hold to drag, scroll vertical lists, or swipe between home screen pages.
⌨️ Physical Keyboard Typing
Types directly into active iOS text fields. Automatic layout translation handles AZERTY, QWERTY, accents, and special symbols.
📱 Home & Lock Shortcuts
Quick buttons and keyboard shortcuts for Home bar swipe-up, App Switcher, Control Center, and screen lock.
Typing with AZERTY, QWERTY & International Layouts
When you press a key on your Mac keyboard, MirrorUE reads the native macOS virtual keycode and characters, maps it through an internal HID keytable, and sends standard USB HID keyboard reports to the connected iOS device.
This allows instant typing in WhatsApp, Telegram, iMessage, Notes, Slack, or web browsers without touching your phone.
Developer & QA Automation Workflows
For mobile app developers and QA engineers, MirrorUE provides a local HTTP automation API (http://127.0.0.1:8080) allowing headless test runners, CI scripts, or LLM agents to inject clicks and type text programmatically:
# Send a tap event at (x: 200, y: 450)
curl -X POST http://127.0.0.1:8090/v1/tap \
-H "Content-Type: application/json" \
-d '{"x": 200, "y": 450}'
# Type text into the active field
curl -X POST http://127.0.0.1:8090/v1/type \
-H "Content-Type: application/json" \
-d '{"text": "Automated QA test login"}'
Compatible with macOS 14 & 15 · iOS 16, 17, 18+ · Apple Silicon & Intel