Files
DeeJanuz--frametop/pointer/helper
DeeJanuzandClaude Opus 5.5 3460e610d1 Pointer helper: runtime state in a Pointer struct
Structure only, no behaviour change. main()'s runtime locals become members
of Pointer, declared in the same order with the same initial values and
comments. The local types (Gaze, Src, Hold, DevicePress, KeyPress) move in
with them, and Clock moves to file scope.

Pointer::Init does the setup, in the original order: settings, VR_Init,
the overlays, the laser width, the sockets, the controller buttons'
manifest, vrhello, the overlay list. Members that were set during setup
(sys, overlay, the three overlay handles, the sockets, systemPointer) are
set there at the same point, and so are the timestamps that started at
"now" (lastVisible, lastDebug, followAt, lastSlow).

The lambdas and the main loop sit unchanged in Pointer::Run for now; the
next commits split them up. applyConfig becomes Pointer::ApplyConfig,
since Init and the "reload" command both call it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 11:37:24 -06:00
..