Fix wrong IsConnected-check for logitech per-key-devices

This commit is contained in:
DarthAffe committed 2018-07-15 17:27:47 +02:00
1 parent 0412058e6a
commit 174accf529
1 file changed
+1 -1
@@ -114,7 +114,7 @@ namespace RGB.NET.Devices.Logitech
try try
{ {
if (DeviceChecker.IsZoneDeviceConnected) if (DeviceChecker.IsPerDeviceDeviceConnected)
{ {
(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