// ReSharper disable MemberCanBePrivate.Global // ReSharper disable UnusedMember.Global using RGB.NET.Core; namespace RGB.NET.Devices.Corsair { /// /// /// Represents a corsair headset. /// public class CorsairHeadsetRGBDevice : CorsairRGBDevice, IHeadset { #region Constructors /// /// /// Initializes a new instance of the class. /// /// The specific information provided by CUE for the headset internal CorsairHeadsetRGBDevice(CorsairHeadsetRGBDeviceInfo info) : base(info) { } #endregion #region Methods /// protected override void InitializeLayout() { AddLed(LedId.Headset1, new Point(0, 0), new Size(10, 10)); AddLed(LedId.Headset2, new Point(10, 0), new Size(10, 10)); } protected override object GetLedCustomData(LedId ledId) => HeadsetIdMapping.DEFAULT.TryGetValue(ledId, out CorsairLedId id) ? id : CorsairLedId.Invalid; #endregion } }