Project

General

Profile

Actions

Emulator Issues #8380

closed

SDL2 Gamepad Support Is Not Working...

Added by ears.box about 10 years ago.

Status:
Invalid
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

What's the problem? Describe what went wrong in few words.

Dolphin does not recognize Xbox 360 controller compiled against SDL2 2.0.3

I saw a few bug reports regarding this that were closed, but this issue still seems to exist.

What did you expect to happen instead?

Controller to be recognized with Dolphin compiled against SDL2 2.0.3

What steps will reproduce the problem?
[Don't assume we have ever played the game and know any level names. Be as
specific as possible.]

  1. Compiling Dolphin against SDL2

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?

4.0-5841
4.0-5858

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?

I only tested this on the two development versions listed above.

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)

Slackware 14.1 x86_64

Is there any other relevant information?

Uninstalling SDL2 and compiling Dolphin against SDL1 works, controller is recognized with SDL1

Actions #1

Updated by ears.box about 10 years ago

Ok my bad, I realized I overlooked it being mentioned about /dev/input/event being owned by root in one of the other reports made.

So I found on Arch Linux Gamepad Wiki, that mentioned about changing this;

By default, the device associated with a controller (e.g., /dev/input/event14) will be owned root, part of the root group and will only allow its owner to read or write to it (i.e., 600). As a result, applications will not be able to use the controller unless they are run with superuser privileges. To amend this, create the following udev rule.

/etc/udev/rules.d/50-event.rules

KERNEL=="event*", GROUP="games", MODE="660"

I created the udev rule and added my user to /etc/group games and dolphin is working with SDL2 support! :)

Actions #2

Updated by skidau about 10 years ago

  • Status changed from New to Invalid
Actions

Also available in: Atom PDF