Fix per key device loading

This commit is contained in:
Robert Beekman authored and GitHub committed 2019-11-10 12:55:49 +01:00
1 parent 1b917c8c78
commit 86e9bb293b
1 file changed
+1 -1
@@ -114,7 +114,7 @@ namespace RGB.NET.Devices.Logitech
try try
{ {
if (DeviceChecker.IsPerDeviceDeviceConnected) if (DeviceChecker.IsPerKeyDeviceConnected)
{ {
(string model, RGBDeviceType deviceType, int _, int _, string imageLayout, string layoutPath) = DeviceChecker.PerKeyDeviceData; (string model, RGBDeviceType deviceType, int _, int _, string imageLayout, string layoutPath) = DeviceChecker.PerKeyDeviceData;
if (loadFilter.HasFlag(deviceType)) //TODO DarthAffe 07.12.2017: Check if it's worth to try another device if the one returned doesn't match the filter if (loadFilter.HasFlag(deviceType)) //TODO DarthAffe 07.12.2017: Check if it's worth to try another device if the one returned doesn't match the filter