I really hate when people say you can't do something. It usually boils down to a lack of imagination on the part of the author.
* Hook document.onmousemove and track the number and location of movement events. If the mouse suddenly jumps around, you most likely have a touch event.
* Check the value of navigator.msMaxTouchPoints
* Pop a 0day on the client to get remote code execution, interrogate the devices attached to the USB bus looking for touch controllers.
* Hook document.onmousemove and track the number and location of movement events. If the mouse suddenly jumps around, you most likely have a touch event.
* Check the value of navigator.msMaxTouchPoints
* Pop a 0day on the client to get remote code execution, interrogate the devices attached to the USB bus looking for touch controllers.
etc.