Improved color-calculation of novation devices

This commit is contained in:
DarthAffe committed 2017-08-16 20:36:43 +02:00
1 parent 5440f9844f
commit 3a9d8e2e6d
9 files changed
+134 -40

No files matched your search

@@ -15,8 +15,9 @@ namespace RGB.NET.Devices.Novation
/// </summary>
/// <param name="model">The represented device model.</param>
/// <param name="deviceId"></param>
internal NovationLaunchpadRGBDeviceInfo(string model, int deviceId)
: base(RGBDeviceType.LedMatrix, model, deviceId)
/// <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);
}