w3c / gamepad

Gamepad
https://w3c.github.io/gamepad/
Other
138 stars 49 forks source link

Advanced gamepad haptics API #189

Closed nondebug closed 7 months ago

nondebug commented 8 months 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?