Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of _resumeDetection method on the braille handler #2

Merged
merged 4 commits into from Dec 27, 2018

Conversation

LeonarddeR
Copy link

Though I've not been able to test this yet, I hope that this will make things easier to understand and also fix the bug where the detector keeps the limitToDevices list when the connection drops. Flow is now as follows:

  1. One connects a bluetooth device
  2. bdDetect keeps scanning in the background for usb alternatives of the current bluetooth device
  3. Either
    a. A usb device is connected, NVDA switches to it and detection is disabled until an error occurs
    b. The bluetooth connection is lost. A rescan is triggered with limitToDevices set to None.

@bramd bramd merged commit 1b7f7f3 into bramd:freedomscientific-native Dec 27, 2018
@bramd
Copy link
Owner

bramd commented Dec 27, 2018

@LeonarddeR Thanks, code looks good, but unable to test with a Focus device right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants