Contact emails
mattre...@google.com, sch...@google.com, owe...@google.com
Spec
Summary
The Gamepad specification includes a description of the buttons and axes expected to be present on a standard gamepad. This specification will be extended to describe the haptic feedback devices expected in a standard gamepad and a new API will be added to support basic vibration effects.
Motivation
Gamepad vibration has been a standard feature on gamepads for several years. Dual-rumble effects were first introduced with the Playstation Dual Analog Controller in 1997 and were used by the original Xbox gamepad in 2001. Every Playstation and Xbox console released since then have featured dual-rumble effects. Additionally, VR gamepads use haptic feedback as an important tool for immersion.
Interoperability and Compatibility Risk
As this is a new feature, the main risk is lack of adoption. However, this risk is mitigated because haptic effects are typically a progressive enhancement of the user experience.
Edge: No signals
Firefox: Stalled
Safari: No signals
Web developers: Positive
Discussion on public-webapps in 2014 was in favor of adding an API for rumble-style feedback. Support for advanced haptics (force feedback joysticks, steering wheels) was rejected.
The W3C Gamepad github has had an issue tracking a Vibrate feature for Gamepad since early 2016. In the discussion on the bug, it was stated that the Web Vibration API is too limited to use as a model for Gamepad vibration. The Gamepad API should support devices with multiple vibration actuators, and should allow specifying the strength of vibration as opposed to only the duration. It was also suggested that force feedback support should be considered outside the scope of this specification. "I'd like to spec simple rumble that covers what current gamepads do: one or more vibration motors of varying intensities."
There is a proposed extension to the Gamepad spec that would add an interface for haptic actuators.
Ongoing technical constraints
This feature requires extra code for each supported gamepad API on each host.
Some gamepads will need custom handling to map their haptic feedback devices to the standard gamepad spec. Most fall into a handful of categories and will not need extra work.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
OWP launch tracking bug
Link to entry on the feature dashboard
https://www.chromestatus.com/features/5705158763741184
Requesting approval to ship?
No
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2Bqnouc5GdepC_6qfd5Z9sCQ3%3DGNt7yCyAw5OaisKK9FhWJUXQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY-UzuQ61wrUn9zvruavHRxCVYR2HTtjaA8iLE5y8Qjd-g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAABs73gYNQb6Srj_TT69sBhFevn%2Bwu-nskGMQ4-Za9tTy3dEYA%40mail.gmail.com.