Tweaked "runCalib=false" check for Nacon gamepads. Nowadays there are Nacon gamepads with full PS4 compatible gyro, so by default run calibration by default. Skip the gyro calib only for the couple old supported Nacon gamepads for which this "skip runcalib check" was supposed to be here (not sure if this check is required at all)

This commit is contained in:
mika-n 2019-12-15 20:21:55 +02:00
parent c93ea35338
commit e97c767560

View File

@ -427,8 +427,9 @@ namespace DS4Windows
audio = new DS4Audio();
micAudio = new DS4Audio(DS4Library.CoreAudio.DataFlow.Capture);
}
else if (tempAttr.VendorId == 0x146B)
else if (tempAttr.VendorId == 0x146B && (tempAttr.ProductId == 0x0D01 || tempAttr.ProductId == 0x0D02))
{
// The old logic didn't run gyro calibration for any of the Nacon gamepads. Nowadays there are Nacon gamepads with full PS4 compatible gyro, so skip the calibration only for old Nacon devices (is that skip even necessary?)
runCalib = false;
}
else if (tempAttr.VendorId == DS4Devices.RAZER_VID &&