mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-11-11 04:57:15 +00:00
Added basic CoolerMaster support
This commit is contained in:
1 parent
8446b9a47b
commit
8cc4688932
23 files changed
+1220
-2
No files matched your search
@@ -0,0 +1,49 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
using System.ComponentModel;
|
||||
using RGB.NET.Core;
|
||||
using RGB.NET.Devices.CoolerMaster.Attributes;
|
||||
|
||||
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
|
||||
|
||||
namespace RGB.NET.Devices.CoolerMaster
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains a list of available device-indexes.
|
||||
/// </summary>
|
||||
public enum CoolerMasterDevicesIndexes
|
||||
{
|
||||
[Description("MasterKeys Pro L")]
|
||||
[DeviceType(RGBDeviceType.Keyboard)]
|
||||
MasterKeys_L = 0,
|
||||
|
||||
[Description("MasterKeys ProS")]
|
||||
[DeviceType(RGBDeviceType.Keyboard)]
|
||||
MasterKeys_S = 1,
|
||||
|
||||
[Description("MasterKeys Pro L White")]
|
||||
[DeviceType(RGBDeviceType.Keyboard)]
|
||||
MasterKeys_L_White = 2,
|
||||
|
||||
[Description("MasterKeys Pro M White")]
|
||||
[DeviceType(RGBDeviceType.Keyboard)]
|
||||
MasterKeys_M_White = 3,
|
||||
|
||||
[Description("MasterMouse Pro L")]
|
||||
[DeviceType(RGBDeviceType.Mouse)]
|
||||
MasterMouse_L = 4,
|
||||
|
||||
[Description("MasterMouse S")]
|
||||
[DeviceType(RGBDeviceType.Mouse)]
|
||||
MasterMouse_S = 5,
|
||||
|
||||
[Description("MasterKeys Pro M")]
|
||||
[DeviceType(RGBDeviceType.Keyboard)]
|
||||
MasterKeys_M = 6,
|
||||
|
||||
[Description("MasterKeys Pro S White")]
|
||||
[DeviceType(RGBDeviceType.Keyboard)]
|
||||
MasterKeys_S_White = 7
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
|
||||
|
||||
namespace RGB.NET.Devices.CoolerMaster
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains a list of available effects.
|
||||
/// </summary>
|
||||
public enum CoolerMasterEffects
|
||||
{
|
||||
FullOn = 0,
|
||||
Breath = 1,
|
||||
BreathCycle = 2,
|
||||
Single = 3,
|
||||
Wave = 4,
|
||||
Ripple = 5,
|
||||
Cross = 6,
|
||||
Rain = 7,
|
||||
Star = 8,
|
||||
Snake = 9,
|
||||
Rec = 10,
|
||||
|
||||
Spectrum = 11,
|
||||
RapidFire = 12,
|
||||
Indicator = 13, //mouse Effect
|
||||
|
||||
Multi1 = 0xE0,
|
||||
Multi2 = 0xE1,
|
||||
Multi3 = 0xE2,
|
||||
Multi4 = 0xE3,
|
||||
Off = 0xFE
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
|
||||
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
|
||||
|
||||
namespace RGB.NET.Devices.CoolerMaster
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains list of all LEDs available for all CoolerMaster devices.
|
||||
/// </summary>
|
||||
public enum CoolerMasterLedIds
|
||||
{
|
||||
Invalid = 0,
|
||||
|
||||
A,
|
||||
S,
|
||||
D,
|
||||
F,
|
||||
|
||||
Side1,
|
||||
Side2,
|
||||
Side3,
|
||||
Back1,
|
||||
Wheel
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
|
||||
|
||||
namespace RGB.NET.Devices.CoolerMaster
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains list of available logical layouts for logitech keyboards.
|
||||
/// </summary>
|
||||
public enum CoolerMasterLogicalKeyboardLayout
|
||||
{
|
||||
DE
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// ReSharper disable InconsistentNaming
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
|
||||
|
||||
namespace RGB.NET.Devices.CoolerMaster
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains list of available physical layouts for cooler master keyboards.
|
||||
/// </summary>
|
||||
public enum CoolerMasterPhysicalKeyboardLayout
|
||||
{
|
||||
UNINIT = 0,
|
||||
US = 1,
|
||||
EU = 2
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user