Bundle slash lighting sleep animation with brightness setting https://github.com/seerge/g-helper/issues/2381

This commit is contained in:
Serge
2024-04-22 14:29:39 +02:00
parent 231edde166
commit 40098293ca

View File

@@ -88,6 +88,7 @@ namespace GHelper.AnimeMatrix
{
deviceSlash.Init();
deviceSlash.SetOptions(false, 0, 0);
deviceSlash.SetSleepActive(false);
}
else
{
@@ -110,6 +111,8 @@ namespace GHelper.AnimeMatrix
deviceSlash.Save();
break;
}
deviceSlash.SetSleepActive(true);
}
});
}
@@ -121,7 +124,6 @@ namespace GHelper.AnimeMatrix
if (deviceSlash is not null)
{
deviceSlash.SetLidMode(matrixLid);
deviceSlash.SetSleepActive(!matrixLid);
}
if (matrixLid || force)