mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.61k stars 769 forks source link

Controller only works when swapping to another port. #908

Open Marotheit opened 6 years ago

Marotheit commented 6 years ago

I am using the Mayflash WiiU GameCube Adapter in PC Mode with a stock GameCube controller plugged into port 1.

mGBA only seems to recognize inputs after the "correct port" is selected from the drop-down menu of the controller menu in the settings. If the emulator is closed, the process must be repeated when the emulator is re-opened to regain control of the emulator through a controller.

I say correct port because the controller is plugged into port 1, and recognized as such in every program I've configured it for, but mGBA doesn't seem to agree.

To attempt to disprove user error (although I recognize that may very well be the case,) I have included my configuration here: https://pastebin.com/6gTHiAGq

Edit: I am running the latest version of mGBA on Windows 10.

endrift commented 6 years ago

Yikes, that config file is corrupted. I wonder why it's getting that way.

Marotheit commented 6 years ago

I've actually reset and re-generated the config file multiple times, and it always ends up that way.

Edit: I should mention I've also redownloaded the program multiple times as well, that generally seems to be result every time.

endrift commented 6 years ago

Yup, I think I've found the source of the corruption. That said, I'm not sure if that will fix all of the issues you're having.

Marotheit commented 6 years ago

Even if it doesn't, I'm glad to contribute! Once you have it fixed, let me know and I'll compile the build and see if it fixed it. Either way, I appreciate the support!

JMC47 commented 6 years ago

Was this ever addressed? I have a Mayflash GameCube Adapter and can test this if need be.

Marotheit commented 6 years ago

I did not experience the issue after the next version was released, so safe to mark it solved as far as I was concerned.

On Tue, Sep 4, 2018, 7:28 PM JMC47 notifications@github.com wrote:

Was this ever addressed? I have a Mayflash GameCube Adapter and can test this if need be.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mgba-emu/mgba/issues/908#issuecomment-418569321, or mute the thread https://github.com/notifications/unsubscribe-auth/AY6lz_q_2yeOkoOZKMbfpeUSixb4DJDMks5uXyi7gaJpZM4P35M7 .

cinnamonrollls commented 10 months ago

Same issue in version 0.10.2 Mayflash Bug.zip