From 036cfcb34d71aac7f5f8cf451315ddff76ac288f Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 11 Oct 2017 18:57:11 -0500 Subject: [PATCH] Use refresh calibration method when creating DS4Device instance --- DS4Windows/DS4Library/DS4Device.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index adbdd4e..e4dbbbc 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -449,10 +449,7 @@ namespace DS4Windows touchpad = new DS4Touchpad(); sixAxis = new DS4SixAxis(); - byte[] calibration = new byte[41]; - calibration[0] = conType == ConnectionType.BT ? (byte)0x05 : (byte)0x02; - hDevice.readFeatureData(calibration); - sixAxis.setCalibrationData(ref calibration, conType == ConnectionType.USB); + refreshCalibration(); } private void timeoutTestThread()