Added generic DeviceInfo to Devices

This commit is contained in:
DarthAffe committed 2017-11-26 09:37:14 +01:00
1 parent 86bc26233b
commit 67fcc8e52e
38 files changed
+210 -246

No files matched your search

@@ -10,17 +10,8 @@ namespace RGB.NET.Devices.Logitech
/// <summary>
/// Represents a logitech per-key-lightable device.
/// </summary>
public class LogitechPerKeyRGBDevice : LogitechRGBDevice
public class LogitechPerKeyRGBDevice : LogitechRGBDevice<LogitechRGBDeviceInfo>
{
#region Properties & Fields
/// <summary>
/// Gets information about the <see cref="LogitechPerKeyRGBDevice"/>.
/// </summary>
public LogitechRGBDeviceInfo PerKeyDeviceInfo { get; }
#endregion
#region Constructors
/// <inheritdoc />
@@ -30,9 +21,7 @@ namespace RGB.NET.Devices.Logitech
/// <param name="info">The specific information provided by logitech for the per-key-lightable device</param>
internal LogitechPerKeyRGBDevice(LogitechRGBDeviceInfo info)
: base(info)
{
this.PerKeyDeviceInfo = info;
}
{ }
#endregion