Slash lighting tweaks

This commit is contained in:
Serge
2024-04-19 14:48:02 +02:00
parent cd4936c839
commit c6247f630c
2 changed files with 4 additions and 2 deletions

View File

@@ -103,7 +103,6 @@ namespace GHelper.AnimeMatrix
{ {
case SlashMode.Static: case SlashMode.Static:
deviceSlash.SetStatic(); deviceSlash.SetStatic();
deviceSlash.Save();
break; break;
default: default:
deviceSlash.SetMode((SlashMode)running); deviceSlash.SetMode((SlashMode)running);

View File

@@ -119,8 +119,11 @@ namespace GHelper.AnimeMatrix
public void SetStatic() public void SetStatic()
{ {
Set(Packet<SlashPacket>(0xD2, 0x02, 0x01, 0x08, 0xAC), "Static");
Set(Packet<SlashPacket>(0xD3, 0x03, 0x01, 0x08, 0xAC, 0xFF, 0xFF, 0x01, 0x05, 0xFF, 0xFF), "Static");
Set(Packet<SlashPacket>(0xD3, 0x00, 0x00, 0x07), "Static");
Set(Packet<SlashPacket>(0xD4, 0x00, 0x00, 0x01, 0xAC), "Static");
Set(Packet<SlashPacket>(0xD3, 0x00, 0x00, 0x07, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF), "StaticWhite"); Set(Packet<SlashPacket>(0xD3, 0x00, 0x00, 0x07, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF), "StaticWhite");
Set(Packet<SlashPacket>(0xD3, 0x00, 0x00, 0x01, 0xAC), "Static");
} }
public void SetOptions(bool status, int brightness = 0, int interval = 0) public void SetOptions(bool status, int brightness = 0, int interval = 0)