Single color backlight for keyboard version 22/23 https://github.com/seerge/g-helper/issues/1230

This commit is contained in:
Serge
2023-08-31 23:33:44 +02:00
parent 9d30f2f83e
commit a794f8ed5f

View File

@@ -124,7 +124,7 @@ namespace GHelper
isSingleColor = AppConfig.ContainsModel("GA401") || AppConfig.ContainsModel("X13"); // Mono Color
var device = GetDevice(AURA_HID_ID);
if (device is not null && device.Attributes.Version == 22 && AppConfig.ContainsModel("GA402X")) isSingleColor = true;
if (device is not null && (device.Attributes.Version == 22 || device.Attributes.Version == 23) && (AppConfig.ContainsModel("GA402X") || AppConfig.ContainsModel("GA402N"))) isSingleColor = true;
}
private static void Timer_Elapsed(object? sender, System.Timers.ElapsedEventArgs e)