using System; using RGB.NET.Core; using RGB.NET.Devices.Corsair.Native; namespace RGB.NET.Devices.Corsair { /// /// Represents a generic information for a . /// public class CorsairMousepadRGBDeviceInfo : CorsairRGBDeviceInfo { #region Constructors /// /// Internal constructor of managed . /// /// The index if the . /// The native -struct internal CorsairMousepadRGBDeviceInfo(int deviceIndex, _CorsairDeviceInfo nativeInfo) : base(deviceIndex, RGBDeviceType.Mousepad, nativeInfo) { Image = new Uri(PathHelper.GetAbsolutePath($@"Images\Corsair\Mousepad\{Model.Replace(" ", string.Empty).ToUpper()}.png"), UriKind.Absolute); } #endregion } }