mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 19:14:20 +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();
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user