From e97c7675609e5a2dff27f96bfbe25b652c067f5c Mon Sep 17 00:00:00 2001 From: mika-n Date: Sun, 15 Dec 2019 20:21:55 +0200 Subject: [PATCH] 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) --- DS4Windows/DS4Library/DS4Device.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index 8c57542..00eec5a 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -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 &&