mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-11 15:59:08 +01:00
Corrections to output packet changes
This commit is contained in:
parent
bc9a7c3e65
commit
18c27b7f10
@ -658,8 +658,9 @@ namespace DS4Windows
|
||||
byteR[i] = byteB[i];
|
||||
}
|
||||
//outReportBuffer.CopyTo(outputReport, 0);
|
||||
if (outputPendCount > 0)
|
||||
outputPendCount--;
|
||||
standbySw.Reset();
|
||||
standbySw.Restart();
|
||||
}
|
||||
|
||||
currentRumble = true;
|
||||
@ -1194,11 +1195,17 @@ namespace DS4Windows
|
||||
|
||||
if (synchronous)
|
||||
{
|
||||
outputPendCount = 3;
|
||||
output = output || standbySw.ElapsedMilliseconds >= 4000L;
|
||||
if (output || change)
|
||||
{
|
||||
standbySw.Reset();
|
||||
if (change)
|
||||
{
|
||||
outputPendCount = 3;
|
||||
}
|
||||
else if (outputPendCount > 0)
|
||||
outputPendCount--;
|
||||
|
||||
standbySw.Restart();
|
||||
|
||||
if (usingBT)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user