Skip to content

Commit

Permalink
Merge pull request #409 from DarthAffe/SteelSeriesMapping
Browse files Browse the repository at this point in the history
Fixed mapping for StellSeries Apex 3
  • Loading branch information
DarthAffe authored Dec 3, 2024
2 parents 71f1115 + f8a530e commit 505e5c6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion RGB.NET.Devices.SteelSeries/Generic/LedMappings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ public static class LedMappings
{ LedId.Mouse9, SteelSeriesLedId.ZoneNine },
{ LedId.Mouse10, SteelSeriesLedId.ZoneTen }
};

/// <summary>
/// Gets the mapping for two-zone headsets.
/// </summary>
Expand Down Expand Up @@ -627,4 +627,21 @@ public static class LedMappings
{ LedId.LedStripe102, SteelSeriesLedId.ZoneOneHundredTwo },
{ LedId.LedStripe103, SteelSeriesLedId.ZoneOneHundredThree }
};

/// <summary>
/// Gets the mapping for 10-zone kayboard.
/// </summary>
public static LedMapping<SteelSeriesLedId> KeyboardTenZone { get; } = new()
{
{ LedId.Keyboard_Custom1, SteelSeriesLedId.ZoneOne },
{ LedId.Keyboard_Custom2, SteelSeriesLedId.ZoneTwo },
{ LedId.Keyboard_Custom3, SteelSeriesLedId.ZoneThree },
{ LedId.Keyboard_Custom4, SteelSeriesLedId.ZoneFour },
{ LedId.Keyboard_Custom5, SteelSeriesLedId.ZoneFive },
{ LedId.Keyboard_Custom6, SteelSeriesLedId.ZoneSix },
{ LedId.Keyboard_Custom7, SteelSeriesLedId.ZoneSeven },
{ LedId.Keyboard_Custom8, SteelSeriesLedId.ZoneEight },
{ LedId.Keyboard_Custom9, SteelSeriesLedId.ZoneNine },
{ LedId.Keyboard_Custom10, SteelSeriesLedId.ZoneTen }
};
}
2 changes: 1 addition & 1 deletion RGB.NET.Devices.SteelSeries/SteelSeriesDeviceProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public static SteelSeriesDeviceProvider Instance
{ 0x1852, RGBDeviceType.Mouse, "Aerox 5 Wireless", LedMappings.MouseThreeZone, SteelSeriesDeviceType.ThreeZone },

//Keyboards
{ 0x161A, RGBDeviceType.Keyboard, "Apex 3", LedMappings.KeyboardMappingUk, SteelSeriesDeviceType.TenZone },
{ 0x161A, RGBDeviceType.Keyboard, "Apex 3", LedMappings.KeyboardTenZone, SteelSeriesDeviceType.TenZone },
{ 0x161C, RGBDeviceType.Keyboard, "Apex 5", LedMappings.KeyboardMappingUk, SteelSeriesDeviceType.PerKey },
{ 0x1612, RGBDeviceType.Keyboard, "Apex 7", LedMappings.KeyboardMappingUk, SteelSeriesDeviceType.PerKey },
{ 0x1618, RGBDeviceType.Keyboard, "Apex 7 TKL", LedMappings.KeyboardTklMappingUk, SteelSeriesDeviceType.PerKey },
Expand Down

0 comments on commit 505e5c6

Please sign in to comment.