Repository navigation
DroidBridge 0.2.1: reconnect by itself, keep the Mac cursor still, layout on connect - #3
Merged
Merged
Conversation
- Link: ping every 2 s and reconnect after 8 s of silence; sends time out after 3 s and the socket is shut down before closing, so a stuck send can no longer block the reconnect loop. - Cursor: while on the device, a cursor found away from its frozen spot is warped back and detached again (the detach does not always hold right after launch). - Server: wait up to 3 s for the keyboard before applying the Mac's layout. - Lifecycle and cursor events are logged at notice level, so they persist. Co-Authored-By: Volund OS <287815646+volundos[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
DroidBridge 0.2.1 fixes three problems:
Connection and cursor events are now logged at notice level, so they persist in the macOS log.
Tested
On the Mac with a Galaxy Z Fold:
adb reconnect): back in 1.3 s;swift test: 32 tests pass.🤖 Generated with Volund OS