-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Mayflash adapter and gamecube controller not working on MacOS Catalina #56475
Comments
Related to #21550. |
I did a little more work on this, if i take the For what it's worth i tried the test program in #21550 and got the same results i'm seeing in mine. So gc controllers are behaving different for me than they are for that user. |
I have a little bit more figured out: If i plug the controller into the 4 controller slots, it reports different buttons and axes for everything but the d-pad, which uses the same 12-15. That combined with the "out of range" axes and some buttons not showing at all makes me think godot is interpreting the adapter as one big controller where buttons on all 4 controllers control inputs on "controller 0". I'm also noticing that the GCAdapterDriver specifically says to operate in Wii u/NS mode, but i don't get any response in dolphin or godot when on that setting. When i set it to PC mode dolphin (and openemu) works fine but godot behaves like this. Not sure if it's a godot issue or a driver issue honestly |
I've figured it out! I fixed it by downloading the latest firmware from mayflash (https://www.mayflash.com/Support/showdownload.php?id=91). I was on version 5 but there's a version 6. My controller is now in the state described in #21550 which makes me think it's an issue with the mayflash firmware rather than godot |
Thanks, closing as duplicate of #21550 then for the remaining issue. |
Godot version
3.4
System information
MacOS Catalina 10.15.7
Issue description
When connecting a gamecube controller via mayflash adapter, I am watching all joypad buttons and axes and getting this reponse:
A: button 6
B: button 8
X: button 1
Y: button 13
L: button 18 (not axis)
R: none
Z: none
Start: none
D-Pad up/down/left/right: none
Control stick up/down: axis 7
Control stick left/right: axis 2
c-stick up/down: axis 9
I also get this error constantly streaming in the console:
When i compare with Dolphin, dolphin is able to map all buttons and axes and has more expected indices (XABY are buttons 1234 respectively). I have GCAdapterDriver installed though i'm not sure how exactly it plays into dolphin and/or godot. I get this response with the adapter in PC mode and no response with it in Wii u/NS mode (for both Dolphin and Godot). I also did a quick check with a PS4 controller and it seems to work normally with the expected button and axis indices.
Any help on how to get gamecube controllers working would be much appreciated!
Steps to reproduce
This is the code i've been using to debug the issue:
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: