Commit Graph

9 Commits

Author SHA1 Message Date
Misaka_Company
e0a66c7a8c Convert desktop to EchoType Bridge: pipe injection via TIP
- Add EchoType to TextInjectionMode enum (becomes default)
- Add WriteToEchoTypePipe(): write [UINT32 cch][WCHAR text] to
  \.\pipe\EchoType\pid_<PID> via NamedPipeClientStream
- InsertText(): route to EchoType pipe when mode is EchoType
- TrayApplicationContext: add 'EchoType (recommended)' to input mode menu
- Update tray branding: 'EchoType Bridge' in tooltips and balloon tips
- AppLogger: log to %LocalAppData%\EchoType\bridge.log

The bridge keeps WebSocket server + UDP discovery + audio control
unchanged. Text injection now goes through the EchoType TIP's
composition-commit mechanism for atomic insertion, falling back to
clipboard and SendInput as secondary options.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-12 15:06:30 +08:00
Misaka
30da1680f2 Add system mute control via setMute action
Introduce a setMute protocol action and an NAudio-backed
AudioControlService so the Android client can toggle the Windows
render endpoint mute state over WebSocket.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-17 22:12:13 +08:00
Misaka
cbbadd547d Add WebSocket heartbeat, client cleanup, and connection toast notifications
- Add heartbeat ping every 5 seconds to detect stale connections
- Replace clients when same IP reconnects instead of accumulating
- Remove unavailable clients on connect and heartbeat probe
- Marshal UI updates to UI thread via SynchronizationContext
- Show balloon toast on device connect/disconnect
- Add disposal safety check for UpdateTrayStatus

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-17 12:34:02 +08:00
Misaka
0611966be9 Add tray status icons 2026-05-16 21:02:30 +08:00
Misaka
4caa21c4d2 Add desktop discovery responder 2026-05-16 20:36:12 +08:00
Misaka
1b335d720d Add desktop input mode switch 2026-05-15 22:53:00 +08:00
Misaka
d4b7a23e38 Add desktop diagnostics and resilient message handling 2026-05-15 21:29:55 +08:00
Misaka
4c314c510b Implement desktop sync protocol handling 2026-05-15 21:19:27 +08:00
Misaka
498251ad79 Initialize Windows desktop skeleton 2026-05-15 20:12:07 +08:00