-
Notifications
You must be signed in to change notification settings - Fork 7
Description
When multiple USB devices are available, we set them to wink mode so the user knows to press one to select it. Once we select one, currently, the unselected devices remain in wink mode. We should cancel these instead. Fixing this issue has some other dependencies, see previous discussion below.
I'm not yet able to stop the blinking of all not-chosen devices, once the user has selected one, because I can't clone the hid-channel, and I can't have them in the UsbState-enum, because they are not clone-able.
Is the above still true? For me, after selecting a device, the other one keeps blinking.
If that's expected, let's file this as a separate issue and call this one done.
Yes, this is still true. The HidDevices are now cloneable, but not the channels. Additionally, libwebauthn doesn't yet have a cancel-function. This was going to be my next work item.
I hope that I can create a second channel from the cloned device and abort any ongoing operation on the hardware. But first, libwebauthn needs to implement CTAPHID_CANCEL
Originally posted by @msirringhaus in #16 (comment)