How xx-139/watch-remote works
WatchRemoteP0 is a watchOS remote-viewing and input-control app. The main flow displays periodically fetched remote-screen frames and translates watch gestures into HTTP input requests; users can open extension settings to adjust display, quality, touch, and privacy preferences. The app also starts audio keep-alive and network/HTTP diagnostics. Settings values are modeled separately, and sampled code only visibly applies dimensions to coordinate mapping. The TCP frame receiver is present but no sampled caller connects it to the UI. No README product overview was provided.
Main entry points: ContentView.swift Remote screen · WatchRemoteP0App.swift App lifecycle · ExtensionView.swift Feature menu · SettingsView.swift Settings controls
Components 12
Watch interface
- Remote screen
WatchRemoteP0 Watch App/ContentView.swift - Feature menu
WatchRemoteP0 Watch App/ExtensionView.swift
Remote communication
- Frame endpoint
- Input endpoint
- TCP frame receiver
WatchRemoteP0 Watch App/TCPFrameReceiver.swift
Settings
- Settings controls
WatchRemoteP0 Watch App/SettingsView.swift - Remote preferences
WatchRemoteP0 Watch App/RemoteSettings.swift
Runtime support
- App lifecycle
WatchRemoteP0 Watch App/WatchRemoteP0App.swift - Audio keep-alive
WatchRemoteP0 Watch App/AudioKeepAlive.swift - Network diagnostics
WatchRemoteP0 Watch App/NetworkDebug.swift - HTTP probe
WatchRemoteP0 Watch App/HTTPTest.swift
Other components
- Watch user
Connections 12
- Watch user → Remote screen: views and gestures
WatchRemoteP0 Watch App/ContentView.swift - App lifecycle → Remote screen: shows
WatchRemoteP0 Watch App/WatchRemoteP0App.swift - Remote screen → Frame endpoint: polls frames
WatchRemoteP0 Watch App/ContentView.swift - Remote screen → Input endpoint: sends touch events
WatchRemoteP0 Watch App/ContentView.swift - Remote screen → Feature menu: opens menu
WatchRemoteP0 Watch App/ContentView.swift - Feature menu → Settings controls: routes to
WatchRemoteP0 Watch App/ExtensionView.swift - Remote screen → Remote preferences: reads dimensions
WatchRemoteP0 Watch App/ContentView.swift - Settings controls → Remote preferences: edits preferences
WatchRemoteP0 Watch App/SettingsView.swift - App lifecycle → Audio keep-alive: starts
WatchRemoteP0 Watch App/WatchRemoteP0App.swift - App lifecycle → Network diagnostics: starts
WatchRemoteP0 Watch App/WatchRemoteP0App.swift - App lifecycle → HTTP probe: starts
WatchRemoteP0 Watch App/WatchRemoteP0App.swift - HTTP probe → Frame endpoint: probes HTTP
WatchRemoteP0 Watch App/HTTPTest.swift