Skip to content
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

Gyroscope is reversed - mgba for Wii #2245

Closed
ghost opened this issue Jul 12, 2021 · 12 comments
Closed

Gyroscope is reversed - mgba for Wii #2245

ghost opened this issue Jul 12, 2021 · 12 comments
Labels
system:Wii Affects running on the Wii
Milestone

Comments

@ghost
Copy link

ghost commented Jul 12, 2021

Hi, I wanted to play WW Twisted on the mgba emulator for Wii using a Wii motion plus controller, but the gyroscope is reversed! Tilting left tilts right and tilting right tilts left. I tried messing with the config file, but that didn't seem to work. I'm running the latest version of the emulator. Any help?

@endrift endrift added this to the mGBA 0.9.3 milestone Jul 17, 2021
@endrift endrift added the system:Wii Affects running on the Wii label Jul 17, 2021
@endrift
Copy link
Member

endrift commented Jul 21, 2021

I compared this against hardware and it seems to be the same direction. How are you sure it's reversed? What controller are you using?

@ghost
Copy link
Author

ghost commented Jul 22, 2021

Hi! First off, thanks for your reply ;) Secondly, I really wanted to have somebody test this with me, because I am not sure if it affects everyone or just myself...but I am confident the gyroscope is reversed. I am using an official Wii motion plus controller. I can provide a video soon to demonstrate it, but essentially: inclining the Wiimote left should turn right and inclining the Wiimote right should turn left ONLY in the main menu! On my mGBA, tilting the Wiimote left and right moves left and right in the menu, so the controls and the action on the screen match, but that's not supposed to happen. In any stage, like Wario's, inclining the Wiimote left and right should match the action on screen. In my case, however, tilting right tilts right in the menu but left in the games, and vice versa. It feels so wrong that I noticed this immediately, I kept failing every microgame and realized something was way off. I also played this game on an emulator on my Galaxy S8 one year ago, and the controls felt right, just as I described. To make 100% sure this wasn't a case of false memory, I started googling, and found this video by Fossil Arcade that graphically shows the physical movement of the GBA being tilted. It is even more apparent in the gobble microgame: https://youtu.be/_rOLirYFOwo?t=107
On my mGBA, this microgame feels completely wrong alongside the other 99%, with the exception of very few microgames that reverse the orientation on purpose...and yes, it's very confusing. By the way, other than fixing the issue, perhaps you could have an option in the emulator's UI to invert the Z axis at will, allowing everyone to play these games the way they feel comfortable with. However, as it stands, the Z axis is reversed and makes the game completely unplayable, at least on my version of the emulator, which is the latest release. Let me know if the explanation was clear, I will try to shoot a video soon showcasing and commenting the issue ;)

@endrift
Copy link
Member

endrift commented Jul 22, 2021

This is the opposite result from what I got when I was testing. Can you upload your config.ini file?

@nicotilt
Copy link

I am facing the same issue as OP. I don't know here to find my config.ini file despite trying to find it. Do you know where I can locate it?

@Maesejesus
Copy link

I can confirm that I also have the motion controls reversed.

I added my config in case it helps.

config.txt

@nicotilt
Copy link

Here is mine as well:

config.txt

@nicotilt
Copy link

nicotilt commented Oct 3, 2021

Any update?

@endrift
Copy link
Member

endrift commented Oct 4, 2021

I've found that my non-TR Motion Plus Inside Wiimote tilts the wrong way and is oversensitive, but the -TR Motion Plus Inside Wiimote tilts the right way and is properly sensitive. I'm unsure how to detect and deal with this however.

@Maesejesus
Copy link

I have a red Wiimote from the 25th Mario anniversary, it is Plus inside, and a Zelda golden one, also Plus inside. Both show as RVL-CNT-01 on my PC. Both act the same way.

Sorry, but I apparently do not have a TR one to try. Maybe a setting on the options to flip it could do the trick? It's something the user would only need to change once and it'd be far simpler for you than coding a way to check which Wiimote type it is.

By the way, a way to disable rumble would be useful, but that might be better as a separate issue.

Thanks for still looking into this.

@ghost
Copy link
Author

ghost commented Oct 4, 2021

Hey @endrift it's me again, KaySt3R (the OP). I've been informed other users are facing the same issue, so perhaps you could take my and @Maesejesus 's feedback into account and just add an option to flip the axis in the next build as it's a quick fix and should be fine for most people.

@endrift
Copy link
Member

endrift commented Oct 4, 2021

Yes, I'm strongly thinking about it. Also since the sensitivity appears to vary between Wiimotes I may add a slider for that too.

@Maesejesus
Copy link

I tried the last nightly, and it works wonders! It's also great you added different intensities for both directions.

Also, I mentioned about turning off rumble but... Now that I can control Wario Ware Twisted properly I saw that you can turn off rumble in the game and it does indeed turn it off on your Wiimote correctly. Sorry for mentioning it.

Thank you for your effort, Endrift!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:Wii Affects running on the Wii
Projects
None yet
Development

No branches or pull requests

3 participants