I split touch/mouse input control into touch wrap
plugin. And made new cursor behavior -- cursor2
, new drag&drop behavior drag&drop2
The usage of these two new behaviors is the same as older. The different is, user need to put touch wrap plugin into project. It will pop-up an alert when user forgot to put touch wrap.
cursor -> cursor2 + touch wrap
drag drop -> drag drop2 + touch wrap
Actually, touch wrap plugin is modified from official touch plugin. So that it could be use in new exporter (cocoonjs, appmobli).
The different between my touch wrap and official touch is: touch wrap will keep the last touch.X, touch.Y after touch end. official touch will set touch.X, touch.Y to 0 after touch end.rexrainbow2012-05-25 06:59:28