immersive-web / webvr

Archival repository for the legacy WebVR Specification.
Other
13 stars 14 forks source link

Proposal to merge WebVR haptics and Gamepad haptics #23

Open toji opened 6 years ago

toji commented 6 years ago

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

toji commented 6 years ago

From @kenchris on April 24, 2018 14:52

@anssiko

toji commented 6 years ago

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 :-)

toji commented 6 years ago

From @kenchris on April 24, 2018 15:34

I am not sure I have time for that, but I can definitely help review it