standards-positions icon indicating copy to clipboard operation
standards-positions copied to clipboard

WebHID

Open jdatapple opened this issue 4 months ago • 0 comments

WebKittens

@marcoscaceres

Title of the proposal

WebHID

URL to the spec

https://wicg.github.io/webhid/#dom-hid

URL to the spec's repository

https://github.com/WICG/webhid/

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

https://github.com/mozilla/standards-positions/issues/459

WebKit Bugzilla URL

No response

Radar URL

No response

Description

Provides access to HID devices from the web.

From the Explainer:

The inability to access uncommon or unusual HID devices is particularly painful when it comes to gamepad support. Gamepads designed for PC often use HID for gamepad inputs (buttons, joysticks, triggers) and outputs (LEDs, rumble). However, gamepads inputs and outputs are not well standardized and web browsers often require custom logic for specific devices. This is unsustainable and results in poor support for the long tail of older and uncommon devices. It also causes the browser to depend on quirks present in the behavior of specific devices. A HID standard for the web platform would allow the device-specific logic to be moved into javascript for devices that lack support in the browser.

jdatapple avatar Jun 10 '25 23:06 jdatapple