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

Added custom zone for steelseries non-us-backslash

This commit is contained in:
Darth Affe 2022-02-22 20:58:44 +01:00
parent 61e5f78351
commit d190d356ac
3 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,7 @@ internal static class SteelSeriesSDK
(add-event-zone-use-with-specifier ""{EVENT_NAME}"" ""all"" ""rgb-24-zone"")
(add-event-zone-use-with-specifier ""{EVENT_NAME}"" ""all"" ""rgb-103-zone"")
(add-custom-zone '(""non-us-backslash"" 100))
(add-custom-zone '(""num-5"" 93))"; //HACK DarthAffe 07.10.2021: Custom zone to workaround a SDK-issue (https://github.com/SteelSeries/gamesense-sdk/issues/85)
private const string CORE_PROPS_WINDOWS = "%PROGRAMDATA%/SteelSeries/SteelSeries Engine 3/coreProps.json";

View File

@ -311,6 +311,8 @@ public enum SteelSeriesLedId
RBracket,
[APIName("backslash")]
Backslash,
[APIName("non-us-backslash")]
NonUsBackslash, // DarthAffe 22.02.2022: Custom name since that one is missing in the original key names
[APIName("pound")]
Pound,
[APIName("semicolon")]

View File

@ -63,6 +63,7 @@ public static class LedMappings
{ LedId.Keyboard_ApostropheAndDoubleQuote, SteelSeriesLedId.Quote },
{ LedId.Keyboard_LeftShift, SteelSeriesLedId.LShift },
{ LedId.Keyboard_NonUsTilde, SteelSeriesLedId.Pound },
{ LedId.Keyboard_NonUsBackslash, SteelSeriesLedId.NonUsBackslash },
{ LedId.Keyboard_Z, SteelSeriesLedId.Z },
{ LedId.Keyboard_X, SteelSeriesLedId.X },
{ LedId.Keyboard_C, SteelSeriesLedId.C },