Skip to content

Allow simultaneous gestures in JAR execution mode - #327

Closed
LukeAmos00 wants to merge 1 commit into
AngelAuraMC:mainfrom
LukeAmos00:main
Closed

LukeAmos00 wants to merge 1 commit into
AngelAuraMC:mainfrom
LukeAmos00:main

Conversation

@LukeAmos00

@LukeAmos00 LukeAmos00 commented Sep 15, 2026 •

Copy link
Copy Markdown

JavaGUIViewController declares itself a UIGestureRecognizerDelegate but never implements gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:, so it silently falls back to the default (NO). This prevents holding a control button (e.g. PRI/left-click) while simultaneously dragging on the surface, since the two touches can't be recognized at the same time.

SurfaceViewController already implements this and returns YES unconditionally. Mirror that same behaviour here so JAR-execution mode gets the same simultaneous-input support Minecraft sessions already have.

(Marking as draft while I wait for CI to build this so I can verify it on-device before requesting review.)

JavaGUIViewController declares itself a UIGestureRecognizerDelegate
but never implements gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:,
so it silently falls back to the default (NO). This prevents holding
a control button (e.g. PRI/left-click) while simultaneously
dragging on the surface, since the two touches can't be recognized
at the same time.

SurfaceViewController already implements this and returns YES
unconditionally. Mirror that same behaviour here so JAR-execution
mode gets the same simultaneous-input support Minecraft sessions
already have.
@LukeAmos00 LukeAmos00 closed this Sep 17, 2026
Taylen-chud referenced this pull request in Taylen-chud/Amethyst-iOS Sep 21, 2026
Signed-off-by: kutta <taylenwells2026@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant