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 ||
touchLocation.y != currentLocation.y)
{
LiSendMouseMoveEvent(touchLocation.x - currentLocation.x,
touchLocation.y - currentLocation.y);
LiSendMouseMoveEvent(currentLocation.x - touchLocation.x,
currentLocation.y - touchLocation.y );
touchMoved = true;
touchLocation = currentLocation;