From a30b20202282dca19395a4d14d38f7d618729567 Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Thu, 22 Aug 2024 12:20:32 +0200 Subject: [PATCH] ProArt backlight init https://github.com/seerge/g-helper/issues/2973 --- app/USB/Aura.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/USB/Aura.cs b/app/USB/Aura.cs index f5bf44c3..31ffe571 100644 --- a/app/USB/Aura.cs +++ b/app/USB/Aura.cs @@ -268,6 +268,13 @@ namespace GHelper.USB Encoding.ASCII.GetBytes("]ASUS Tech.Inc."), new byte[] { AsusHid.AURA_ID, 0x05, 0x20, 0x31, 0, 0x1A }, }, "Init"); + + if (AppConfig.IsProArt()) + { + AsusHid.WriteInput([0x21,0x0A]); + AsusHid.WriteInput([AsusHid.INPUT_ID, 0x05, 0x20, 0x31, 0x00, 0x08, 0x83, 0x05, 0xC1, 0x00, 0x01, 0x02, 0x01, 0x00, 0x56, 0x0F]); + AsusHid.WriteInput([AsusHid.INPUT_ID, 0xD0, 0x85, 0xFF, 0x01, 0xEC]); + } }