- From: Rik Cabanier <notifications@github.com>
- Date: Fri, 12 Dec 2025 07:38:47 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 12 December 2025 15:38:51 UTC
cabanier left a comment (w3c/gamepad#186) > So, with the "[haptic effect type](https://www.w3.org/TR/gamepad/#dom-gamepadhapticeffecttype)" they are generally just simple haptics like "dual-rumble", "trigger-rumble". > > How would it fit into that model? IIRC, the original proposal wanted to play an audio buffer? I would add another type (such as "PCM") to [haptic effect type](https://www.w3.org/TR/gamepad/#dom-gamepadhapticeffecttype), define a new structure that contains the PCM data and then make the second parameter of [playeffect](https://www.w3.org/TR/gamepad/#dom-gamepadhapticactuator-playeffect) a union of this new structure and [GamepadEffectParameters](https://www.w3.org/TR/gamepad/#dom-gamepadeffectparameters). -- Reply to this email directly or view it on GitHub: https://github.com/w3c/gamepad/issues/186#issuecomment-3647056232 You are receiving this because you are subscribed to this thread. Message ID: <w3c/gamepad/issues/186/3647056232@github.com>
Received on Friday, 12 December 2025 15:38:51 UTC