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,41 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace RGB.NET.Devices.CoolerMaster
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains all the hardware-id mappings for CoolerMaster devices.
|
||||
/// </summary>
|
||||
internal static class CoolerMasterMouseLedMappings
|
||||
{
|
||||
#region Properties & Fields
|
||||
|
||||
/// <summary>
|
||||
/// Contains all the hardware-id mappings for CoolerMaster devices.
|
||||
/// </summary>
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public static readonly Dictionary<CoolerMasterDevicesIndexes, Dictionary<CoolerMasterLedIds, Tuple<int, int>>> Mapping =
|
||||
new Dictionary<CoolerMasterDevicesIndexes, Dictionary<CoolerMasterLedIds, Tuple<int, int>>>
|
||||
{
|
||||
{ CoolerMasterDevicesIndexes.MasterMouse_L, new Dictionary<CoolerMasterLedIds, Tuple<int, int>>
|
||||
{
|
||||
{ CoolerMasterLedIds.Side1, new Tuple<int, int>(0,0) },
|
||||
{ CoolerMasterLedIds.Side2, new Tuple<int, int>(1,0) },
|
||||
{ CoolerMasterLedIds.Side3, new Tuple<int, int>(2,0) },
|
||||
{ CoolerMasterLedIds.Back1, new Tuple<int, int>(3,0) },
|
||||
}
|
||||
},
|
||||
|
||||
{ CoolerMasterDevicesIndexes.MasterMouse_S, new Dictionary<CoolerMasterLedIds, Tuple<int, int>>
|
||||
{
|
||||
{ CoolerMasterLedIds.Back1, new Tuple<int, int>(0,0) },
|
||||
{ CoolerMasterLedIds.Wheel, new Tuple<int, int>(1,0) },
|
||||
{ CoolerMasterLedIds.Side3, new Tuple<int, int>(2,0) },
|
||||
{ CoolerMasterLedIds.Back1, new Tuple<int, int>(3,0) },
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user