Renamed method to make meaning more clear

This commit is contained in:
Travis Nickles 2018-11-01 14:13:10 -05:00
parent 4c1ef2b63c
commit b9b89be554

View File

@ -32,7 +32,7 @@ namespace DS4Windows
} }
public Dictionary<UInt16, KeyPresses> keyPresses = new Dictionary<UInt16, KeyPresses>(); public Dictionary<UInt16, KeyPresses> keyPresses = new Dictionary<UInt16, KeyPresses>();
public void SavePrevious(bool performClear) public void SaveToPrevious(bool performClear)
{ {
previousClicks = currentClicks; previousClicks = currentClicks;
if (performClear) 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 }; public enum Click { None, Left, Middle, Right, Fourth, Fifth, WUP, WDOWN };