Opened 9 years ago
Last modified 9 years ago
#16944 assigned feature
portable gesture events
Reported by: | bill | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 2.0 |
Component: | Events | Version: | 1.8.3 |
Keywords: | Cc: | Sebastien Pereira | |
Blocked By: | Blocking: |
Description
dojox/gesture only works on webkit browsers. It depends on evt.touches[] being defined, which is not defined for Microsoft Surface events. We should have a module with synthetic gesture events that works on all touch devices.
On Microsoft, you should use MSGesture* events for tracking zoom, rotation, etc. See http://blogs.msdn.com/b/ie/archive/2011/09/20/touch-input-for-ie10-and-metro-style-apps.aspx for details.
If you need to define some non-standard gesture behavior, then you would have to monitor MSPointerMove events, but that's quite different from touchmove events because IIUC each finger on the screen generates independent MSPointerMove events, rather than having a single touchmove event with information about each finger. Thus, the code and API of dojox/gesture/Base likely needs to be redesigned.
Change History (2)
comment:1 Changed 9 years ago by
Milestone: | tbd → 2.0 |
---|---|
Owner: | Kris Zyp deleted |
Status: | new → assigned |
comment:2 Changed 9 years ago by
Cc: | Sebastien Pereira added |
---|
This doesn't necessarily need to be done by Kris, but it is something we should have in 2.0, instead of the current dojox/gesture.