mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-23 23:21:49 +01:00
Merge branch 'jay' into vigem-udpserver
This commit is contained in:
commit
99a1342a51
@ -1102,7 +1102,6 @@ namespace DS4Windows
|
||||
// Use Task to reset device synth state and commit it
|
||||
Task.Run(() =>
|
||||
{
|
||||
Mapping.deviceState[ind].SavePrevious(true);
|
||||
Mapping.Commit(ind);
|
||||
}).Wait();
|
||||
|
||||
|
@ -32,7 +32,7 @@ namespace DS4Windows
|
||||
}
|
||||
public Dictionary<UInt16, KeyPresses> keyPresses = new Dictionary<UInt16, KeyPresses>();
|
||||
|
||||
public void SavePrevious(bool performClear)
|
||||
public void SaveToPrevious(bool performClear)
|
||||
{
|
||||
previousClicks = currentClicks;
|
||||
if (performClear)
|
||||
@ -367,9 +367,9 @@ namespace DS4Windows
|
||||
}
|
||||
}
|
||||
}
|
||||
globalState.SavePrevious(false);
|
||||
globalState.SaveToPrevious(false);
|
||||
}
|
||||
state.SavePrevious(true);
|
||||
state.SaveToPrevious(true);
|
||||
}
|
||||
|
||||
public enum Click { None, Left, Middle, Right, Fourth, Fifth, WUP, WDOWN };
|
||||
|
@ -2178,7 +2178,7 @@ Properties.Resources.DS4Update, MessageBoxButtons.YesNo, MessageBoxIcon.Question
|
||||
}
|
||||
else
|
||||
{
|
||||
ScpDevice.UnregisterNotify(Handle);
|
||||
ScpDevice.UnregisterNotify(regHandle);
|
||||
}
|
||||
}
|
||||
else if (userClosing && closeMini && !contextclose)
|
||||
|
Loading…
Reference in New Issue
Block a user