libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.08k stars 1.81k forks source link

Nintendo Switch SNES Controller not working on iPadOS 16.4 #15286

Open nolrinale opened 1 year ago

nolrinale commented 1 year ago

First and foremost consider this:

Description

The Nintendo Switch SNES controller (HAC-042) is not being detected by Retroarch at all. Not even in the menu but the controller is detected outside the app.

Expected behavior

I expect to be able to use the Switch SNES controller on RA

Actual behavior

No input detected neither in RA menu or ingame (snes)

Steps to reproduce the bug

  1. Connect the controller via Bluetooth
  2. Use the Dpad and L and R buttons to verify the controller works in the main iPad screen (where your apps icons are)
  3. Open RetroArch, you cannot navigate the menus or load any game.

Bisect Results

[Try to bisect and tell us when this started happening] I only tested the latest nightlies 1.15.0 running under iPadOS 16.4.1 (a) with this controller and is not detected at all not even updating the controller profiles, I tried with an Xbox One controller and Retroarch regconized it instantly.

Version/Commit

You can find this information under Information/System Information

Environment information

gssci commented 1 year ago

Up, I am having the same issue, and it's unfortunate that the controller is officially supported by Apple and works on the ipad interface, but it's completely unusable in retroarch

BlindMeander commented 6 months ago

Same here! Tried everything I could think of or anything I could find online but gave up, which is rather frustrating. Any help or fix would be awesome!

BlindMeander commented 6 months ago

Just to provide more details about the issue for those who might have the skills (I don't have) to fix the code: When using an older stable version (e.g., 1.15), the controller is recognized as an MFI controller, but only the D-pad and the A button function properly. Unlike the MacOS version of RetroArch, the controller is not recognized as an HID controller in any version I've tested. However, when I try it on the MacOS version, the SNES controller works flawlessly.