Use refresh calibration method when creating DS4Device instance

This commit is contained in:
Travis Nickles 2017-10-11 18:57:11 -05:00
parent 0df84e1fba
commit 036cfcb34d

View File

@ -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()