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

Fix horribly broken accelerometer emulation. #1985

Merged
merged 1 commit into from Feb 2, 2015

Conversation

CarlKenner
Copy link
Contributor

It now emulates the least significant bits.
And it no longer treats maximum acceleration in one direction as being in the opposite direction.

It now emulates the least significant bits.
And it no longer treats maximum acceleration in one direction as being in the opposite direction.

if (accel_x > 1024)
accel_x = 1024;
else if (accel_x < 0)

This comment was marked as off-topic.

This comment was marked as off-topic.

skidau added a commit that referenced this pull request Feb 2, 2015
Fix accelerometer wiimote/nunchuk emulation.
@skidau skidau merged commit 4e7d2ab into dolphin-emu:master Feb 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants