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

Fix per key device loading

This commit is contained in:
Robert Beekman 2019-11-10 12:55:49 +01:00 committed by GitHub
parent 1b917c8c78
commit 86e9bb293b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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