Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for a PCM buffer to the gamepad actuator #58

Open
cabanier opened this issue Apr 18, 2023 · 0 comments
Open

Add support for a PCM buffer to the gamepad actuator #58

cabanier opened this issue Apr 18, 2023 · 0 comments

Comments

@cabanier
Copy link
Member

From w3c/gamepad#186:
The Quest Pro controller comes with a new VCM motor for haptics that has a variable frequency and intensity. The OpenXR API is documented here

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(audioBuffer);

From the feedback, it sounds like some people want a completely new interface but it doesn't match up with our workflow (ie it's based on touch events). How can we proceed? Should we continue to add to gamepadActuator that they want to deprecate?
/facetoface discuss support for a PCM buffer for gamepad actuator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants