admin管理员组

文章数量:1410674

I've enabled the "Emulate Touch Events" option in Chrome's Developer Tools. It emulates the touch events only, but it's not emulating the gestures event.

I am using the the / drive for multiple fingers for testing.

Is there anything to listen to the gesture event in chrome?

I've enabled the "Emulate Touch Events" option in Chrome's Developer Tools. It emulates the touch events only, but it's not emulating the gestures event.

I am using the the http://multitouchvista.codeplex./ drive for multiple fingers for testing.

Is there anything to listen to the gesture event in chrome?

Share Improve this question edited Oct 8, 2012 at 14:40 Christoph 51.3k21 gold badges101 silver badges128 bronze badges asked Oct 5, 2012 at 7:24 Murugan KumarasamyMurugan Kumarasamy 1611 silver badge4 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 5 +200

As of the latest version of Chrome on Windows 7 (Version 22.0.1229.94 m on 12/10/12) if you are using something like Multitouch Vista (or hardware that has a Multi-Touch device like my Tablet PC) you should not enable "Emulate Touch Events". This is because MTVista should be providing actual Win32 Touch messages to Chrome and Chrome will then generate Touch events from these. Furthermore under about:flags there is an option to "Enable touch events" which appears to be irrelevant as they work with or without this option.

To see if it is working in Chrome use a demo like Multitouch Canvas Fingerpaint Demo that will only draw in the box based on touch events that I found on a Tutorial on "MULTI-TOUCH WEB DEVELOPMENT"

I think you are getting slightly confused as to what MTVista does or just may have set it up not quite right.

First to make sure the drivers are working fine:

Try to draw with mspaint (just good old Paint included with Windows) with several mice and if you get multiple lines it is installed correctly.

A quick search on setting up MT Vista on the Codeplex page leads to this link "STEP BY STEP TUTORIAL : INSTALLING MULTI-TOUCH SIMULATOR FOR SILVERLIGHT PHONE 7" which ignoring anything specifically relating to Silverlight is what I do every time I have set up MTVista in the past, of which have been many at my work.

You can try https://github./dgolovanev/mxTouch But the best thing you can to asure correct multitouch behaviour is to install the Android SDK (asuming you're coding for Android) and create a new virtual device. Then test your page on the device.

本文标签: javascriptGesture events are not emulate by chromeStack Overflow