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

Request for Position: Gamepad API Trigger-Rumble Haptics Extension #656

Open
gabrielsanbrito opened this issue Jun 21, 2022 · 2 comments
Open

Comments

@gabrielsanbrito
Copy link

Request for Mozilla Position on an Emerging Web Specification

Other information

We would like to extend the GamepadHapticActuator interface to expose the trigger-rumble capability in the Web for compatible gamepads.
Chrome Status entry: https://chromestatus.com/feature/5162940951953408

@tomrittervg
Copy link

(no hats) This will expose a new property of hardware, so there should be a fingerprinting note, no? I think Gamepad details are gated on user input or user interaction in some way?

@gabrielsanbrito
Copy link
Author

@tomrittervg thanks for pointing this out. I have added a "privacy considerations" section to the explainer. Regarding your question, yes. You are correct. navigator.getGamepads method returns an empty list before a gamepad user gesture has been detected. Only after that websites will be able to query for the gamepad's haptic capabilities.

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

No branches or pull requests

2 participants