Skip to content

WiiU: Gamepad hotplugging support, theoretical multi-gamepad support, warning fixes#10646

Merged
inactive123 merged 4 commits into
libretro:masterfrom
ashquarky:master
May 17, 2020
Merged

WiiU: Gamepad hotplugging support, theoretical multi-gamepad support, warning fixes#10646
inactive123 merged 4 commits into
libretro:masterfrom
ashquarky:master

Conversation

@ashquarky
Copy link
Copy Markdown
Contributor

Description

This PR adds support for hotplugging WiiU Gamepads. Critically for users, this makes the driver no longer assume a Gamepad is present, so when it's broken or out of battery or missing; the first Wiimote gets slot 1 instead (helpful when All Users Control Menu is off). I also made it check Gamepad channel 2 - while it's impossible to connect a second Gamepad on a retail console, the code to do it still appears to be there. If that feature ever becomes a thing through CFWs, it'll work here.
Also included some bonus warning fixes that make the input stuff a bit less daunting now -Wall is on.

Related Issues

Nothing filed on GitHub that I know of, though it was discussed on GBATemp.

Reviewers

@Roet-Ivar (requested change, testing)
@gblues (if you want)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants