mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Force miniled status on start / display toggle for G843JYR https://github.com/seerge/g-helper/issues/2802
This commit is contained in:
@@ -60,6 +60,13 @@ namespace GHelper.Display
|
||||
}
|
||||
}
|
||||
|
||||
SetMiniled(miniled);
|
||||
|
||||
InitScreen();
|
||||
}
|
||||
|
||||
public void SetMiniled(int miniled = -1)
|
||||
{
|
||||
if (miniled >= 0)
|
||||
{
|
||||
if (Program.acpi.DeviceGet(AsusACPI.ScreenMiniled1) >= 0)
|
||||
@@ -70,8 +77,12 @@ namespace GHelper.Display
|
||||
Thread.Sleep(100);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
InitScreen();
|
||||
public void InitMiniled()
|
||||
{
|
||||
if (AppConfig.IsForceMiniled())
|
||||
SetMiniled(AppConfig.Get("miniled"));
|
||||
}
|
||||
|
||||
public void ToogleFHD()
|
||||
|
||||
Reference in New Issue
Block a user