From c93ea353387202075d227477e866a9e66bac476b Mon Sep 17 00:00:00 2001 From: mika-n Date: Sun, 15 Dec 2019 20:03:53 +0200 Subject: [PATCH 1/2] Nacon Revolution Infinite support. Sometimes known as Nacon Revolution Unlimited Pro v2? --- DS4Windows/DS4Library/DS4Devices.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/DS4Windows/DS4Library/DS4Devices.cs b/DS4Windows/DS4Library/DS4Devices.cs index 380f6d3..588ccb7 100644 --- a/DS4Windows/DS4Library/DS4Devices.cs +++ b/DS4Windows/DS4Library/DS4Devices.cs @@ -57,6 +57,7 @@ namespace DS4Windows new VidPidInfo(0x0C12, 0x57AB, "Warrior Joypad JS083"), // Warrior Joypad JS083 (wired). Custom lightbar color doesn't work, but everything else works OK (except touchpad and gyro because the gamepad doesnt have those). new VidPidInfo(0x0C12, 0x0E16, "Steel Play MetalTech"), // Steel Play Metaltech P4 (wired) new VidPidInfo(NACON_VID, 0x0D08, "Nacon Revol U Pro"), // Nacon Revolution Unlimited Pro + new VidPidInfo(NACON_VID, 0x0D10, "Nacon Revol Infinite"), // Nacon Revolution Infinite (sometimes known as Revol Unlimited Pro v2?). Touchpad, gyro, rumble, "led indicator" lightbar. new VidPidInfo(HORI_VID, 0x0084, "Hori Fighting Cmd"), // Hori Fighting Commander (special kind of gamepad without touchpad or sticks. There is a hardware switch to alter d-pad type between dpad and LS/RS) new VidPidInfo(NACON_VID, 0x0D13, "Nacon Revol Pro v.3"), }; From e97c7675609e5a2dff27f96bfbe25b652c067f5c Mon Sep 17 00:00:00 2001 From: mika-n Date: Sun, 15 Dec 2019 20:21:55 +0200 Subject: [PATCH 2/2] 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 &&