From e8880c5d287826a471ce7a23b8d340ed4f2a1fc0 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Sun, 17 Sep 2017 13:37:31 -0500 Subject: [PATCH] Minor tweak --- DS4Windows/DS4Control/ControlService.cs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/DS4Windows/DS4Control/ControlService.cs b/DS4Windows/DS4Control/ControlService.cs index 54a9328..2ba1986 100644 --- a/DS4Windows/DS4Control/ControlService.cs +++ b/DS4Windows/DS4Control/ControlService.cs @@ -783,9 +783,7 @@ namespace DS4Windows } if (getEnableTouchToggle(ind)) - { CheckForTouchToggle(ind, cState, pState); - } cState = Mapping.SetCurveAndDeadzone(ind, cState); @@ -933,9 +931,9 @@ namespace DS4Windows oldscrollvalue[deviceID] = getScrollSensitivity(deviceID); getTouchSensitivity()[deviceID] = 0; getScrollSensitivity()[deviceID] = 0; - LogDebug(getTouchSensitivity(deviceID) > 0 ? Properties.Resources.TouchpadMovementOn : + LogDebug(oldtouchvalue[deviceID] > 0 ? Properties.Resources.TouchpadMovementOn : Properties.Resources.TouchpadMovementOff); - Log.LogToTray(getTouchSensitivity(deviceID) > 0 ? Properties.Resources.TouchpadMovementOn : + Log.LogToTray(oldtouchvalue[deviceID] > 0 ? Properties.Resources.TouchpadMovementOn : Properties.Resources.TouchpadMovementOff); touchreleased[deviceID] = false; } @@ -943,9 +941,9 @@ namespace DS4Windows { getTouchSensitivity()[deviceID] = oldtouchvalue[deviceID]; getScrollSensitivity()[deviceID] = oldscrollvalue[deviceID]; - LogDebug(getTouchSensitivity(deviceID) > 0 ? Properties.Resources.TouchpadMovementOn : + LogDebug(oldtouchvalue[deviceID] > 0 ? Properties.Resources.TouchpadMovementOn : Properties.Resources.TouchpadMovementOff); - Log.LogToTray(getTouchSensitivity(deviceID) > 0 ? Properties.Resources.TouchpadMovementOn : + Log.LogToTray(oldtouchvalue[deviceID] > 0 ? Properties.Resources.TouchpadMovementOn : Properties.Resources.TouchpadMovementOff); touchreleased[deviceID] = false; }