From f1b51a726ba5e7ad63bb154eed7c44f5af7b4781 Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Fri, 6 Oct 2023 10:51:27 +0200 Subject: [PATCH] Added FX517Z to list of single-color RGB devices https://github.com/seerge/g-helper/issues/1425 --- app/AppConfig.cs | 2 +- app/AsusUSB.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/AppConfig.cs b/app/AppConfig.cs index 8c477cb5..da3508cc 100644 --- a/app/AppConfig.cs +++ b/app/AppConfig.cs @@ -345,7 +345,7 @@ public static class AppConfig public static bool IsSingleColor() { - return ContainsModel("GA401"); + return ContainsModel("GA401") || ContainsModel("FX517Z") || ContainsModel("X13"); } public static bool IsStrix() diff --git a/app/AsusUSB.cs b/app/AsusUSB.cs index 272967f3..d5aee31e 100644 --- a/app/AsusUSB.cs +++ b/app/AsusUSB.cs @@ -121,7 +121,7 @@ namespace GHelper { timer.Elapsed += Timer_Elapsed; - isSingleColor = AppConfig.ContainsModel("GA401") || AppConfig.ContainsModel("X13"); // Mono Color + isSingleColor = AppConfig.IsSingleColor(); // Mono Color var device = GetDevice(AURA_HID_ID); if (device is not null && (device.Attributes.Version == 22 || device.Attributes.Version == 23) && (AppConfig.ContainsModel("GA402X") || AppConfig.ContainsModel("GA402N"))) isSingleColor = true;