Skip to content

Control PC scanning through remote forwarding - #750

Merged
enaboapps merged 3 commits into
mainfrom
feat/remote-scanning-749
Sep 13, 2026
Merged

enaboapps merged 3 commits into
mainfrom
feat/remote-scanning-749

Conversation

@enaboapps

@enaboapps enaboapps commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Choosing the Switchify scanning forwarding profile now lets Switchify Remote control the existing PC point scanner and icon menus. Eight numbered remote slots are configured on PC, independently of local keys, using shared scan and hold settings. Remote exclusively owns scanning until stop/disconnect; PC Escape remains available.

The profile is opt-in through switchScanning capability and includeScanning catalog requests, preserving existing v1 clients. Remote edges use the gesture engine directly. Sessions use explicit ownership, bounded queues, neutral-state recovery and a five-second heartbeat timeout. Windows dispatch is serialized on the main thread. Stop completes drag cleanup before acknowledgement; failed releases block direct controls until retry succeeds.

Closes #749. Companion Remote PR: switchifyapp/switchify-remote#167.

Validation on Node 24 and Rust 1.97.1: frontend lint, 147 frontend tests, 5 Node tests and production build passed. Rust formatting check, Clippy all targets with warnings denied, 344 unit tests and 7 integration tests passed. Fake-input coverage includes failed drag cleanup, cancelled/resynchronized edges, stale ownership, queue bounds and timeout. Independent review of latest head 2ea3ca2 found no actionable issues after fixes. All latest-head CI checks passed, including Windows installer and macOS app/DMG builds, frontend, dependency audit and CodeQL.

Physical Android-to-Windows/macOS BLE, overlay and switch checks remain unverified. Only an Android emulator with the main Switchify app was available locally; no real desktop input was injected. Identities, release versions and existing forwarding settings are unchanged.

@enaboapps
enaboapps marked this pull request as ready for review September 13, 2026 18:07
@enaboapps
enaboapps merged commit d52a9cb into main Sep 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Control PC scanning through remote switch forwarding

2 participants