mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-16 06:00:35 +02:00
While the panel was up, the helper took only "btn trigger 1" and "gazekey left 1" as "take this dot". A left button mapped to gaze precision or gaze drag sends "precision|gazedrag <source> 1" instead, which the panel dropped, so the click did nothing. The panel's answers move to pointer/helper/calpanel.h, with an offline test (pointer/test/calpanel-test.sh). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
529 B
Bash
Executable File
12 lines
529 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Offline test of the gaze calibration panel's answers (pointer/test/calpanel-test.cpp): builds
|
|
# it in the dev container and runs it there. Nothing reaches SteamVR, so it's safe next to it.
|
|
#
|
|
# pointer/test/calpanel-test.sh
|
|
set -euo pipefail
|
|
root=$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)
|
|
"$root/scripts/sync.sh" >/dev/null
|
|
exec "$root/scripts/frame.sh" -C pointer 'set -e; mkdir -p test/build
|
|
g++ -std=c++17 -O2 -Wall -o test/build/calpanel-test test/calpanel-test.cpp
|
|
test/build/calpanel-test'
|