Project

General

Profile

Actions

Emulator Issues #9263

closed

WiiU Adapter Controllers don't work on netplay

Added by sepharoth213 over 8 years ago. Updated about 8 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Current
Regression:
Yes
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? (right click the game in the game list, properties, info tab)

N/A

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

N/A

What's the problem? Describe what went wrong.

Using a GameCube controller with the WiiU adapter doesn't work when trying to play netplay. Instead, Dolphin switches to what seems to be the default keyboard input layout.

What steps will reproduce the problem?

  1. Select GameCube Adapter for Wii U for GameCube controller port 1
  2. Restart Dolphin if necessary (to ensure the adapter is connected)
  3. Start netplay, host a room (traversal or direct), and select any game
  4. Start the game, a room by yourself is fine. The controller won't input anything, but the default keyboard input layout will be active.

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

This bug was introduced in Dolphin version 8601. On the previous version, 8593, netplay works with the controller like normal. The relevant PR is here: https://github.com/dolphin-emu/dolphin/pull/3455

What are your PC specifications? (CPU, GPU, Operating System, more)

Bug occurs on both Windows and Arch Linux, across multiple hardware setups.

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

N/A


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #9287: Direct Connect Does Not Work Over NetplayDuplicate

Actions
Actions #1

Updated by Sonicadvance1 over 8 years ago

  • Status changed from New to Working as intended

You're doing something incorrectly.

Actions #2

Updated by JosJuice about 8 years ago

  • Status changed from Working as intended to New
  • Milestone set to Current
  • Regression changed from No to Yes
Actions #3

Updated by JosJuice about 8 years ago

Actions #4

Updated by Sonicadvance1 about 8 years ago

The issue lies on this line.
https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/Core/NetPlayClient.cpp#L750
When netplay is enabled it completely breaks the device mappings and makes it so no matter what, if something is mapped to this port then it ends up being the regular gamecube controller SI device.
Now. This is actually /wanted/ on remote hosts no matter what, the issue is when the devices are mapped locally.
If a user is using the Wii U adapter, then locally this device gets mapped as a GC Controller SI device. Which completely breaks reading the Wii U adapter for information.

What needs to be done is to map the proper SIDevice locally, and then on the remote host always map as a GC Controller device.
This way the local SI Device always gets polled the proper way, and then the receiving end just gets the proper control reading.

This also effects every other type of SI device. So devices like the Kongo controller would also break over netplay.

Actions #5

Updated by JMC4789 about 8 years ago

Which is true. (Bongos/other devices being broken on netplay.)

Actions #6

Updated by JosJuice about 8 years ago

  • Status changed from New to Fix pending
Actions #7

Updated by JosJuice about 8 years ago

  • Status changed from Fix pending to Fixed
Actions

Also available in: Atom PDF