Project

General

Profile

Actions

Emulator Issues #8796

closed

Wii U pro controller doesn't work after a commit (Linux)

Added by John.ETTEDGUI over 9 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

Game Name?
N/A

Game ID?
N/A

What's the problem? Describe what went wrong in few words.
Starting from https://github.com/dolphin-emu/dolphin/commit/d2578000bbf5bddd52c18e162d5ae8aae5c93d1a I cannot get my Wii U Pro controller to work in dolphin (I test it in the controllers window, hence no game name/id given above).

What did you expect to happen instead?
The controller window to respond to key presses/pad moves

What steps will reproduce the problem?

  1. Build from d2578000bbf5bddd52c18e162d5ae8aae5c93d1a onwards
  2. Try to use the Wii U Pro Controller in dolphin

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?
d2578000bbf5bddd52c18e162d5ae8aae5c93d1a onwards

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
Yes, before commit d2578000bbf5bddd52c18e162d5ae8aae5c93d1a.

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Linux AMD64 4.1.2
GCC 5.1.0
udev/systemd 222
libevdev 1.4.3
xf86-input-evdev 2.9.2
sdl2 2.0.3
sdl 1.2.15
Intel Core I7

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
[Upload big files to a hosting service and post links here!]
N/A

[Do not attach files to this issue. Upload them to another site and
link here. Use imgur.com for images and pastie.org for logs. Monitor the
email address that was used to create this issue.]

Thank you!

Actions #2

Updated by phire over 9 years ago

Could you please pastebin the output of evtest for the controller?

Actions #3

Updated by John.ETTEDGUI over 9 years ago

It's my first time running evtest so I hope I did it right.
I ran it, selected the corrected device and then used the controller to get the output, and finally killed it to exit.

http://pastebin.com/udSKm3Ey

Thank you!

Actions #4

Updated by John.ETTEDGUI over 9 years ago

Since I could not run evtest as a normal user but only as root, I thought of trying the same with dolphin and so ran it with kdesu, but it's the same no controller working.

Actions #5

Updated by phire over 9 years ago

Yes, that's right.
Is the /dev/input/eventX readable by your user, or did you have to read it as root?

Actions #6

Updated by John.ETTEDGUI over 9 years ago

(I'm not sure if you had read my previous comment before replying this or not)
ll /dev/input/event16
crw-rw----+ 1 root input 13, 80 Jul 15 21:44 /dev/input/event16
cat works on it.

Actions #7

Updated by John.ETTEDGUI over 9 years ago

In case, the acl info:

getfacl /dev/input/event16
getfacl: Removing leading '/' from absolute path names

file: dev/input/event16

owner: root

group: input

user::rw-
user::rw-
group::rw-
mask::rw-
other::---

Actions #8

Updated by John.ETTEDGUI over 9 years ago

and I have must have been wrong earlier as I'm able to run evtest as a standard user (sorry I can't edit previous comments...)

Actions #9

Updated by phire over 9 years ago

Ok, so it's not a permission issue.

(The wii classic controller which I do have for testing does have permission issues, but it's also lacking precision on the joysticks, so I don't recommend using it.)

Actions #10

Updated by John.ETTEDGUI over 9 years ago

Yup, I also think it is not a permission issue after these tests.

Also, not sure if it matters, but I don't use it as a Xorg device, only as a Joystick (so it does not control my pointer)

Actions #11

Updated by phire over 9 years ago

Just to make sure I've got this right:
The Wii U pro controller doesn't show up at all in dolphin, there is no "evdev/0/Nintendo Wii U Pro Controller" entry?

Also, can you make sure evdev support is working.
If you run dolphin as root (with kdesu) you should see an evdev device for at the very least your keyboard (ie "evdev/X/My Keyboard's Name") and possibly some other devices.

Actions #12

Updated by John.ETTEDGUI over 9 years ago

Oh I'm sorry, it does show in the dolphin panel as SDL/0/Nintendo Wii Remote Pro Controller.
But using it doesn't do anything, ie when I go into the Classic Configure panel, if I move the sticks or press a button, I cannot see any change in the UI whereas with the previous commit.

Isn't this actually not it, you expected it evdev but I get SDL instead?
Thanks!

Actions #13

Updated by John.ETTEDGUI over 9 years ago

Oh actually that was it!
In the controllers UI I clicked on the "SDL/0/Nintendo Wii Remote Pro Controller" got a dropdown and picked "evdev/0/Nintendo Wii Remote Pro Controller" instead.
The SDL one was not even in the dropdown, I guess it was a "memory" from the previous build.
After making that change it seems to work fine.

Actions #14

Updated by phire over 9 years ago

  • Status changed from New to Invalid

Ah, there is a bit of a user interface problem there. Sorry about that.

It's also possible the axis and buttons might have changed and you will need to re-map them.

Thanks for your time. If you have any further issues with that controller (I don't have one for testing) please create a new issue.

Actions #15

Updated by John.ETTEDGUI over 9 years ago

oh thanks for the heads up, I'll verify that!

And thank you for your time helping me as well, that was super quick!

Actions

Also available in: Atom PDF