1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-12 17:48:31 +00:00

Merge pull request #416 from DarthAffe/SteelSeriesPids

SteelSeries pids
This commit is contained in:
DarthAffe 2025-02-06 20:23:03 +01:00 committed by GitHub
commit f9fefe4667
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 14 additions and 0 deletions

View File

@ -644,4 +644,15 @@ public static class LedMappings
{ LedId.Keyboard_Custom9, SteelSeriesLedId.ZoneNine },
{ LedId.Keyboard_Custom10, SteelSeriesLedId.ZoneTen }
};
/// <summary>
/// Gets the mapping for 4-zone speakers.
/// </summary>
public static LedMapping<SteelSeriesLedId> SpeakerFourZone { get; } = new()
{
{ LedId.Speaker1, SteelSeriesLedId.ZoneOne },
{ LedId.Speaker2, SteelSeriesLedId.ZoneTwo },
{ LedId.Speaker3, SteelSeriesLedId.ZoneThree },
{ LedId.Speaker4, SteelSeriesLedId.ZoneFour },
};
}

View File

@ -98,6 +98,9 @@ public sealed class SteelSeriesDeviceProvider : AbstractRGBDeviceProvider
//Monitors
{ 0x1126, RGBDeviceType.Monitor, "MGP27C", LedMappings.MonitorOnehundredandthreeZone, SteelSeriesDeviceType.OneHundredAndThreeZone },
//Speaker
{ 0x1A05, RGBDeviceType.Speaker, "Arena 9", LedMappings.SpeakerFourZone, SteelSeriesDeviceType.FourZone },
};
#endregion