fix(macos): calibrate remote pointer coordinates #15
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hex/zeno-rmm!15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/macos-pointer-calibration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Root cause
The SPA sends pointer coordinates normalized to 0..65535 relative to the captured frame. MacInput posted those values directly as CoreGraphics global points. On Retina displays and offset secondary monitors, clicks therefore landed far from the visible cursor.
Fix
Verification
cargo test -p zeno-agent(185 unit + 12 integration/source guards passed)cargo clippy -p zeno-agent --all-targets -- -D warningscargo fmt --all --checkgit diff --check