mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-02-27 20:43:33 +01:00
Use refresh calibration method when creating DS4Device instance
This commit is contained in:
parent
0df84e1fba
commit
036cfcb34d
@ -449,10 +449,7 @@ namespace DS4Windows
|
|||||||
touchpad = new DS4Touchpad();
|
touchpad = new DS4Touchpad();
|
||||||
sixAxis = new DS4SixAxis();
|
sixAxis = new DS4SixAxis();
|
||||||
|
|
||||||
byte[] calibration = new byte[41];
|
refreshCalibration();
|
||||||
calibration[0] = conType == ConnectionType.BT ? (byte)0x05 : (byte)0x02;
|
|
||||||
hDevice.readFeatureData(calibration);
|
|
||||||
sixAxis.setCalibrationData(ref calibration, conType == ConnectionType.USB);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void timeoutTestThread()
|
private void timeoutTestThread()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user