Open gabrielsanbrito opened 2 years ago
(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?
@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.
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