LidClosed mode for Slash Lightning

This commit is contained in:
Serge
2024-02-24 12:02:43 +01:00
parent 61cc54b709
commit 34d2273ff5
4 changed files with 37 additions and 1 deletions

View File

@@ -56,6 +56,11 @@ namespace GHelper.AnimeMatrix
if (deviceSlash is not null) SetSlash(wakeUp);
}
public void SetLidMode()
{
if (deviceSlash is not null) deviceSlash.SetLidMode(AppConfig.Is("matrix_lid"));
}
public void SetSlash(bool wakeUp = false)
{