Skip to content

Fix gamecube controller presence detection being broken on the official Nintendo GameCube adapter. - #512

Merged
Rosalie241 merged 1 commit into
Rosalie241:masterfrom
EIREXE:gcn_adapter_fix
Jul 29, 2026
Merged

Rosalie241 merged 1 commit into
Rosalie241:masterfrom
EIREXE:gcn_adapter_fix

Conversation

@EIREXE

@EIREXE EIREXE commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

To check if a controller is present, we were only checking if status was not 0, this is incorrect, as apparently bits 4 and 5 are what tell you if it's connected and what kind of controller (wavebird or standard) it is, see https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/InputCommon/GCAdapter.cpp#L862

In the case of my GC adapter, status was set to 0x4 when a controller was not connected.

@Rosalie241
Rosalie241 merged commit 9dced04 into Rosalie241:master Jul 29, 2026
12 checks passed
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