From de8f1ae3549f500985f6ae51b2c220379dbff18c Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Fri, 26 May 2017 19:03:35 -0700 Subject: [PATCH] Change order of syncchange invoking --- DS4Windows/DS4Library/DS4Device.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DS4Windows/DS4Library/DS4Device.cs b/DS4Windows/DS4Library/DS4Device.cs index aeb9946..4877fb0 100644 --- a/DS4Windows/DS4Library/DS4Device.cs +++ b/DS4Windows/DS4Library/DS4Device.cs @@ -803,8 +803,8 @@ namespace DS4Windows bool controllerSynced = inputReport[31] == 0; if (controllerSynced != synced) { - SyncChange?.Invoke(this, EventArgs.Empty); synced = controllerSynced; + SyncChange?.Invoke(this, EventArgs.Empty); } }