mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-30 04:54:20 +01:00
Correct some variables
This commit is contained in:
parent
f4302a752d
commit
bf774ba6f7
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user