mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Added FX517Z to list of single-color RGB devices https://github.com/seerge/g-helper/issues/1425
This commit is contained in:
@@ -345,7 +345,7 @@ public static class AppConfig
|
|||||||
|
|
||||||
public static bool IsSingleColor()
|
public static bool IsSingleColor()
|
||||||
{
|
{
|
||||||
return ContainsModel("GA401");
|
return ContainsModel("GA401") || ContainsModel("FX517Z") || ContainsModel("X13");
|
||||||
}
|
}
|
||||||
|
|
||||||
public static bool IsStrix()
|
public static bool IsStrix()
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ namespace GHelper
|
|||||||
{
|
{
|
||||||
timer.Elapsed += Timer_Elapsed;
|
timer.Elapsed += Timer_Elapsed;
|
||||||
|
|
||||||
isSingleColor = AppConfig.ContainsModel("GA401") || AppConfig.ContainsModel("X13"); // Mono Color
|
isSingleColor = AppConfig.IsSingleColor(); // Mono Color
|
||||||
|
|
||||||
var device = GetDevice(AURA_HID_ID);
|
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;
|
if (device is not null && (device.Attributes.Version == 22 || device.Attributes.Version == 23) && (AppConfig.ContainsModel("GA402X") || AppConfig.ContainsModel("GA402N"))) isSingleColor = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user