mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 13:06:24 +00:00
Added support for novation launchpad mk2
This commit is contained in:
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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user