From aa101b55e1a19c0d802979c712c0c46d8e8fd48b Mon Sep 17 00:00:00 2001 From: Lesueur Benjamin Date: Sun, 27 Oct 2024 14:00:26 +0100 Subject: [PATCH] reduce ControllerManager scenario check to 100ms --- HandheldCompanion/Managers/ControllerManager.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/HandheldCompanion/Managers/ControllerManager.cs b/HandheldCompanion/Managers/ControllerManager.cs index cf101aa1d..f7c569cfb 100644 --- a/HandheldCompanion/Managers/ControllerManager.cs +++ b/HandheldCompanion/Managers/ControllerManager.cs @@ -55,7 +55,7 @@ public static class ControllerManager private static object targetLock = new object(); public static ControllerManagerStatus managerStatus = ControllerManagerStatus.Pending; - private static Timer scenarioTimer = new(1000) { AutoReset = true }; + private static Timer scenarioTimer = new(100) { AutoReset = false }; public static bool IsInitialized; @@ -277,7 +277,6 @@ private static void ScenarioTimer_Elapsed(object? sender, ElapsedEventArgs e) } } - // either main window or quicktools are focused if (focusedWindows != FocusedWindow.None) ControllerMuted = true;