Skip to content

Fix SDL controller input stutter on Android - #983

Open
arismoko wants to merge 1 commit into
isXander:ltsfrom
arismoko:fix/android-sdl-input-stutter
Open

arismoko wants to merge 1 commit into
isXander:ltsfrom
arismoko:fix/android-sdl-input-stutter

Conversation

@arismoko

@arismoko arismoko commented Sep 15, 2026

Copy link
Copy Markdown

Skip the SDL event filter on Pojav-based Android launchers so stick events no longer call back through JNA into the game JVM on Android's UI thread. The existing polling loop still handles controller connections and ignores unrelated events, and desktop behavior stays the same. Tested the equivalent change in Controlify 3.0.1 on a Retroid Pocket Nova with Zalith Launcher 2 and Minecraft 1.21.1 NeoForge: moving both sticks previously caused multi-second freezes despite high FPS, and the freezes disappeared with the filter registration removed. Related to #978.

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.

2 participants