Synchronize the indicator light status of CameraShutter at startup. (#3365)

This commit is contained in:
yinyue200
2024-11-11 22:07:18 +08:00
committed by GitHub
parent 63d3393b7b
commit 819207c4f1
2 changed files with 7 additions and 3 deletions

View File

@@ -86,9 +86,14 @@ namespace GHelper.Input
Program.acpi.DeviceInit();
if (!OptimizationService.IsRunning())
{
Program.acpi.DeviceGet(AsusACPI.CameraShutter);
listener = new KeyboardListener(HandleEvent);
}
else
{
Logger.WriteLine("Optimization service is running");
}
InitBacklightTimer();