|
@@ -194,6 +194,7 @@ var draw_graph = function (graphType, obj) {
|
|
|
var ping = resolving == 0 ?
|
|
|
{ "data": { "action": 0, "count": ongoingTouches.length, "pointerId": touchfor[i].identifier, "x": acrossWidthX.toFixed(2), "y": acrossHeightY.toFixed(2) }, "type": "event" } :
|
|
|
{ "data": { "action": 0, "count": ongoingTouches.length, "pointerId": touchfor[i].identifier, "x": verticalWidthX.toFixed(2), "y": verticalHeightY.toFixed(2) }, "type": "event" };
|
|
|
+ console.log('x:' + ping.data.x, 'y:' + ping.data.y);
|
|
|
wsss.send(JSON.stringify(ping));
|
|
|
}
|
|
|
canDraw = true;
|