mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 01:58:30 +00:00
27 lines
1.0 KiB
C#
27 lines
1.0 KiB
C#
using System;
|
|
using RGB.NET.Devices.Corsair.Native;
|
|
|
|
namespace RGB.NET.Devices.Corsair
|
|
{
|
|
/// <summary>
|
|
/// Represents a generic information for a <see cref="CorsairMousematRGBDevice"/>.
|
|
/// </summary>
|
|
public class CorsairMousematRGBDeviceInfo : CorsairRGBDeviceInfo
|
|
{
|
|
#region Constructors
|
|
|
|
/// <summary>
|
|
/// Internal constructor of managed <see cref="CorsairMousematRGBDeviceInfo"/>.
|
|
/// </summary>
|
|
/// <param name="deviceIndex">The index if the <see cref="CorsairMousematRGBDevice"/>.</param>
|
|
/// <param name="nativeInfo">The native <see cref="_CorsairDeviceInfo" />-struct</param>
|
|
internal CorsairMousematRGBDeviceInfo(int deviceIndex, _CorsairDeviceInfo nativeInfo)
|
|
: base(deviceIndex, Core.RGBDeviceType.Mousemat, nativeInfo)
|
|
{
|
|
Image = new Uri($"pack://application:,,,/RGB.NET.Devices.Corsair;component/Images/Mousemat/{Model.Replace(" ", string.Empty).ToUpper()}.png", UriKind.Absolute);
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|