Added Id to devices

This commit is contained in:
DarthAffe committed 2018-07-10 20:06:38 +02:00
1 parent 38f62e0a37
commit a86d5f7e84
19 files changed
+52 -12

No files matched your search

@@ -58,7 +58,7 @@ namespace RGB.NET.Devices.Novation
}
if (DeviceInfo.ColorCapabilities == NovationColorCapabilities.LimitedRG)
UpdateQueue = new LimitedColorUpdateQueue(updateTrigger, DeviceInfo.DeviceId);
UpdateQueue = new LimitedColorUpdateQueue(updateTrigger, DeviceInfo.MidiDeviceId);
}
/// <summary>
@@ -11,6 +11,9 @@ namespace RGB.NET.Devices.Novation
{
#region Properties & Fields
/// <inheritdoc />
public object DeviceId => MidiDeviceId;
/// <inheritdoc />
public RGBDeviceType DeviceType { get; }
@@ -37,7 +40,7 @@ namespace RGB.NET.Devices.Novation
/// <summary>
/// Gets the (midi)-id of the <see cref="IRGBDevice"/>..
/// </summary>
public int DeviceId { get; }
public int MidiDeviceId { get; }
#endregion
@@ -54,7 +57,7 @@ namespace RGB.NET.Devices.Novation
{
this.DeviceType = deviceType;
this.Model = model;
this.DeviceId = deviceId;
this.MidiDeviceId = deviceId;
this.ColorCapabilities = colorCapabilities;
}