From 8b66e95b8bd2403a11a15a697152924ad796b27b Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Wed, 21 Aug 2024 10:38:33 +0200 Subject: [PATCH] Backlight modes for old TUFs https://github.com/seerge/g-helper/discussions/2996 --- app/AsusACPI.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/AsusACPI.cs b/app/AsusACPI.cs index 9de7049e..9a1e1643 100644 --- a/app/AsusACPI.cs +++ b/app/AsusACPI.cs @@ -806,7 +806,15 @@ public class AsusACPI setting[5] = (byte)speed; int result = DeviceSet(TUF_KB, setting, log); - if (result != 1) DeviceSet(TUF_KB2, setting, log); + if (result != 1) + { + setting[0] = (byte)0xb3; + DeviceSet(TUF_KB2, setting, log); + setting[0] = (byte)0xb4; + DeviceSet(TUF_KB2, setting, log); + } + + // if (AppConfig.IsVivoZenPro()) DeviceSet(VIVO_KB, setting_vivo, "VIVO RGB"); }