mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 13:06:24 +00:00
Added dynamic lighting device provider (not working)
This commit is contained in:
1 parent
a4bd797912
commit
768b1fddd0
38 files changed
+1758
No files matched your search
@@ -0,0 +1,34 @@
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
using RGB.NET.Core;
|
||||
|
||||
namespace RGB.NET.Devices.DynamicLighting;
|
||||
|
||||
/// <inheritdoc cref="DynamicLightingRGBDevice{TDeviceInfo}" />
|
||||
/// <summary>
|
||||
/// Represents a Dynamic Lighting Mouse-device.
|
||||
/// </summary>
|
||||
public sealed class DynamicLightingMouseRGBDevice : DynamicLightingRGBDevice<DynamicLightingMouseRGBDeviceInfo>, IMouse
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <inheritdoc/>
|
||||
protected override LedId ReferenceLedId => LedId.Mouse1;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="T:RGB.NET.Devices.DynamicLighting.DynamicLightingMouseRGBDevice" /> class.
|
||||
/// </summary>
|
||||
/// <param name="info">The meta data for this device.</param>
|
||||
/// <param name="updateQueue">The queue used to update this device.</param>
|
||||
internal DynamicLightingMouseRGBDevice(DynamicLightingMouseRGBDeviceInfo info, DynamicLightingDeviceUpdateQueue updateQueue)
|
||||
: base(info, updateQueue)
|
||||
{ }
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using RGB.NET.Core;
|
||||
|
||||
namespace RGB.NET.Devices.DynamicLighting;
|
||||
|
||||
/// <inheritdoc />
|
||||
/// <summary>
|
||||
/// Represents a generic information for a <see cref="T:RGB.NET.Devices.DynamicLighting.DynamicLightingMouseRGBDevice" />.
|
||||
/// </summary>
|
||||
public sealed class DynamicLightingMouseRGBDeviceInfo : DynamicLightingRGBDeviceInfo
|
||||
{
|
||||
#region Constructors
|
||||
|
||||
/// <inheritdoc />
|
||||
internal DynamicLightingMouseRGBDeviceInfo(LampArrayInfo lampArrayInfo)
|
||||
: base(RGBDeviceType.Mouse, lampArrayInfo)
|
||||
{ }
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in new issue
Block a user