mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 04:57:15 +00:00
Readded support for older CUE-SDKs
This commit is contained in:
1 parent
56d77dee35
commit
6f91af9039
52 files changed
+4317
No files matched your search
@@ -0,0 +1,14 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
|
||||
|
||||
namespace RGB.NET.Devices.CorsairLegacy;
|
||||
|
||||
/// <summary>
|
||||
/// Represents an SDK access mode.
|
||||
/// </summary>
|
||||
public enum CorsairAccessMode
|
||||
{
|
||||
ExclusiveLightingControl = 0
|
||||
};
|
||||
@@ -0,0 +1,25 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
|
||||
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
|
||||
|
||||
namespace RGB.NET.Devices.CorsairLegacy;
|
||||
|
||||
/// <summary>
|
||||
/// Contains a list of available corsair channel device types.
|
||||
/// </summary>
|
||||
public enum CorsairChannelDeviceType
|
||||
{
|
||||
Invalid = 0,
|
||||
FanHD = 1,
|
||||
FanSP = 2,
|
||||
FanLL = 3,
|
||||
FanML = 4,
|
||||
Strip = 5,
|
||||
DAP = 6,
|
||||
Pump = 7,
|
||||
FanQL = 8,
|
||||
WaterBlock = 9,
|
||||
EightLedSeriesFan = 10 // Previously called FanSPPRO
|
||||
};
|
||||
@@ -0,0 +1,28 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
using System;
|
||||
|
||||
namespace RGB.NET.Devices.CorsairLegacy;
|
||||
|
||||
/// <summary>
|
||||
/// Contains a list of corsair device capabilities.
|
||||
/// </summary>
|
||||
[Flags]
|
||||
public enum CorsairDeviceCaps
|
||||
{
|
||||
/// <summary>
|
||||
/// For devices that do not support any SDK functions.
|
||||
/// </summary>
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// For devices that has controlled lighting.
|
||||
/// </summary>
|
||||
Lighting = 1,
|
||||
|
||||
/// <summary>
|
||||
/// For devices that provide current state through set of properties.
|
||||
/// </summary>
|
||||
PropertyLookup = 2
|
||||
};
|
||||
@@ -0,0 +1,27 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
|
||||
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
|
||||
|
||||
namespace RGB.NET.Devices.CorsairLegacy;
|
||||
|
||||
/// <summary>
|
||||
/// Contains a list of available corsair device types.
|
||||
/// </summary>
|
||||
public enum CorsairDeviceType
|
||||
{
|
||||
Unknown = 0,
|
||||
Mouse = 1,
|
||||
Keyboard = 2,
|
||||
Headset = 3,
|
||||
Mousepad = 4,
|
||||
HeadsetStand = 5,
|
||||
CommanderPro = 6,
|
||||
LightningNodePro = 7,
|
||||
MemoryModule = 8,
|
||||
Cooler = 9,
|
||||
Mainboard = 10,
|
||||
GraphicsCard = 11,
|
||||
Touchbar = 12
|
||||
};
|
||||
@@ -0,0 +1,41 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
namespace RGB.NET.Devices.CorsairLegacy;
|
||||
|
||||
/// <summary>
|
||||
/// Shared list of all errors which could happen during calling of Corsair* functions.
|
||||
/// </summary>
|
||||
public enum CorsairError
|
||||
{
|
||||
/// <summary>
|
||||
/// If previously called function completed successfully.
|
||||
/// </summary>
|
||||
Success,
|
||||
|
||||
/// <summary>
|
||||
/// CUE is not running or was shut down or third-party control is disabled in CUE settings. (runtime error)
|
||||
/// </summary>
|
||||
ServerNotFound,
|
||||
|
||||
/// <summary>
|
||||
/// If some other client has or took over exclusive control. (runtime error)
|
||||
/// </summary>
|
||||
NoControl,
|
||||
|
||||
/// <summary>
|
||||
/// If developer did not perform protocol handshake. (developer error)
|
||||
/// </summary>
|
||||
ProtocolHandshakeMissing,
|
||||
|
||||
/// <summary>
|
||||
/// If developer is calling the function that is not supported by the server (either because protocol has broken by server or client or because the function is new and server is too old.
|
||||
/// Check CorsairProtocolDetails for details). (developer error)
|
||||
/// </summary>
|
||||
IncompatibleProtocol,
|
||||
|
||||
/// <summary>
|
||||
/// If developer supplied invalid arguments to the function (for specifics look at function descriptions). (developer error)
|
||||
/// </summary>
|
||||
InvalidArguments
|
||||
};
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,30 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable UnusedMember.Global
|
||||
#pragma warning disable 1591
|
||||
|
||||
namespace RGB.NET.Devices.CorsairLegacy;
|
||||
|
||||
/// <summary>
|
||||
/// Contains a list of available logical layouts for corsair keyboards.
|
||||
/// </summary>
|
||||
public enum CorsairLogicalKeyboardLayout
|
||||
{
|
||||
US_Int = 1,
|
||||
NA = 2,
|
||||
EU = 3,
|
||||
UK = 4,
|
||||
BE = 5,
|
||||
BR = 6,
|
||||
CH = 7,
|
||||
CN = 8,
|
||||
DE = 9,
|
||||
ES = 10,
|
||||
FR = 11,
|
||||
IT = 12,
|
||||
ND = 13,
|
||||
RU = 14,
|
||||
JP = 15,
|
||||
KR = 16,
|
||||
TW = 17,
|
||||
MEX = 18
|
||||
};
|
||||
@@ -0,0 +1,35 @@
|
||||
// ReSharper disable UnusedMember.Global
|
||||
// ReSharper disable InconsistentNaming
|
||||
|
||||
namespace RGB.NET.Devices.CorsairLegacy;
|
||||
|
||||
/// <summary>
|
||||
/// Contains a list of available physical layouts for corsair keyboards.
|
||||
/// </summary>
|
||||
public enum CorsairPhysicalKeyboardLayout
|
||||
{
|
||||
/// <summary>
|
||||
/// US-Keyboard
|
||||
/// </summary>
|
||||
US = 1,
|
||||
|
||||
/// <summary>
|
||||
/// UK-Keyboard
|
||||
/// </summary>
|
||||
UK = 2,
|
||||
|
||||
/// <summary>
|
||||
/// BR-Keyboard
|
||||
/// </summary>
|
||||
BR = 3,
|
||||
|
||||
/// <summary>
|
||||
/// JP-Keyboard
|
||||
/// </summary>
|
||||
JP = 4,
|
||||
|
||||
/// <summary>
|
||||
/// KR-Keyboard
|
||||
/// </summary>
|
||||
KR = 5
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
namespace RGB.NET.Devices.CorsairLegacy;
|
||||
|
||||
/// <summary>
|
||||
/// Contains a list of available physical layouts for mice.
|
||||
/// </summary>
|
||||
public enum CorsairPhysicalMouseLayout
|
||||
{
|
||||
/// <summary>
|
||||
/// Zone1-Mouse
|
||||
/// </summary>
|
||||
Zones1 = 6,
|
||||
|
||||
/// <summary>
|
||||
/// Zone2-Mouse
|
||||
/// </summary>
|
||||
Zones2 = 7,
|
||||
|
||||
/// <summary>
|
||||
/// Zone3-Mouse
|
||||
/// </summary>
|
||||
Zones3 = 8,
|
||||
|
||||
/// <summary>
|
||||
/// Zone4-Mouse
|
||||
/// </summary>
|
||||
Zones4 = 9,
|
||||
|
||||
/// <summary>
|
||||
/// Zone5-Mouse
|
||||
/// </summary>
|
||||
Zones5 = 101,
|
||||
|
||||
/// <summary>
|
||||
/// Zone6-Mouse
|
||||
/// </summary>
|
||||
Zones6 = 11,
|
||||
|
||||
/// <summary>
|
||||
/// Zone7-Mouse
|
||||
/// </summary>
|
||||
Zones7 = 12,
|
||||
|
||||
/// <summary>
|
||||
/// Zone8-Mouse
|
||||
/// </summary>
|
||||
Zones8 = 13,
|
||||
|
||||
/// <summary>
|
||||
/// Zone9-Mouse
|
||||
/// </summary>
|
||||
Zones9 = 14,
|
||||
|
||||
/// <summary>
|
||||
/// Zone10-Mouse
|
||||
/// </summary>
|
||||
Zones10 = 15,
|
||||
|
||||
/// <summary>
|
||||
/// Zone11-Mouse
|
||||
/// </summary>
|
||||
Zones11 = 16,
|
||||
|
||||
/// <summary>
|
||||
/// Zone12-Mouse
|
||||
/// </summary>
|
||||
Zones12 = 17,
|
||||
|
||||
/// <summary>
|
||||
/// Zone13-Mouse
|
||||
/// </summary>
|
||||
Zones13 = 18,
|
||||
|
||||
/// <summary>
|
||||
/// Zone14-Mouse
|
||||
/// </summary>
|
||||
Zones14 = 19,
|
||||
|
||||
/// <summary>
|
||||
/// Zone15-Mouse
|
||||
/// </summary>
|
||||
Zones15 = 20,
|
||||
|
||||
/// <summary>
|
||||
/// Zone16-Mouse
|
||||
/// </summary>
|
||||
Zones16 = 21,
|
||||
|
||||
/// <summary>
|
||||
/// Zone17-Mouse
|
||||
/// </summary>
|
||||
Zones17 = 22,
|
||||
|
||||
/// <summary>
|
||||
/// Zone18-Mouse
|
||||
/// </summary>
|
||||
Zones18 = 23,
|
||||
|
||||
/// <summary>
|
||||
/// Zone19-Mouse
|
||||
/// </summary>
|
||||
Zones19 = 24,
|
||||
|
||||
/// <summary>
|
||||
/// Zone20-Mouse
|
||||
/// </summary>
|
||||
Zones20 = 25
|
||||
}
|
||||
Reference in new issue
Block a user