Maker of open-source software and hardware.

Using user-space USB drivers: Part 9

Feature image

Yesterday I mentioned that I wanted to look into getting WebUSB working on Electron. Well, I've done some testing and the first show-stopper is that Electron doesn't have the WebUSB device chooser implemented that requests permission from a user to access a USB device.

This results in a DOMException: No device selected when calling navigator.usb.requestDevice(). Electron has implemented a chooser for WebBluetooth, so I just put in a feature request for a WebUSB chooser.