Open toji opened 6 years ago
From @kenchris on April 24, 2018 14:52
@anssiko
From @anssiko on April 24, 2018 15:31
@kenchris are you interested in helping make this happen?
If deemed useful, you can consider reusing the Vibration API for applicable parts similarly to what Notifications API did. Since The WebVR requirements are more advanced than those the Vibration API addresses (whose implementation target was a mainstream mobile device) you may want to extend it a la Vibration API Level 2 and use it as the shared primitive for both the Gamepad and WebXR :-)
From @kenchris on April 24, 2018 15:34
I am not sure I have time for that, but I can definitely help review it
From @nondebug on November 7, 2017 22:51
Work is underway to extend the Gamepad spec to support vibration effects of the sort that is common on console gamepads. At the same time, WebVR input is diverging from Gamepad and will likely adopt an interface closer to OpenXR for VR controller input. I'd like to propose that we extend the Gamepad haptics API so it can be shared between Gamepad and WebVR.
Gamepad haptics API draft
Proposal to merge Gamepad & WebVR haptics
Copied from original issue: immersive-web/webxr#297