[w3c/gamepad] Add support for a PCM buffer to the gamepad actuator (Issue #186)

The Quest Pro controller come with a [new VCM motor](https://uploadvr.com/quest-touch-pro-controllers-haptics-index-tracking/) for haptics that has a variable frequency and intensity. The OpenXR API is documented [here](https://developer.oculus.com/documentation/native/android/mobile-openxr-haptic/#pcm-haptics)

We'd like to expose this to WebXR developers so they can generate more immersive haptics and would like to propose the following function to the GamepadHapticActuator  IDL:
`Promise<GamepadHapticsResult> playPCM(Float32Array data, float sampleRate);` 

cc @nondebug 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/issues/186
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/issues/186@github.com>

Received on Tuesday, 21 March 2023 18:10:55 UTC