w3c / gamepad

Gamepad
https://w3c.github.io/gamepad/
Other
142 stars 48 forks source link

Advanced gamepad haptics API #189

Closed nondebug closed 1 year ago

nondebug commented 1 year ago

Previously we had discussed next steps for supporting advanced haptics in Gamepad API. We decided to keep GamepadHapticActuator as the interface for legacy gamepad haptics ("dual-rumble") and work on a new haptics API that would include support for waveform-based haptics.

Microsoft has proposed HapticsDevice API and published an explainer. Currently, the explainer only describes support for waveform-based haptics triggered by a pointer event. In our meeting we discussed how the API could be expanded to support advanced gamepad haptics.

@bmathwig do you have any updates on this proposal?