Fix inverted mouse movement

This commit is contained in:
Cameron Gutman 2014-10-20 03:29:00 -04:00
parent 42773241c1
commit f133f293b8

View File

@ -29,8 +29,8 @@
if (touchLocation.x != currentLocation.x || if (touchLocation.x != currentLocation.x ||
touchLocation.y != currentLocation.y) touchLocation.y != currentLocation.y)
{ {
LiSendMouseMoveEvent(touchLocation.x - currentLocation.x, LiSendMouseMoveEvent(currentLocation.x - touchLocation.x,
touchLocation.y - currentLocation.y); currentLocation.y - touchLocation.y );
touchMoved = true; touchMoved = true;
touchLocation = currentLocation; touchLocation = currentLocation;