Abrahamic-God / node-elgato-stream-deck

A Node.js library for interfacing with the Elgato Stream Deck.
https://npm.im/elgato-stream-deck
354 stars 54 forks source link

WebUSB (browser) support #10

Open Abrahamic-God opened 7 years ago

Abrahamic-God commented 7 years ago

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.

Abrahamic-God commented 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.

Abrahamic-God commented 7 years ago

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

Abrahamic-God commented 6 years ago

WebUSB has shipped in Chrome 61+, so we could begin working on this feature at any time: https://caniuse.com/#feat=webusb

mint-dewit commented 5 years ago

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.

Abrahamic-God commented 5 years ago

It looks like WebUSB specifically does not support HID under normal conditions: https://stackoverflow.com/a/49453250/3903335

Julusian commented 5 years ago

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