mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-10 20:46:24 +00:00
Implement Novation device detection (at start only Launchpad S supported) and implement updating of leds
This commit is contained in:
1 parent
f654f825f7
commit
8ecaff8722
10 files changed
+119
-14
No files matched your search
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using RGB.NET.Core;
|
||||
using Sanford.Multimedia.Midi;
|
||||
|
||||
namespace RGB.NET.Devices.Novation
|
||||
{
|
||||
|
||||
@@ -14,8 +14,9 @@ namespace RGB.NET.Devices.Novation
|
||||
/// Internal constructor of managed <see cref="NovationLaunchpadRGBDeviceInfo"/>.
|
||||
/// </summary>
|
||||
/// <param name="model">The represented device model.</param>
|
||||
internal NovationLaunchpadRGBDeviceInfo(string model)
|
||||
: base(RGBDeviceType.LedMatrix, model)
|
||||
/// <param name="deviceId"></param>
|
||||
internal NovationLaunchpadRGBDeviceInfo(string model, int deviceId)
|
||||
: base(RGBDeviceType.LedMatrix, model, deviceId)
|
||||
{
|
||||
Image = new Uri(PathHelper.GetAbsolutePath($@"Images\Novation\Launchpads\{Model.Replace(" ", string.Empty).ToUpper()}.png"), UriKind.Absolute);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user