Skip to content

Mayflash N64 Controller Adapter - Analog, C-buttons and d-pad not working/not responsive #4280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MGZero opened this issue Mar 30, 2025 · 8 comments
Labels

Comments

@MGZero
Copy link

MGZero commented Mar 30, 2025

Summary

Using a Mayflash USB N64 controller adapter:
Analog stick, d-pad and c-buttons are not responsive while binding controller inputs. Other buttons work fine. Tried with several N64 controllers, as well as other emulators to rule out the adapter. Only able to reproduce in Bizhawk, regardless of N64 controller used.

Repro

  1. Plug in a first party N64 controller via USB adapter
  2. Attempt to set bindings for D-pad, C-buttons or analog stick.
    Expected behavior: Input is detected from the controller and bindings are set
    Actual behavior: No input detected, it's as if nothing is being pressed

Host system

Bizhawk 2.10 WIndows 10 Pro 22H2 AMD Ryzen 5600x
Mayflash adapter in question: https://www.amazon.com/dp/B002B9FIUU

@MGZero MGZero changed the title Mayflash N64 Controller Adapter - Analog and C-buttons not working Mayflash N64 Controller Adapter - Analog, C-buttons and d-pad not working/not responsive Mar 30, 2025
@YoshiRulz YoshiRulz added App: EmuHawk Relating to EmuHawk frontend Repro: Affects 2.10 labels Mar 30, 2025
@Morilli
Copy link
Collaborator

Morilli commented Mar 30, 2025

Could you check whether you get the same results in the latest dev build as well? This may have been fixed already.

@YoshiRulz YoshiRulz added Repro: Patch pending Potentially fixed in dev builds, see readme for download Waiting on user/contributor response labels Mar 30, 2025
@MGZero
Copy link
Author

MGZero commented Mar 30, 2025

@Morilli Behaving a bit differently on the latest. C-buttons and D-pad still don't work, and the analog stick still does not work on the analog controls tab. However, the analog on the normal controls tab is registering as the D-pad

@YoshiRulz YoshiRulz added Repro: Affects 2.10.1 dev Reproducible in current dev builds and removed Repro: Patch pending Potentially fixed in dev builds, see readme for download Waiting on user/contributor response labels Mar 30, 2025
@CasualPokePlayer
Copy link
Member

Does it use J1 or X1 here?

@MGZero
Copy link
Author

MGZero commented Apr 1, 2025

@CasualPokePlayer X2

Image

@CasualPokePlayer
Copy link
Member

CasualPokePlayer commented Apr 1, 2025

Seems this is a known issue in SDL: libsdl-org/SDL#6079

The problem with it is that its VID/PID collided with another controller, so you'd end up getting nonsensical results from an SDL_GameController. Newer (relatively speaking) SDL versions had changes done so mappings could be created regardless, although seems for that it needs to have mappings created using a program linked in that issue, which the OP apparently never did.

@CasualPokePlayer
Copy link
Member

controllermap.zip
This would be the controller mapping program (built off latest SDL2 commit), could you try running this with that N64 adapter?

@MGZero
Copy link
Author

MGZero commented Apr 6, 2025

@CasualPokePlayer That does detect the controller correctly, though the N64 controller doesn't have enough buttons to map it all to the xbox controller on screen haha. It does recognize all the inputs though!

@CasualPokePlayer
Copy link
Member

What was the output given?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants