Confirmed users
133
edits
Luke-chang (talk | contribs) |
Luke-chang (talk | contribs) |
||
| Line 12: | Line 12: | ||
detail: { | detail: { | ||
width: <touch panel width, integer, in pixels>, | width: <touch panel width, integer, in pixels>, | ||
height: <touch panel height, integer, in pixels> | height: <touch panel height, integer, in pixels>, | ||
identifier: <A simple unique identifier for server to distinguish touch events between different clients, string> | |||
} | } | ||
} | } | ||
| Line 21: | Line 22: | ||
dx: <dx between current point and starting point, integer, in pixels>, | dx: <dx between current point and starting point, integer, in pixels>, | ||
dy: <dy between current point and starting point, integer, in pixels>, | dy: <dy between current point and starting point, integer, in pixels>, | ||
identifier: <should be identical with "touchstart">, | |||
duration: <duration from "touchstart", integer, in milliseconds> | duration: <duration from "touchstart", integer, in milliseconds> | ||
} | } | ||
| Line 30: | Line 32: | ||
dx: <same as "touchmove">, | dx: <same as "touchmove">, | ||
dy: <same as "touchmove">, | dy: <same as "touchmove">, | ||
identifier: <should be identical with "touchstart">, | |||
duration: <same as "touchmove">, | duration: <same as "touchmove">, | ||
swipe: <the gesture within this touch, string, should be "left", "right", "up" and "down"> | swipe: <the gesture within this touch, string, should be "left", "right", "up" and "down"> | ||