mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 19:14:20 +01:00
Fix output report updating
This commit is contained in:
parent
649e3b2ceb
commit
45c0b9945c
@ -576,10 +576,9 @@ namespace DS4Windows
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
int lastError = 0;
|
int lastError = 0;
|
||||||
|
bool result = false, currentRumble = false;
|
||||||
while (!exitOutputThread)
|
while (!exitOutputThread)
|
||||||
{
|
{
|
||||||
bool result = false, currentRumble = false;
|
|
||||||
|
|
||||||
if (currentRumble)
|
if (currentRumble)
|
||||||
{
|
{
|
||||||
lock(outputReport)
|
lock(outputReport)
|
||||||
@ -1089,7 +1088,7 @@ namespace DS4Windows
|
|||||||
|
|
||||||
if (output || change)
|
if (output || change)
|
||||||
{
|
{
|
||||||
if (outputPendCount == 0 || change)
|
if (change)
|
||||||
outputPendCount = 3;
|
outputPendCount = 3;
|
||||||
|
|
||||||
outputRumble = true;
|
outputRumble = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user