mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-24 15:41:49 +01:00
Correct touchpad toggle messages
This commit is contained in:
parent
036cfcb34d
commit
0c303a091a
@ -896,20 +896,16 @@ namespace DS4Windows
|
|||||||
oldscrollvalue[deviceID] = getScrollSensitivity(deviceID);
|
oldscrollvalue[deviceID] = getScrollSensitivity(deviceID);
|
||||||
getTouchSensitivity()[deviceID] = 0;
|
getTouchSensitivity()[deviceID] = 0;
|
||||||
getScrollSensitivity()[deviceID] = 0;
|
getScrollSensitivity()[deviceID] = 0;
|
||||||
LogDebug(oldtouchvalue[deviceID] > 0 ? Properties.Resources.TouchpadMovementOn :
|
LogDebug(Properties.Resources.TouchpadMovementOff);
|
||||||
Properties.Resources.TouchpadMovementOff);
|
Log.LogToTray(Properties.Resources.TouchpadMovementOff);
|
||||||
Log.LogToTray(oldtouchvalue[deviceID] > 0 ? Properties.Resources.TouchpadMovementOn :
|
|
||||||
Properties.Resources.TouchpadMovementOff);
|
|
||||||
touchreleased[deviceID] = false;
|
touchreleased[deviceID] = false;
|
||||||
}
|
}
|
||||||
else if (touchreleased[deviceID])
|
else if (touchreleased[deviceID])
|
||||||
{
|
{
|
||||||
getTouchSensitivity()[deviceID] = oldtouchvalue[deviceID];
|
getTouchSensitivity()[deviceID] = oldtouchvalue[deviceID];
|
||||||
getScrollSensitivity()[deviceID] = oldscrollvalue[deviceID];
|
getScrollSensitivity()[deviceID] = oldscrollvalue[deviceID];
|
||||||
LogDebug(oldtouchvalue[deviceID] > 0 ? Properties.Resources.TouchpadMovementOn :
|
LogDebug(Properties.Resources.TouchpadMovementOn);
|
||||||
Properties.Resources.TouchpadMovementOff);
|
Log.LogToTray(Properties.Resources.TouchpadMovementOn);
|
||||||
Log.LogToTray(oldtouchvalue[deviceID] > 0 ? Properties.Resources.TouchpadMovementOn :
|
|
||||||
Properties.Resources.TouchpadMovementOff);
|
|
||||||
touchreleased[deviceID] = false;
|
touchreleased[deviceID] = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user