Fixed code issues

This commit is contained in:
DarthAffe committed 2021-06-01 23:53:56 +02:00
1 parent 4466acfbf7
commit 7b0e9152fd
54 files changed
+330 -275

No files matched your search

@@ -40,7 +40,9 @@ namespace RGB.NET.Devices.Novation
}
/// <inheritdoc />
// ReSharper disable RedundantCast
protected override object GetLedCustomData(LedId ledId) => GetDeviceMapping().TryGetValue(ledId, out (byte mode, byte id, int _, int __) data) ? (data.mode, data.id) : ((byte)0x00, (byte)0x00);
// ReSharper restore RedundantCast
protected virtual Dictionary<LedId, (byte mode, byte id, int x, int y)> GetDeviceMapping()
=> DeviceInfo.LedIdMapping switch