Variable max brightness as some mice do not use 0-100 but 0-4 as brightness values.

This commit is contained in:
IceStormNG
2023-07-30 10:49:26 +02:00
parent 8c2ee50c93
commit 4b3d18347c
2 changed files with 7 additions and 0 deletions

View File

@@ -473,6 +473,8 @@ namespace GHelper
if (mouse.HasRGB())
{
sliderBrightness.Max = mouse.MaxBrightness();
foreach (LightingMode lm in Enum.GetValues(typeof(LightingMode)))
{
if (mouse.IsLightingModeSupported(lm))