Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update OpenRGBKeyNames.cs #2318

Draft
wants to merge 5 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public override bool Initialize()
else
{
//TODO - scale zones with more than 32 LEDs
if (k < 32)
if (k < 57)
{
_keyMappings[i][(int)(LedOffset + k)] = OpenRGBKeyNames.AdditionalLights[k];
}
Expand Down
25 changes: 25 additions & 0 deletions Project-Aurora/Project-Aurora/Devices/OpenRGB/OpenRGBKeyNames.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,31 @@ public static class OpenRGBKeyNames
DK.ADDITIONALLIGHT30,
DK.ADDITIONALLIGHT31,
DK.ADDITIONALLIGHT32,
DK.ADDITIONALLIGHT33,
DK.ADDITIONALLIGHT34,
DK.ADDITIONALLIGHT35,
DK.ADDITIONALLIGHT36,
DK.ADDITIONALLIGHT37,
DK.ADDITIONALLIGHT38,
DK.ADDITIONALLIGHT39,
DK.ADDITIONALLIGHT40,
DK.ADDITIONALLIGHT41,
DK.ADDITIONALLIGHT42,
DK.ADDITIONALLIGHT43,
DK.ADDITIONALLIGHT44,
DK.ADDITIONALLIGHT45,
DK.ADDITIONALLIGHT46,
DK.ADDITIONALLIGHT47,
DK.ADDITIONALLIGHT48,
DK.ADDITIONALLIGHT49,
DK.ADDITIONALLIGHT50,
DK.ADDITIONALLIGHT51,
DK.ADDITIONALLIGHT52,
DK.ADDITIONALLIGHT53,
DK.ADDITIONALLIGHT54,
DK.ADDITIONALLIGHT55,
DK.ADDITIONALLIGHT56,
DK.ADDITIONALLIGHT57,
});
}
}
6 changes: 0 additions & 6 deletions Project-Aurora/Project-Aurora/Devices/Razer/RazerDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ public class RazerDevice : DefaultDevice

public override bool Initialize()
{
if (!Chroma.SdkAvailable)
{
LogError("SDK not available. Install Razer synapse");
return IsInitialized = false;
}

try
{
Chroma.Instance.Initialize();
Expand Down