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

Auto-connect persistent devices #2

Merged
merged 2 commits into from Sep 27, 2022
Merged

Conversation

d4s
Copy link
Collaborator

@d4s d4s commented Sep 26, 2022

  • Added the ability to detect mouse attach/detach and reload the application. This allow to avoid asking the user to connect to the mouse allowed previously. In case if the device have serial ID or connected over BT it is possible to attach/detach the device. But if the serial attribute is not available only PWA reload without asking permission is working.
    See rationale: https://bugs.chromium.org/p/chromium/issues/detail?id=958918

  • Added the button into the header allowing to forget the current mouse. Since the initial app has been developed to work with the single mouse, connection to several mouses in the same time cause unpredictable effects.

Added the button into the header allowing to forget the current mouse.
Since the initial app has been developed to work with the single mouse,
connection to several mouses in the same time cause unpredictable
effects.

Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
Added the ability to detect mouse attach/detach and reload the
application. This allow to avoid asking the user to connect to
the mouse allowed previously.

In case if the device have serial ID or connected over BT it is possible
to attach/detach the device. But if the serial attribute is not
available only PWA reload without asking permission is working.

See rationale: https://bugs.chromium.org/p/chromium/issues/detail?id=958918

Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
@google-cla
Copy link

google-cla bot commented Sep 26, 2022

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@zbarakzoy zbarakzoy merged commit c7df5a1 into main Sep 27, 2022
@d4s d4s deleted the wip/d4s/persistent_devices branch September 29, 2022 19:00
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.

None yet

2 participants