mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Slash lighting tweaks
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user