diogotr7 / OpenRGB.NET

C# client for the OpenRGB SDK
MIT License
40 stars 16 forks source link

Adds support for the save mode call #24

Closed GeorgeSeeger closed 1 year ago

diogotr7 commented 1 year ago

According to this the SaveMode command requires the same data block as the UpdateMode command, which means the entire Mode data structure.

https://gitlab.com/OpenRGBDevelopers/OpenRGB-Wiki/-/blob/stable/OpenRGB-SDK-Documentation.md#net_packet_id_rgbcontroller_savemode

Copy pasting most of the UpdateMode method should fix it.

GeorgeSeeger commented 1 year ago

https://gitlab.com/OpenRGBDevelopers/OpenRGB-Wiki/-/blob/stable/OpenRGB-SDK-Documentation.md#net_packet_id_rgbcontroller_savemode

And it appears to be a protocol version 3 command too, so perhaps this isn't the right time.

diogotr7 commented 1 year ago

I've added support for the protocol versions 3 and 4, I'll add this next.