Change behavior of hotkeys timer

This commit is contained in:
Travis Nickles 2018-08-10 21:43:11 -05:00
parent dbf2c63094
commit 262992f757

View File

@ -311,6 +311,7 @@ namespace DS4Windows
btnStartStop.Text = Properties.Resources.StartText; btnStartStop.Text = Properties.Resources.StartText;
hotkeysTimer.Elapsed += Hotkeys; hotkeysTimer.Elapsed += Hotkeys;
hotkeysTimer.AutoReset = false;
if (SwipeProfiles) if (SwipeProfiles)
{ {
hotkeysTimer.Start(); hotkeysTimer.Start();
@ -601,6 +602,8 @@ namespace DS4Windows
bat = null; bat = null;
runningBat = false; runningBat = false;
} }
hotkeysTimer.Start();
} }
private void CheckAutoProfiles(object sender, EventArgs e) private void CheckAutoProfiles(object sender, EventArgs e)