// ReSharper disable MemberCanBePrivate.Global
// ReSharper disable UnusedAutoPropertyAccessor.Global
using System.Drawing;
using CUE.NET.Devices.Generic;
using CUE.NET.Devices.Keyboard.Enums;
namespace CUE.NET.Devices.Keyboard.Keys
{
///
/// Represents a key of a corsair keyboard.
///
public class CorsairKey
{
#region Properties & Fields
///
/// Gets the key-ID of the key.
///
public CorsairKeyboardKeyId KeyId { get; }
///
/// Gets the LED of the key.
///
public CorsairLed Led { get; }
///
/// Gets a rectangle representing the physical location of the key.
///
public RectangleF KeyRectangle { get; }
#endregion
#region Constructors
///
/// Initializes a new instance of the class.
///
/// The key-ID of the key.
/// The LED of the key.
/// The rectangle representing the physical location of the key.
internal CorsairKey(CorsairKeyboardKeyId keyId, CorsairLed led, RectangleF keyRectangle)
{
this.KeyId = keyId;
this.Led = led;
this.KeyRectangle = keyRectangle;
}
#endregion
}
}