Network: only send keyboard/mouse input the model is bound to #7
No reviewers
Labels
No labels
accessibility
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
khyretos/3dco-plus!7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "claude/v1.4.1-network-input-jbsclo"
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?
Requested by Kees · project thread
Before: a network sender sent every key you pressed, all mouse buttons, and all mouse movement and scroll, whatever model the window had loaded. That included everything typed in chat or a password box.
After: it only sends the keys and mouse buttons that the window's model is bound to. Mouse movement and scroll are sent only when a mesh is bound to them. A controller-only model sends no keyboard or mouse data at all.
How:
collectNetBoundInputs()goes through the model's meshes, including both primary and extra bindings, and gathers the keyboard scancodes and the mouse button, motion and scroll bindings. The sender snapshot incontroller_window_input()then only looks at those inputs. This is a follow-up to #6, and it should go in before the v1.4.1 tag. The release notes and README now mention it.Tested: the native Linux build passes. It was not tested across two machines.
🤖 Generated with Claude Code
https://claude.ai/code/session_01MDzc6APMQTL21Su6fHAxL1
Generated by Claude Code