Wii: Rumble for gamecube pads

This commit is contained in:
Jeffrey Pfau 2015-08-27 22:39:07 -07:00
parent 699e07e89b
commit 1624cd92ba
1 changed files with 5 additions and 0 deletions

View File

@ -415,4 +415,9 @@ static int _pollInput(void) {
void _setRumble(struct GBARumble* rumble, int enable) {
UNUSED(rumble);
WPAD_Rumble(0, enable);
if (enable) {
PAD_ControlMotor(0, PAD_MOTOR_RUMBLE);
} else {
PAD_ControlMotor(0, PAD_MOTOR_STOP);
}
}