Project

General

Profile

Actions

Emulator Issues #12382

closed

Logitech and Xbox 360 gamepads treated as same device on Linux

Added by pretzelface over 3 years ago. Updated over 3 years ago.

Status:
Working as intended
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

I'm experiencing the same issue as in #12126, but with two different Logitech gamepads, an F310 (wired, no rumble) and an F710 (wired, with rumble), and a wired Xbox 360 controller.

All have different IDs; dm

I'm running Ubuntu 20.04 LTS and I'm on the latest master (79a234eff728b2aeb68c9848f2e4fe861d4f3b91).

I'm also getting the same result on my Arch machine.

I have tried on both X and Wayland.

I have not been able to build the 5.0 stable version on my system.

evtest shows the correct devices:

$ evtest
No device specified, trying to scan all of /dev/input/event*
Not running as root, no devices may be available.
Available devices:
/dev/input/event8:	Logitech Gamepad F310
/dev/input/event9:	Logitech Gamepad F710
/dev/input/event10:	Microsoft X-Box 360 pad

However, Dolphin seems to see them all assigned to evdev/0, and the inputs are mirrored from one gamepad to the next, making multiplayer impossible.


Files

evdev_incorrect.png (46.6 KB) evdev_incorrect.png pretzelface, 01/11/2021 12:48 AM
Actions #1

Updated by pretzelface over 3 years ago

I'm experiencing the same issue as in #12126, but with two different Logitech gamepads, an F310 (wired, no rumble) and an F710 (wired, with rumble), and a wired Xbox 360 controller.

All have different IDs.

I'm running Ubuntu 20.04 LTS and I'm on the latest master (79a234eff728b2aeb68c9848f2e4fe861d4f3b91).

I'm also getting the same result on my Arch machine.

I have tried on both X and Wayland.

I have not been able to build the 5.0 stable version on my system.

evtest shows the correct devices:

$ evtest
No device specified, trying to scan all of /dev/input/event*
Not running as root, no devices may be available.
Available devices:
/dev/input/event8:  Logitech Gamepad F310
/dev/input/event9:  Logitech Gamepad F710
/dev/input/event10: Microsoft X-Box 360 pad

However, Dolphin seems to see them all assigned to evdev/0, and the inputs are mirrored from one gamepad to the next, making multiplayer impossible.

Actions #2

Updated by Billiard26 over 3 years ago

  • Status changed from New to Questionable

What do you mean by "the inputs are mirrored from one gamepad to the next"?

The "0"s in "evdev/0/" does not mean they are detected as the same device. It's just an index for multiple devices with the same name.

Actions #3

Updated by pretzelface over 3 years ago

Billiard26 wrote:

What do you mean by "the inputs are mirrored from one gamepad to the next"?

The "0"s in "evdev/0/" does not mean they are detected as the same device. It's just an index for multiple devices with the same name.

Well, that's embarrassing. I had the wrong device selected, or rather the same physical controller selected twice for the same controller input. My bad.

Actions #4

Updated by Billiard26 over 3 years ago

  • Status changed from Questionable to Working as intended
Actions

Also available in: Atom PDF