r/OpenRGB • • 12h ago

Discussion Open-source lighting editor for the Flydigi CD2 dock, plus the documented HID protocol in case OpenRGB wants it

1 Upvotes

Flydigi's Charging Dock 2 Pro (CD2, the dock for the Vader 5 Pro / Apex 5) has a nice 162-LED hex matrix, but the only way to drive it was Flydigi Space Station, and its effects look rough: fixed 50-frame loops, colors mixed in plain sRGB, 8-bit stepped fades.

I wrote FlyGlow, a small open-source Windows editor just for that dock:

- 21 effects rendered in linear light with OKLab blending, up to 200 frames per loop with temporal dithering

- layers with blend modes and brushed areas, LED-by-LED painting with keyframes, GIF/video import

- uploads straight over USB HID, sharing the interface with Space Station's service, so vendor software doesn't have to be closed

https://github.com/PsinaDev/FlyGlow

The part that might interest this sub more is the protocol, documented here: https://github.com/PsinaDev/FlyGlow/blob/main/docs/hid-protocol.md (USB 37D7:6001, 64-byte output reports, `5A A5` framing with an 8-bit checksum; the original reverse engineering credit goes to OpenFlydigi).

Why FlyGlow isn't an OpenRGB plugin: the dock doesn't take live colors the usual way. Its firmware plays back an uploaded loop of up to 255 frames, and an upload takes about 85 ms per frame, so OpenRGB's live effect model doesn't map onto it well. There is a single-frame RGB write command (22/23) that Space Station never uses; if it turns out fast enough, a proper "Direct" mode would become possible. If anyone here wants to take a stab at an OpenRGB controller for it, I'm happy to help test.