mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 10:08:31 +00:00
This adds support for custom devices (lightning node and commander). And introduced 'fan' as device type. fixes #23
27 lines
866 B
C#
27 lines
866 B
C#
#pragma warning disable 169 // Field 'x' is never used
|
|
#pragma warning disable 414 // Field 'x' is assigned but its value never used
|
|
#pragma warning disable 649 // Field 'x' is never assigned
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace RGB.NET.Devices.Corsair.Native
|
|
{
|
|
// ReSharper disable once InconsistentNaming
|
|
/// <summary>
|
|
/// CUE-SDK: contains information about separate LED-device connected to the channel controlled by the DIY-device.
|
|
/// </summary>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
internal class _CorsairChannelDeviceInfo
|
|
{
|
|
/// <summary>
|
|
/// CUE-SDK: type of the LED-device
|
|
/// </summary>
|
|
internal CorsairChannelDeviceType type;
|
|
|
|
/// <summary>
|
|
/// CUE-SDK: number of LEDs controlled by LED-device.
|
|
/// </summary>
|
|
internal int deviceLedCount;
|
|
}
|
|
}
|