Skip to content

Commit

Permalink
Migrated Aura & XGM communication to HidSharp library to speed things…
Browse files Browse the repository at this point in the history
… up (#1594)

* Cleanup

* Touchpad toggle fix for FA507 #1589

* Cleanup
  • Loading branch information
seerge authored Nov 12, 2023
1 parent dd52f80 commit 5c45003
Show file tree
Hide file tree
Showing 15 changed files with 716 additions and 735 deletions.
7 changes: 6 additions & 1 deletion app/AppConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public static bool IsStrix()

public static bool IsStrixLimitedRGB()
{
return ContainsModel("G614JV") || ContainsModel("G614JZ") || ContainsModel("G512LI");
return ContainsModel("G614JV") || ContainsModel("G614JZ") || ContainsModel("G512LI") || ContainsModel("G513RS");
}

public static bool IsZ13()
Expand Down Expand Up @@ -441,4 +441,9 @@ public static bool IsNoGPUModes()
return ContainsModel("GV301RA") || ContainsModel("GV302XA") || IsAlly();
}

public static bool IsHardwareTouchpadToggle()
{
return ContainsModel("FA507");
}

}
3 changes: 2 additions & 1 deletion app/AsusACPI.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using GHelper;
using GHelper.USB;
using System.Management;
using System.Runtime.InteropServices;

Expand Down Expand Up @@ -549,7 +550,7 @@ public void TUFKeyboardBrightness(int brightness)
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];
Expand Down
Loading

0 comments on commit 5c45003

Please sign in to comment.