Send output report to SONYWA controller when charging status changes

This commit is contained in:
Travis Nickles 2018-04-13 05:33:59 -05:00
parent a5e9ba57bd
commit a9348d1488

View File

@ -993,6 +993,10 @@ namespace DS4Windows
SyncChange?.Invoke(this, EventArgs.Empty); SyncChange?.Invoke(this, EventArgs.Empty);
sendOutputReport(true); sendOutputReport(true);
} }
else if (oldCharging != charging)
{
sendOutputReport(true);
}
} }
ds4InactiveFrame = cState.FrameCounter == pState.FrameCounter; ds4InactiveFrame = cState.FrameCounter == pState.FrameCounter;