diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index 9f65770..331fc8e 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -752,13 +752,9 @@ namespace DS4Windows //Array.Copy(btInputReport, 2, inputReport, 0, inputReport.Length); fixed (byte* byteP = &btInputReport[2], imp = inputReport) { - byte* btImp = byteP; - byte* finImp = imp; for (int j = 0; j < BT_INPUT_REPORT_LENGTH-2;j++) { - finImp[j] = btImp[j]; - //*finImp = *btImp; - //btImp++; finImp++; + imp[j] = byteP[j]; } }