WICG / input-device-capabilities

InputDevice API proposal
MIT License
17 stars 14 forks source link

Input Device Capabilities

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