mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
White only keyboard detection for GA503R https://github.com/seerge/g-helper/issues/1714
This commit is contained in:
@@ -135,7 +135,9 @@ namespace GHelper.USB
|
|||||||
var device = AsusHid.FindDevices(AsusHid.AURA_ID).FirstOrDefault();
|
var device = AsusHid.FindDevices(AsusHid.AURA_ID).FirstOrDefault();
|
||||||
if (device is null) return;
|
if (device is null) return;
|
||||||
Logger.WriteLine($"USB Version: {device.ReleaseNumberBcd} {device.ReleaseNumber}");
|
Logger.WriteLine($"USB Version: {device.ReleaseNumberBcd} {device.ReleaseNumber}");
|
||||||
|
|
||||||
if (device.ReleaseNumberBcd >= 22 && device.ReleaseNumberBcd <= 25) isSingleColor = true;
|
if (device.ReleaseNumberBcd >= 22 && device.ReleaseNumberBcd <= 25) isSingleColor = true;
|
||||||
|
if (AppConfig.ContainsModel("GA503R") && device.ReleaseNumberBcd == 3) isSingleColor = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user