I'm developing a site that implements specific functionality for touch-enabled devices. I aim to target smartphones, tablets and in fact everything that uses a touchscreen as its primary input.
To achieve this I'm using Modernizr's Modernizr.touch
However, this returns true on chrome with computers that have a Wacom pen tablet installed. (Confirmed with Wacom Intuos 5). Obviously, the main input device on these computers is a keyboard and mouse, and not a touchscreen. This creates a false-positive, as I want to deliver the desktop UX for these computers and not the touch-screen UX.
Is there any way to check for "touch screen capabilities", rather than "touch capabilities"? Or any other creative method to get around this and avoid the false-positive?