From f8a530e313668377dd558d4ea241c7b5b1a41714 Mon Sep 17 00:00:00 2001 From: Darth Affe Date: Sun, 1 Dec 2024 21:02:35 +0100 Subject: [PATCH] Fixed mapping for StellSeries Apex 3 --- .../Generic/LedMappings.cs | 19 ++++++++++++++++++- .../SteelSeriesDeviceProvider.cs | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/RGB.NET.Devices.SteelSeries/Generic/LedMappings.cs b/RGB.NET.Devices.SteelSeries/Generic/LedMappings.cs index 59310bda..18d71730 100644 --- a/RGB.NET.Devices.SteelSeries/Generic/LedMappings.cs +++ b/RGB.NET.Devices.SteelSeries/Generic/LedMappings.cs @@ -480,7 +480,7 @@ public static class LedMappings { LedId.Mouse9, SteelSeriesLedId.ZoneNine }, { LedId.Mouse10, SteelSeriesLedId.ZoneTen } }; - + /// /// Gets the mapping for two-zone headsets. /// @@ -627,4 +627,21 @@ public static class LedMappings { LedId.LedStripe102, SteelSeriesLedId.ZoneOneHundredTwo }, { LedId.LedStripe103, SteelSeriesLedId.ZoneOneHundredThree } }; + + /// + /// Gets the mapping for 10-zone kayboard. + /// + public static LedMapping 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 } + }; } \ No newline at end of file diff --git a/RGB.NET.Devices.SteelSeries/SteelSeriesDeviceProvider.cs b/RGB.NET.Devices.SteelSeries/SteelSeriesDeviceProvider.cs index 60b797cb..7e7c92a7 100644 --- a/RGB.NET.Devices.SteelSeries/SteelSeriesDeviceProvider.cs +++ b/RGB.NET.Devices.SteelSeries/SteelSeriesDeviceProvider.cs @@ -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 },