using RGB.NET.Core;
namespace RGB.NET.Devices.Asus
{
///
///
/// Represents a Asus mouse.
///
public class AsusMouseRGBDevice : AsusRGBDevice, IMouse
{
#region Constructors
///
///
/// Initializes a new instance of the class.
///
/// The specific information provided by Asus for the mouse.
internal AsusMouseRGBDevice(AsusRGBDeviceInfo info)
: base(info)
{ }
#endregion
#region Methods
///
protected override void InitializeLayout()
{
int ledCount = DeviceInfo.Device.Lights.Count;
for (int i = 0; i < ledCount; i++)
AddLed(LedId.Mouse1 + i, new Point(i * 10, 0), new Size(10, 10));
}
///
protected override object? GetLedCustomData(LedId ledId) => (int)ledId - (int)LedId.Mouse1;
#endregion
}
}