mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 10:08:31 +00:00
28 lines
1.1 KiB
C#
28 lines
1.1 KiB
C#
using System;
|
|
using RGB.NET.Core;
|
|
|
|
namespace RGB.NET.Devices.Novation
|
|
{
|
|
/// <summary>
|
|
/// Represents a generic information for a <see cref="NovationLaunchpadRGBDevice"/>.
|
|
/// </summary>
|
|
public class NovationLaunchpadRGBDeviceInfo : NovationRGBDeviceInfo
|
|
{
|
|
#region Constructors
|
|
|
|
/// <summary>
|
|
/// Internal constructor of managed <see cref="NovationLaunchpadRGBDeviceInfo"/>.
|
|
/// </summary>
|
|
/// <param name="model">The represented device model.</param>
|
|
/// <param name="deviceId"></param>
|
|
/// <param name="colorCapabilities">The <see cref="NovationColorCapabilities"/> of the <see cref="IRGBDevice"/>.</param>
|
|
internal NovationLaunchpadRGBDeviceInfo(string model, int deviceId, NovationColorCapabilities colorCapabilities)
|
|
: base(RGBDeviceType.LedMatrix, model, deviceId, colorCapabilities)
|
|
{
|
|
Image = new Uri(PathHelper.GetAbsolutePath($@"Images\Novation\Launchpads\{Model.Replace(" ", string.Empty).ToUpper()}.png"), UriKind.Absolute);
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|