Skip to content

Add PC mouse repeat reconnect grace period#2582

Merged
enaboapps merged 1 commit into
mainfrom
fix/pc-mouse-repeat-reconnect-grace-2581
Jun 30, 2026
Merged

Add PC mouse repeat reconnect grace period#2582
enaboapps merged 1 commit into
mainfrom
fix/pc-mouse-repeat-reconnect-grace-2581

Conversation

@enaboapps

Copy link
Copy Markdown
Collaborator

Summary

  • Add a 5-second reconnect grace state for active PC mouse repeat.
  • Pause repeated mouse/scroll sends while the PC control session is reconnecting.
  • Resume the same repeated command after reconnect, waiting for the normal repeat interval before sending again.
  • Keep explicit disconnect, auth failure, switching PC, and grace expiry as stop paths.

Test plan

  • ./gradlew.bat testDebugUnitTest
  • ./gradlew.bat compileDebugKotlin

Fixes #2581

- Pause active PC mouse repeat for a five-second reconnect grace instead of stopping immediately
- Resume the same repeated move or scroll command when the control session reconnects
- Keep explicit disconnects, auth failures, and grace expiry as immediate stop paths
- Cover repeat manager and PC mouse control reconnect scenarios in unit tests

🤖 Auto-generated
@enaboapps enaboapps merged commit 9cb29f8 into main Jun 30, 2026
@enaboapps enaboapps deleted the fix/pc-mouse-repeat-reconnect-grace-2581 branch June 30, 2026 19:27
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.

Add PC mouse repeat reconnect grace period

2 participants