A W3C Recommendation (24 February 2015) defines events and related interfaces for handling hardware agnostic pointer input from devices including a mouse, pen, touchscreen, etc. Essentially letting web pages know when somebody is using something like a touchscreen, or a graphics tablet.
On Windows, IE10+ has this ability, but I haven't found any information about this on Linux environments. Do any browsers in Ubuntu support this yet?
NOTE: There is a Wacom plugin for their tablets but this only works with Wacom and is not standardized.