Backlight tweaks

This commit is contained in:
Serge
2024-10-23 13:29:12 +02:00
parent 15501c7845
commit a024c05bc1

View File

@@ -1544,14 +1544,14 @@ namespace GHelper
public void AutoKeyboard() public void AutoKeyboard()
{ {
InputDispatcher.SetBacklightAuto(true);
if (!AppConfig.Is("skip_aura")) if (!AppConfig.Is("skip_aura"))
{ {
Aura.ApplyPower(); Aura.ApplyPower();
Aura.ApplyAura(); Aura.ApplyAura();
} }
InputDispatcher.SetBacklightAuto(true);
if (Program.acpi.IsXGConnected()) if (Program.acpi.IsXGConnected())
XGM.Light(AppConfig.Is("xmg_light")); XGM.Light(AppConfig.Is("xmg_light"));