mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 01:58:30 +00:00
56 lines
1.9 KiB
C#
56 lines
1.9 KiB
C#
using System.Collections.Generic;
|
|
using RGB.NET.Core;
|
|
|
|
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<LedId, (int row, int column)>> Mapping =
|
|
new Dictionary<CoolerMasterDevicesIndexes, Dictionary<LedId, (int row, int column)>>
|
|
{
|
|
{ CoolerMasterDevicesIndexes.MasterMouse_L, new Dictionary<LedId, (int row, int column)>
|
|
{
|
|
{ LedId.Mouse1, (0,0) },
|
|
{ LedId.Mouse2, (0,1) },
|
|
{ LedId.Mouse3, (0,2) },
|
|
{ LedId.Mouse4, (0,3) }
|
|
}
|
|
},
|
|
|
|
{ CoolerMasterDevicesIndexes.MasterMouse_S, new Dictionary<LedId, (int row, int column)>
|
|
{
|
|
{ LedId.Mouse1, (0,0) },
|
|
{ LedId.Mouse2, (0,1) }
|
|
}
|
|
},
|
|
|
|
{ CoolerMasterDevicesIndexes.MM530, new Dictionary<LedId, (int row, int column)>
|
|
{
|
|
{ LedId.Mouse1, (0,0) },
|
|
{ LedId.Mouse2, (0,1) },
|
|
{ LedId.Mouse3, (0,2) }
|
|
}
|
|
},
|
|
|
|
{ CoolerMasterDevicesIndexes.MM520, new Dictionary<LedId, (int row, int column)>
|
|
{
|
|
{ LedId.Mouse1, (0,0) },
|
|
{ LedId.Mouse2, (0,1) },
|
|
{ LedId.Mouse3, (0,2) }
|
|
}
|
|
},
|
|
};
|
|
|
|
#endregion
|
|
}
|
|
}
|