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

[Wii] Erratic movements with the left stick of the Wii Classic Controller #298

Closed
RafaelTrepaUnCarballo opened this issue Jul 15, 2016 · 8 comments

Comments

@RafaelTrepaUnCarballo
Copy link

@RafaelTrepaUnCarballo RafaelTrepaUnCarballo commented Jul 15, 2016

I noticed the characters move strangely when I'm using the left stick of the classic controller. Neither the gamecube pad nor the Digital Pad of any pad suffer this problem.

Description of the bug: When I'm moving down and I change the direction to up the games still think I'm moving down or it alternates up and down randomly.

This affects any game I checked (for example Golden Sun 2, Mario Golf...).
I think it only affects the Y axis, but I'm not completely sure.

@endrift

This comment has been minimized.

Copy link
Member

@endrift endrift commented Jul 15, 2016

Unfortunately I don't have a classic controller to debug this issue with.

@endrift endrift added the os:Wii label Aug 10, 2016
@endrift

This comment has been minimized.

Copy link
Member

@endrift endrift commented Aug 10, 2016

Does this still reproduce? I merged some changes into libogc that were supposed to fix this.

@RafaelTrepaUnCarballo

This comment has been minimized.

Copy link
Author

@RafaelTrepaUnCarballo RafaelTrepaUnCarballo commented Sep 15, 2016

It's still there.

@endrift endrift added this to the 0.6.1 milestone Jul 18, 2017
@endrift endrift modified the milestones: mGBA 0.6.1, mGBA 0.6.2 Sep 30, 2017
@endrift endrift modified the milestones: mGBA 0.6.2, mGBA 0.7.0 Apr 14, 2018
@endrift

This comment has been minimized.

Copy link
Member

@endrift endrift commented Aug 6, 2018

I've just pushed some fixes for classic controller handling, can you check with the latest build in a bit?

@RafaelTrepaUnCarballo

This comment has been minimized.

Copy link
Author

@RafaelTrepaUnCarballo RafaelTrepaUnCarballo commented Oct 8, 2018

No, it's still broken. Although I noticed something that might help you to fix the bug:

The problem affects mostly UP and DOWN (Y axis) and only when you tilt the joystick to the maximum.
If you tilt it a 80% everything works as intended.

I have no idea of how Wii hardware and software works, but I suspect it could be caused by oddities in the way the axis of the classic controller works...

maybe the values of the axis Y grow bigger than the variable limit, overflowing it and becoming negative? (that would explain why you start going down when you tilt up to the limit)

Just a theory, better ask Dolphin devs for it.

@endrift

This comment has been minimized.

Copy link
Member

@endrift endrift commented Oct 14, 2018

I can retest again but I have to wonder if your controller is just broken. Do you have access to any others to test with?

@endrift endrift modified the milestones: mGBA 0.7.0, mGBA 0.7.1 Jan 26, 2019
@endrift endrift modified the milestones: mGBA 0.7.1, mGBA 0.7.2 Feb 25, 2019
@endrift

This comment has been minimized.

Copy link
Member

@endrift endrift commented Mar 4, 2019

This might be fixed now, please retest.

@RafaelTrepaUnCarballo

This comment has been minimized.

Copy link
Author

@RafaelTrepaUnCarballo RafaelTrepaUnCarballo commented Apr 7, 2019

It is fixed now.

@endrift endrift closed this May 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.