From 895539c787a2b175953135ac3698e34fc69bfb99 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Tue, 6 Mar 2018 16:21:24 -0600 Subject: [PATCH] Minor tweak --- DS4Windows/DS4Library/DS4Device.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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]; } }