Contact emails
rby...@chromium.org, tdre...@chromium.org, lan...@chromium.org
Spec
Rick Byers’ draft:
http://rbyers.github.io/InputDevice/
Summary
The InputDeviceCapabilities API provides capability details about the physical device responsible for generating an event. InputDeviceCapabilities.firesTouchEvents returns whether this device dispatches touch events. All UIEvents now have a sourceCapabilities attribute which returns the InputDeviceCapabilities associated with the physical device responsible for them.
Link to “Intent to Implement” blink-dev discussion
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Demo link
https://output.jsbin.com/cidaxasivi
Compatibility Risk
We’ve received some positive support from W3C, Webkit and IE - see bug reports:
[W3C DOM WG] https://lists.w3.org/Archives/Public/www-dom/2015JanMar/0117.html
[WebKit] https://bugs.webkit.org/show_bug.cgi?id=146848
[IE] https://www.w3.org/Bugs/Public/show_bug.cgi?id=28938
However, Mozilla think the InputDeviceCapabilities API is currently too limited to be exposed to the web.
The risk is relatively low: even though we are the first one to implement this and it lacks a formal W3C spec, other browser vendors have expressed support for it. The official standardization process here is slower than we'd like - we've bounced around between a number of groups and are now testing out the new WICG process. But from our discussions with the relevant browser engineers and spec editors, this simple start to the API seems very non-controversial, and we believe it's now safe enough to ship in blink. There are other risks here, we intend to implement more features in InputDeviceCapabilities, but have not received support right now. If we decide all other proposed InputDeviceCapabilities attributes are unnecessary, then this approach to determining which mouse events are derived from touch will be somewhat more complicated than necessary (however simpler special-purpose APIs were all rejected by the community as not being sufficiently general).
OWP launch tracking bug
https://code.google.com/p/chromium/issues/detail?id=476530
Entry on the feature dashboard
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.