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

GC Controller rumbling the whole time #78

Closed
GoogleCodeExporter opened this issue Jun 19, 2015 · 5 comments
Closed

GC Controller rumbling the whole time #78

GoogleCodeExporter opened this issue Jun 19, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Start VBA-Wii

What is the expected output? What do you see instead?
As soon as I start VBA-Wii, the GC controller starts to rumble. It doesn't
stop until I diconnect it or turn off VBA-Wii. Starting a game or changing
the preferences and saving them does not help, it keeps on rumbling.

What version of the product are you using? On GameCube or Wii?
Wii, 1.08

Please provide any additional information below.
Happens with original Nintendo Gamecube pad and Bigben pad. I'm on a PAL
Wii with system version 3.2E.

Original issue reported on code.google.com by charles....@gmail.com on 6 Apr 2009 at 3:36

@GoogleCodeExporter
Copy link
Author

I'm such an idiot. I didn't have a gamecube controller to test it on, and I 
didn't 
check my code.

Yes, it turns on rumble on the GC pad every frame of every game and every frame 
of 
every menu, regardless of what is happening.

Feel free to laugh at this code snippet (which is called every frame):

static void updateRumble() {
        bool r = false;
        if (InMenu) r = (menuRumbleCount > 0);
        else r = cartridgeRumble || (gameRumbleCount > 0) || (menuRumbleCount > 0);

#ifdef HW_RVL
        // Rumble wii remote 0
        WPAD_Rumble(0, r);
#endif
        PAD_ControlMotor(PAD_CHAN0, PAD_MOTOR_RUMBLE);
}

Note the constant PAD_MOTOR_RUMBLE instead of an IF statement based on the 
value of 
"r".

This bug only affects Gamecube controllers, so as a workaround you can unplug 
the 
Gamecube controller. I'll go and fix it now.

Original comment by Carl.Kenner@gmail.com on 7 Apr 2009 at 12:34

  • Changed state: Started
  • Added labels: Priority-Critical
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Issue 79 has been merged into this issue.

Original comment by Carl.Kenner@gmail.com on 7 Apr 2009 at 12:35

@GoogleCodeExporter
Copy link
Author

Issue 81 has been merged into this issue.

Original comment by Carl.Kenner@gmail.com on 7 Apr 2009 at 2:26

@GoogleCodeExporter
Copy link
Author

Thanks very much, works fine now! :)

Original comment by charles....@gmail.com on 7 Apr 2009 at 8:13

@GoogleCodeExporter
Copy link
Author

:-)

Original comment by Carl.Kenner@gmail.com on 7 Apr 2009 at 8:31

  • Changed state: Completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant