Slash Lightning tweaks

This commit is contained in:
Serge
2024-02-10 23:11:31 +01:00
parent 72888401b9
commit 773a5899d1
4 changed files with 37 additions and 44 deletions

View File

@@ -37,14 +37,11 @@ namespace GHelper.AnimeMatrix.Communication.Platform
HidDevice = DeviceList.Local
.GetHidDevices(vendorId, productId)
.First(x => x.GetMaxFeatureReportLength() >= maxFeatureReportLength);
Logger.WriteLine("Matrix Device: " + HidDevice.DevicePath);
Logger.WriteLine("Matrix Features: " + HidDevice.GetMaxFeatureReportLength());
Logger.WriteLine("Matrix Device: " + HidDevice.DevicePath + " " + HidDevice.GetMaxFeatureReportLength());
}
catch
{
throw new IOException("AniMe Matrix control device was not found on your machine.");
throw new IOException("Matrix control device was not found on your machine.");
}
var config = new OpenConfiguration();