Fix accel data copying

This commit is contained in:
Travis Nickles 2018-03-06 23:54:37 -06:00
parent 37bb576aa6
commit c56f1a7235

View File

@ -969,7 +969,7 @@ namespace DS4Windows
for (int i = 6; i < 12; i++) for (int i = 6; i < 12; i++)
{ {
pbAccel[i] = pbInput[i]; pbAccel[i-6] = pbInput[i];
} }
} }
sixAxis.handleSixaxis(gyro, accel, cState, elapsedDeltaTime); sixAxis.handleSixaxis(gyro, accel, cState, elapsedDeltaTime);