InputDevice API proposal
HTML JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
CONTRIBUTING.md
LICENSE
LICENSE.md
README.md
index.html
inputdevicecapabilities-polyfill.js
w3c.json

README.md

InputDeviceCapabilities

This repository contains a proposed specification for an API that provides capability details of the underlying device that generated a DOM input event. In particular, this enables scripts to reliably identify MouseEvents dervied from TouchEvents.

This repo also contains a a polyfill, and some tests. This API first shipped in Chrome 47.

If this API is successfully (eg. shipped in multiple browsers) then it will hopefully be transitioned out of incubation and into the W3C UIEvents specification as maintained by the W3C Web Platform Working Group.

References