mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-28 18:00:52 +01:00
With PR #26 ft-gaze reads the SteamOS 0.4.x beta's layout too, but update-check.py still knew only stable's: on the beta it reported FAIL (warn without gaze) and said to "update the offsets in gaze/ft-gaze.cpp", as in issue #15's report, though the gaze worked. It now tries both layouts with ft-gaze's own test (EyeFile::Detect: the timestamp within 2 s of the clock and moving on, both set-1 directions unit vectors), says which one it found, and fails only when neither fits, for 1.5 s so a blink or a moment with an eye lost doesn't fail it. The failure says to add the new layout to EyeFile::Detect, and to check again after the tracker's warm-up when the headset just went on. EYE_NEED is ft-gaze's kNeed now (it was 0x1d3 against ft-gaze's 0x1f3, now 0x1f8). design.md's update-check sentence and the offset table in gaze/tracker/findings.md say there are two layouts. Checked with made-up files: stable and beta ok, the fields moved by 3 bytes, and a direction always zero, FAIL, an eye lost for two samples ok, an idle counter skip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>