Migrated Aura & XGM communication to HidSharp library to speed things up (#1594)

* Cleanup

* Touchpad toggle fix for FA507 https://github.com/seerge/g-helper/issues/1589

* Cleanup
This commit is contained in:
Serge
2023-11-12 22:28:37 +01:00
committed by GitHub
parent dd52f8039c
commit 5c4500315c
15 changed files with 716 additions and 735 deletions

View File

@@ -1,4 +1,5 @@
using GHelper;
using GHelper.USB;
using System.Management;
using System.Runtime.InteropServices;
@@ -549,7 +550,7 @@ public class AsusACPI
DeviceSet(TUF_KB_BRIGHTNESS, param, "TUF Brightness");
}
public void TUFKeyboardRGB(int mode, Color color, int speed, string? log = "TUF RGB")
public void TUFKeyboardRGB(AuraMode mode, Color color, int speed, string? log = "TUF RGB")
{
byte[] setting = new byte[6];