A
A
Alexander Keith2013-01-21 20:49:20
Browsers
Alexander Keith, 2013-01-21 20:49:20

Find out which device (driver) claims support for touch - is there a problem with touch*** events in the browser?

Hello,
the problem is this: Windows claims in the system info that "Single Touch" is supported and this causes browsers to issue an api for working with touches ( document.createTouch , TouchEvent ...). In our web applications, depending on the support for these same touches, either touchstartor is used mousedown. And on the experimental system it is used as a result touchstart- BUT there is no “touchscreen”, therefore events are never called.
System: Lenovo B580 with Windows 8 on board.
At first I sinned on the fingerprint scanner, but turning it off in the BIOS did not change anything.
In the toolbar, where “Pen and Touch”, there are no on / off checkboxes - only settings.
Service "TabletInputService" is disabled.
I use modernizr itself to determine the availability of touches, but this is not his problem, and not even a browser problem - after all, everything comes from the roots of the system.
Questions:

  1. How can you find out, however, which device "supports" touch and how can this be disabled?
  2. More general: Hybrid systems will gain momentum, where both the touchscreen and the mouse - and then touch**/mouse**what about which handlers to hang. Does anyone have any ideas?

Grateful for any help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2013-01-21
Protko @Fesor

You can hang both one and the other handler. with different priorities. In a word, a way out can be found.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question