From 2c4ce7d672fdb930d5a850694caa3a1be4ef4d11 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Fri, 22 Mar 2019 15:13:18 -0500 Subject: [PATCH] Corrected force feedback motor values on SONYWA sync change --- DS4Windows/DS4Control/ControlService.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DS4Windows/DS4Control/ControlService.cs b/DS4Windows/DS4Control/ControlService.cs index f82342f..d01fea6 100644 --- a/DS4Windows/DS4Control/ControlService.cs +++ b/DS4Windows/DS4Control/ControlService.cs @@ -1049,7 +1049,7 @@ namespace DS4Windows x360controls[ind].Disconnect(); x360controls[ind] = null; useDInputOnly[ind] = true; - LogDebug("X360 Controller # " + (ind + 1) + " unplugged"); + LogDebug("X360 Controller #" + (ind + 1) + " unplugged"); } } else @@ -1058,13 +1058,13 @@ namespace DS4Windows { LogDebug("Plugging in X360 Controller #" + (ind + 1)); x360controls[ind] = new Xbox360Controller(vigemTestClient); - x360controls[ind].Connect(); x360controls[ind].FeedbackReceived += (eventsender, args) => { - setRumble(args.SmallMotor, args.LargeMotor, ind); + SetDevRumble(device, args.LargeMotor, args.SmallMotor, ind); }; + x360controls[ind].Connect(); useDInputOnly[ind] = false; - LogDebug("X360 Controller # " + (ind + 1) + " connected"); + LogDebug("X360 Controller #" + (ind + 1) + " connected"); } } }