using System.Collections.Generic; using RGB.NET.Core; using RGB.NET.Devices.Corsair.Native; namespace RGB.NET.Devices.Corsair { /// /// /// Represents a generic information for a . /// public class CorsairMouseRGBDeviceInfo : CorsairRGBDeviceInfo { #region Properties & Fields /// /// Gets the physical layout of the mouse. /// public CorsairPhysicalMouseLayout PhysicalLayout { get; } #endregion #region Constructors /// /// /// Internal constructor of managed . /// /// The index of the . /// The native -struct /// A dictionary containing counters to create unique names for equal devices models. internal CorsairMouseRGBDeviceInfo(int deviceIndex, _CorsairDeviceInfo nativeInfo, Dictionary modelCounter) : base(deviceIndex, RGBDeviceType.Mouse, nativeInfo, modelCounter) { this.PhysicalLayout = (CorsairPhysicalMouseLayout)nativeInfo.physicalLayout; } #endregion } }