Added support for novation launchpad mk2

This commit is contained in:
DarthAffe committed 2020-09-05 23:48:46 +02:00
1 parent fd2e9a0049
commit f91d5e5060
15 files changed
+474 -272

No files matched your search

@@ -0,0 +1,35 @@
using System;
namespace RGB.NET.Devices.Novation.Attributes
{
/// <inheritdoc />
/// <summary>
/// Specifies the led id mapping of a field.
/// </summary>
[AttributeUsage(AttributeTargets.Field)]
internal class LedIdMappingAttribute : Attribute
{
#region Properties & Fields
/// <summary>
/// Gets the led id mapping.
/// </summary>
internal LedIdMappings LedIdMapping { get; }
#endregion
#region Constructors
/// <inheritdoc />
/// <summary>
/// Initializes a new instance of the <see cref="T:RGB.NET.Devices.Novation.Attributes.LedIdMappingAttribute" /> class.
/// </summary>
/// <param name="ledIdMapping">The led id mapping.</param>
internal LedIdMappingAttribute(LedIdMappings ledIdMapping)
{
this.LedIdMapping = ledIdMapping;
}
#endregion
}
}