1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-12 17:48:31 +00:00

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

This commit is contained in:
Darth Affe 2018-07-15 17:27:47 +02:00
parent 0412058e6a
commit 174accf529

View File

@ -114,7 +114,7 @@ namespace RGB.NET.Devices.Logitech
try
{
if (DeviceChecker.IsZoneDeviceConnected)
if (DeviceChecker.IsPerDeviceDeviceConnected)
{
(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