libretro / RetroArch

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

Menu scrolls upwards when an Xbox One Wireless controller is connected #15501

Open Slavko-P opened 1 year ago

Slavko-P commented 1 year ago

Expected behavior

Not scrolling upwards in the menu when no button is being pressed.

Actual behavior

The menu gets scrolled upwards without pressing anything. It stops scrolling upwards once the right trigger is pressed halfway, as seen in the video with analog indicators from Dolphin and jstest-gtk. I reinstalled Retroarch and deleted .config/retroarch, and the behavior still persists. It first started doing this some time after I updated to Fedora 37.

Here's a video of it:

https://github.com/libretro/RetroArch/assets/33180175/8182a8c8-0c06-45db-afbe-8945c6281bf9

Steps to reproduce the bug

  1. Start RetroArch
  2. Connect an Xbox One Wireless controller (either via cable/Bluetooth)

Version/Commit

Environment information

hizzlekizzle commented 1 year ago

Have you tried changing the gamepad driver in settings > driver?

Slavko-P commented 1 year ago

Have you tried changing the gamepad driver in settings > driver?

Oh I just realized that you need to restart RetroArch for driver changes to take affect. A text indicating that should probably be added.

And yes that fixed my issue. It looks like the udev input driver was causing that. Setting it to linuxraw and parport, it doesn't react to controller input. But controller input works perfectly fine if it's set to sdl2.

frankjonen commented 9 months ago

I have the same issue on my USB Sega MegaDrive Arcade Pad. The moment I connect it (via cable, because it only has cable) RetroArch gets scroll crazy. The controller works perfectly fine with OpenEmu. So I know it's not the hardware. Can't be a driver issue either because it's a class compliant HDI device and it works everywhere else.

Version

System

kbasaran commented 9 months ago

I also have this problem and switching to sdl2 did not make any difference. The scroll can also be downwards.

Retroarch 1.17.0 OS: Ubuntu 22.04.3 LTS Device: Microsoft Xbox One Wireless Controller connected with bluetooth

kbasaran commented 9 months ago

Seems to be the same issue with #14662

DorkYBru commented 5 months ago

same on debian 12, any solutions?