4 ms·
> Why not have e.g. generic gamepad support in Chrome All the browsers have generic gamepad support at this point: https://developer.mozilla.org/en-US/docs/Web
by jefftk 6y ago
> Why not have e.g. generic gamepad support in Chrome
All the browsers have generic gamepad support at this point: https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API https://developer.mozilla.org/en-US/docs/Web/API/Gamepad_API Unfortunately, it is a bit lowest common denominator.
WebHID is good for long tail devices, or handling more unusual features of specific devices: https://web.dev/hid-examples/ https://web.dev/hid-examples/
- Aaargh20318 6y ago> WebHID is good for long tail devices, or handling more unusual features of specific device And that’s exactly why it will never be widely used. I’m not saying that there isn’t a use-case for it, I’m saying that the article overstates the usefulness of this API.