This commit is contained in:
Serge
2023-08-09 11:37:22 +02:00
parent c9b7e4b2af
commit e19f815498
3 changed files with 6 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ namespace GHelper.AnimeMatrix
}
public void SetMatrix()
public void SetMatrix(bool wakeUp = false)
{
if (!IsValid) return;
@@ -67,6 +67,8 @@ namespace GHelper.AnimeMatrix
mat.SetProvider();
if (wakeUp && AppConfig.ContainsModel("401")) mat.WakeUp();
if (brightness == 0 || (auto && SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online))
{
mat.SetDisplayState(false);