mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01: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