Skip to content

Releases: tophcodes/space-elevator

v0.2.0 — SpaceMouse Enterprise LCD rendering

02 Jun 12:42
v0.2.0
9574ed0

Choose a tag to compare

The SpaceMouse Enterprise LCD (640×150) now renders custom images. 🎉

Three on-wire protocol bugs were fixed in spnav::lcd:

  • 512-byte header. The deflate stream starts at offset 0x200, not 4. A short header left the panel blank.
  • BGR565, not RGB565. The panel swaps the R/B channels — matches SpaceLCD's render.c rgbtobgr.
  • Fixed-Huffman raw deflate. Compress with zlib Z_FIXED (via miniz_oxide); the on-device inflater only handles static blocks, so dynamic-Huffman output decoded to noise.

Protocol reverse-engineering credit: TheHoodedFoot/SpaceLCD.

Enable with the lcd feature (or svg); see examples/lcd_test.rs. Note: writes need the device free, so stop spacenavd first.