batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.99k stars 513 forks source link

Dualshock 4 not working on Dolphin. Only Start, Touchpad and Touchpad buttons recognized #7486

Closed bettydots closed 1 year ago

bettydots commented 1 year ago

Issue: When using a dualshock 4 controller only the start, share and touchpad inputs (and no other buttons) are being recognized correctly on standalone Dolphin (non libretro) on Steamdeck version 36-dev-2454d38a45 2022/11/09 19:32 . Touching the touchpad acts as a joystick input, which makes selection in menus, etc, work erratically and go all over the place.

Expected result: Dolphin should recognize Dualshock 4 inputs normally, with the controller input settings determined by default or set with the mapping tool (i did try remapping in batocera to troubleshoot)

Reproduction steps:

  1. Connect a dualshock 4 controller to Steam Deck via Bluetooth
  2. Set controller port 1 to the wireless controller assignment of the dualshock 4 in batocera controller settings
  3. Go to Gamecube game library
  4. Set the emulator to Dolphin in advance settings in the gamecube section (pretty sure Auto defaults to this emulator) making sure it's not the Libretro version (libretro version works as intended as far as I can tell)
  5. Open any gamecube game (I was mostly testing Mario Kart Double Dash but ran into the same issue in all other games I tested)
  6. If testing MKDD, when getting to the "Press Start" screen the X button which usually functions as "A" doesn't do anything (it should take you to the next menu). No buttons besides start, share and touchpad do anything either
  7. Press Start or the right side of the touchpad to enter the next menu. It is very possible the touchpad acting as a joystick will start acting up and going quickly out of control through the menu items. Placing finger on the touchpad should make it stop, showing that the joystick is now controlled by the touchpad and the actual joystick does nothing
  8. From here on I didn't test much, but nothing works except touchpad, start and share (I think. I don't think share does anything in the game so I'm not sure) making all games unplayable
  9. NOTE: I tested an Xbox one wired controller to see if it was an issue with exernal controllers in general and it worked as intended, leading me to believe that the issue is only with the Dualshock 4

Logs and data: An admin in the discord said they probably won't need logs and to leave them out until someone asks

Thanks in advance for the help. Let me know if you need any more info!

dmanlfc commented 1 year ago

Confirmed

dmanlfc commented 1 year ago

@nadenislamarre as per discord - patch 8 for lightgun support breaks the DS4 controller config.

nadenislamarre commented 1 year ago

fixed for next beta.