Open Abrahamic-God opened 7 years ago
An upshot of using WebUSB and running this code in a browser is that we get full access to the canvas
API, which solves #6.
Chrome has announced intent to ship WebUSB! It's closer than I thought: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/KuXx_k2KIis
WebUSB has shipped in Chrome 61+, so we could begin working on this feature at any time: https://caniuse.com/#feat=webusb
I think for this to happen Elgato needs to ship it in their driver first, similarly to https://github.com/webusb/arduino In any case, I can't see the device in Chrome. Pity.
It looks like WebUSB specifically does not support HID under normal conditions: https://stackoverflow.com/a/49453250/3903335
WebHID is a very very very early, but might be just what we need to do this https://github.com/WICG/webhid/blob/master/EXPLAINER.md
The WebUSB spec is currently being drafted, but is available as an Origin Trial in Chrome 54+.
With WebUSB, we could make an app that requires no installation and just runs in a browser.