Slash Lightning

This commit is contained in:
Serge
2024-02-10 22:04:45 +01:00
parent 03f7d717b6
commit 6a44c42cbf
6 changed files with 175 additions and 45 deletions

View File

@@ -36,9 +36,10 @@ namespace GHelper.AnimeMatrix.Communication.Platform
{
HidDevice = DeviceList.Local
.GetHidDevices(vendorId, productId)
.First(x => x.GetMaxFeatureReportLength() == maxFeatureReportLength);
.First(x => x.GetMaxFeatureReportLength() >= maxFeatureReportLength);
Logger.WriteLine("Matrix Device: " + HidDevice.DevicePath);
Logger.WriteLine("Matrix Features: " + HidDevice.GetMaxFeatureReportLength());
}
catch