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

No physical button input when launching from other frontends on android #485 #758

Open
unbelievableflavour opened this issue Mar 21, 2023 · 4 comments

Comments

@unbelievableflavour
Copy link

unbelievableflavour commented Mar 21, 2023

I hope this is the right repo. Sorry if it aint.. I'm having an issue with Parallel-n64. Whenever I launch this particular core from a frontend different from retroarch. I sometimes don't have have input.

Expected behavior
core launched from command runs the game with buttons working

Actual behavior
core launched from command core runs the game without buttons working. Not even retroarch overlay's and such can be opened.

Steps to reproduce:
Launch an instance of parallel using the following config::

-n com.retroarch.aarch64/com.retroarch.browser.retroactivity.RetroActivityFuture
-e ROM {file.path}
-e LIBRETRO /data/data/com.retroarch.aarch64/cores/parallel_n64_libretro_android.so
-e CONFIGFILE /storage/emulated/0/Android/data/com.retroarch.aarch64/files/retroarch.cfg
-e IME com.android.inputmethod.latin/.LatinIME\n  -e DATADIR /data/data/com.retroarch.aarch64
-e APK /data/app/com.retroarch.aarch64-1/base.apk
-e SDCARD /storage/emulated/0
-e EXTERNAL /storage/emulated/0/Android/data/com.retroarch.aarch64/files
--activity-clear-task
--activity-clear-top

Issue has been confirmed on the following devices:

  • OS: Android 11, device: Retroid Pocket 3+
  • Retroid Pocket 2+

Important
This issue does not happen with every game.

Try one of the following

  • Harvest Moon 64(USA)
  • Star Wars: Rogue Squadrons(USA)
  • Super Smash Bros(USA)
  • Tonic Trouble(USA)
  • Rakugakids(EU)

Mentions
This issue has been mentioned multiple times before in other locations:

Frontends where this happens

  • Retroid Launcher
  • Daijisho
  • Dig
  • Launchbox

CANNOT reproduce this on the following device
OS: Google Pixel 3A with Xbox controller. works perfectly there..

@unbelievableflavour
Copy link
Author

unbelievableflavour commented Mar 22, 2023

Workaround
The issue doesn't occur when you hold down a button when retroarch starts opening until the game has started. (for instance, the A button).

@hizzlekizzle
Copy link
Contributor

Same issue here: libretro/RetroArch#15109

AFAICT, it only affects the N64 cores, which have a lot of the same DNA, so fixing it in one will likely apply to the other, as well.

This does not appear to be an issue with Launchbox frontend, so it may not be entirely a problem with RetroArch/cores.

@unbelievableflavour
Copy link
Author

unbelievableflavour commented Mar 24, 2023

Not true actually. I was able to reproduce the issue on Launchbox.

@hizzlekizzle what device do you use?

@unbelievableflavour
Copy link
Author

Better Workaround

Change this setting like so:

  1. Go to Retroarch > Settings > Input > Polling Behaviour
  2. Change to "Early"
  3. Save configuration.
  4. Restart retroarch.

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

No branches or pull requests

2 participants