Repository navigation
Input: Add three-axis mouse control for shrine apparatus - #1094
Open
machinewrapped wants to merge 1 commit into
Open
machinewrapped wants to merge 1 commit into
machinewrapped wants to merge 1 commit into
Conversation
Co-authored-by: Codex <codex@openai.com>
machinewrapped
force-pushed
the
shrine-mouse-controls
branch
from
November 23, 2026 21:47
59c9198 to
72744ea
Compare
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.
What this changes
With Shrine mouse drag enabled, left-drag keeps the existing trackball feel, and a straight horizontal left-drag turns the platform. Right-drag horizontally to bank it or vertically to tilt it front to back. Releasing either button holds the current pose so you can reposition the mouse and drag again.
The bound tilt key (T by default) also gets mouse movement and wheel input while the apparatus is active. Holding it pauses drag handling so the two controls do not apply rotation at the same time.
Related to #193, which reports the need for another mouse-controlled axis at Toto Sah Shrine.
How it was tested
test, I compiled the changed Windows runtime and UI objects. Passed the gyro binding, settings, motion, sensor, activation, drag, binding capture, and activation-hook checks. Drag coverage includes right-button bank and pitch, release and re-grip, and cancellation when the tilt binding takes over. The translation and whitespace checks passed.Checklist
testand opened againsttestCo-authored-by: Codex <codex@openai.com>