1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-13 01:58:30 +00:00

Merge pull request #257 from DarthAffe/SteelSeriesNonUsBackslashFix

Added custom zone for steelseries non-us-backslash
This commit is contained in:
DarthAffe 2022-02-22 21:18:04 +01:00 committed by GitHub
commit 3ef1fa4cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 },