Firefox/Projects/Multitouch Polish/DOM Events: Difference between revisions

m
No edit summary
Line 11: Line 11:
*MozTouchRelease
*MozTouchRelease


Currently they inherit from MouseEvent and adds a streamId property which uniquely identifies a tracking point. In Win7 this id is provided by the OS/driver layer and is valid only while the same touch point is being tracked. After its finger release, the id can be (and ''will be'') reused.
Currently they inherit from MouseEvent and adds a '''streamId''' property which uniquely identifies a tracking point. In Win7 this id is provided by the OS/driver layer and is valid only while the same touch point is being tracked. After its finger release, the id can be (and ''will be'') reused.


Each event is related to each single touch point, so if there are 3 fingers touching the screen, 3 MozTouchMove events can possibly be dispatched for each loop in the message loop.
Each event is related to each single touch point, so if there are 3 fingers touching the screen, 3 MozTouchMove events can possibly be dispatched for each loop in the message loop.
Confirmed users
371

edits