mirror of
https://github.com/jkocon/g-helper.git
synced 2026-04-10 13:00:26 +02:00
Synchronize the indicator light status of CameraShutter at startup. (#3365)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user