libretro / libretro/RetroArch

[tvOS] Pressing B on bluetooth controller on Apple TV closes RetroArch app

Open
#18,286 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

platform: tvos
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Is there an existing issue for this?
  • This is a bug in RetroArch frontend
  • I have searched the existing issues
Description

I'm using a Switch Pro Controller via Bluetooth on an Apple TV HD (model A1625, tvOS 26) to play games on RetroArch.

The problem is, that when I press B (the physical button labeled B on the Pro Controller) in the RetroArch menu, the RetroArch app closes and I'm on the home screen again. Weirdly enough this does not happen every time I press B, but certainly most of the time. This makes RetroArch basically unusable for me.

Also note that I'm not holding the B button, I'm just tapping it once.
I also do not have any keymapping config active in RetroArch or tvOS other than the default.

Expected behavior

The expected behavior would be to stay in the RetroArch app no matter what I press on the controller.

I'm not sure about this, but it might be a feature of tvOS itself to be able to close apps with a Bluetooth controller when holding the B button. To me this would definitiely interfere with games and should be disabled in RetroArch.

Only exit RetroArch when being at the "Main Menu" menu item, as this is the top-most item in the menu.

Steps to reproduce the bug
  1. connect Bluetooth controller to Apple TV (Switch Pro Controller)
  2. enter RetroArch app
  3. select "Load Core" in the main menu
  4. press B on the controller --> RetroArch exits and home screen of tvOS is shown
Version/Commit

1.21.0 (Git 54af661d95)

Bisect Results

No response

Present in the nightly version

I don't know

Platform & operating system

tvOS 26 / Apple TV HD

Affected Cores

No response

Environment information
  • default controller mapping in RetroArch and tvOS
Relevant log output

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on an Apple TV HD with a Switch Pro Controller using the default mapping, following the listed Load Core steps. Compare a tap on B with the expected Main Menu behavior; done means B no longer exits RetroArch from other menu items while exiting at Main Menu remains possible.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.