News for hackers. Stuff that matters.
Re:You can't detect a touchscreen by dsl on Thursday May 09, 2013 @02:18PM (#5682073)
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.

etc.

There are no comments on this comment yet.