Skip to content

v0.3.8

Choose a tag to compare

@github-actions github-actions released this 27 Apr 23:35
· 5 commits to main since this release
v0.3.8: heartbeat reports SDK telemetry to diagnose silent SpaceMouse

v0.3.7's side channel proved patches fire and grab is detected, but
'First rotation write' never logged — meaning the SpaceMouse delta is
identity every frame. Either siappdll isn't dispatching motion events
to our hidden window, or events arrive but parsing yields zero.

Adds counters/values to SpaceMouseSdk that the per-5s heartbeat reads
and logs:
- WindowProcCalls — total times our background-thread WndProc was hit.
  Stays 0 if message routing is broken (driver sends events to a
  different window, or our hidden window isn't picking up the queue).
- SiAnyEvents / SiMotionEvents — out of those WndProc calls, how many
  were Si events (vs other Windows messages) and how many were
  specifically motion events.
- RawAxes — current normalized axis values [-1..1]. If non-zero while
  the user wiggles the puck, parsing works and the issue is in our
  identity-check or HeldObjectController math.

Heartbeat line goes from a bare 'tick #N' to:
  [heartbeat] tick #N t=Xs | active=True wndProcCalls=NNN siEvents=NN
  siMotion=NN axes=T(0.00,0.00,0.00) R(0.00,0.00,0.00)

This narrows the failure to one of three places without another ship.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>