Correct some variables

This commit is contained in:
Travis Nickles 2017-06-21 18:11:14 -07:00
parent f4302a752d
commit bf774ba6f7

View File

@ -32,9 +32,9 @@ namespace DS4Windows
previousAxis = prevAxis; previousAxis = prevAxis;
if (previousAxis != null) if (previousAxis != null)
{ {
deltaX = aX - previousAxis.gyroX; deltaX = gyroX - previousAxis.gyroX;
deltaY = aY - previousAxis.gyroY; deltaY = gyroY - previousAxis.gyroY;
deltaZ = aZ - previousAxis.gyroZ; deltaZ = gyroZ - previousAxis.gyroZ;
} }
} }
} }