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

RetroArch only lists and accepts input from one controller connected to a WebOS TV (when two are connected) #16912

Open bejamartins opened 3 weeks ago

bejamartins commented 3 weeks ago

Description

RetroArch only detects one controller connected at the time. When I connect more than one controller to the TV, be it via USB or Bluetooth, although WebOS detect them all, RetroArch only detects one and accepts input from one. (I used Xbox 360 wired controllers and XBox One via Bluetooth).

Expected behavior

List and accept input from all the game controllers connected to the TV.

Actual behavior

Only lists and accepts input from one controller when one or more are connected to the TV.

Steps to reproduce the bug

  1. Install RetroArch on a WebOS TV (I did ir via Homebrew Channel on a rooted TV)
  2. Connect one controller to the TV via the WebOS Settings Menu (Bluetooth) or simply to the USB port.
  3. Open RetroArch

Bisect Results

Only ever tried connecting more than one controller now, so can't trace if it was always like this or added later.

Version/Commit

Environment information

zoltanvb commented 1 week ago

Do you get connection message for the second controller, or just one? What is the controller driver on WebOS (Settings / Drivers)?

bejamartins commented 1 week ago

Do you get connection message for the second controller, or just one? What is the controller driver on WebOS (Settings / Drivers)?

I get the WebOS connection message for both controllers, but I only get message for whichever first I connected from RetroArch. I'm not next to my TV right now and won't be for a day or two, so I can only check that then and I'll update my answer then (I'm not sure if this is what you asking though but RetroArch picks the controller either as XBox One or 360, depending which I'm using, but only one at a time).

zoltanvb commented 1 week ago

If you are at it, may be good to get a log as well (debug level), if you can retrieve it.

bejamartins commented 1 week ago

What is the controller driver on WebOS (Settings / Drivers)?

So, the driver is "sdl2". There is also "hid" available to select.

If you are at it, may be good to get a log as well (debug level), if you can retrieve it.

I turned on the log, restarted retroarch and connected two Xbox One controllers to the TV, I produced the attached log:

retroarch.log

zoltanvb commented 1 week ago

The log shows 2 connections, but also autoconfig failure. SDL autoconfig files do not include this specific variant:

Xbox One S Controller (1118/2848) not configured

However, existing variants seem to be very similar, with the exception of name and product ID, so you may try dropping this file to RetroArch's autoconfig/sdl2 (uncompressed) : Xbox One S Controller.zip

As for not accepting input, did you try to control the menu, or any content? For the menu, there is a specific option, Input / Menu controls / All users control menu.