Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL support #6462

Draft
wants to merge 1 commit into
base: v3_openjdk
Choose a base branch
from
Draft

SDL support #6462

wants to merge 1 commit into from

Conversation

isXander
Copy link

SDL successfully loads into the game, controlify detects it and can find controllers using the SDL android sysjoystick driver.

Attempts were made to remove pojav's gamepad emulation. A preference has been added PREF_GAMEPAD_PASSTHRU, though I haven't been able to do so, left stick seems to currently do arrow keys.

Contributors: please feel free to commit to my branch and get it working.

- Add "Gamepad passthrough" option to disable Pojav controller emulation and allow games to process controllers directly.
- Add SDL3 AAR and add it as a dependency.
- Add SDL lifecycle events in main activity
- Add support for SDL in the main activity and include it as a dependency in the `Android.mk`.
- Update `libjnidispatch.so` files for all arch.
@isXander isXander marked this pull request as ready for review January 10, 2025 00:10
@isXander isXander marked this pull request as draft January 10, 2025 01:09
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