Add runtime tablet/mouse toggle for relative pointer lock - #150
Closed
Fail-Safe wants to merge 2 commits into
Closed
Add runtime tablet/mouse toggle for relative pointer lock#150Fail-Safe wants to merge 2 commits into
Fail-Safe wants to merge 2 commits into
Conversation
Keep absolute virtio-tablet as the desktop default, and let games switch to relative virtio-mouse via QMP plus a Start Menu preference and menu-bar control.
The menu-bar mouse item is invisible when Immersive hard-hides the Mac menu bar, which is the default launch mode.
Contributor
Author
|
Closing — mid-session UI and QMP hotplug need a different approach before this is ready for review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
virtio-tabletas the desktop default, with stable QMP ids (omarchy-tablet/omarchy-mouse) so the pointer can hot-swap without restarting the VM.full-grabis focused keyboard Super capture, not relative mouse lock — games need relativevirtio-mousebefore pointer lock works (fixes fix: Mouse Capture #144).Test plan
virtio-tablet/id=omarchy-tabletin the QEMU command line.DEVELOPER_DIR=…Xcode… swift test --filter Pointerandmacos/Tests/run-qemu-ssh-contract.test.sh