DarthAffe / RGB.NET

The one-stop SDK for RGB-peripherals
http://lib.arge.be
GNU Lesser General Public License v2.1
403 stars 71 forks source link

Made custom data in layouts typed #356

Closed RobertBeekman closed 10 months ago

RobertBeekman commented 10 months ago

I've been working on layout support in the Artemis workshop but I'm having some struggles serializing layouts. The layout editor 'solves' this problem using this monstrosity: https://github.com/RobertBeekman/RGB.NET-Layout-Editor/blob/a91c944fedbcf320bdf0be2a25fbc267798a91af/src/LayoutEditor.UI/Pages/DeviceLayoutEditorViewModel.cs#L131C14-L131C14

I'd rather not adapt that for Artemis though, since I feel like the manual XML manipulation is a bit much. To that end looked into what can be done to simplify things and I landed on this (sadly breaking) change.

RobertBeekman commented 10 months ago

Turns out the layout editor is just stupid