mirror of https://github.com/mgba-emu/mgba.git
Wii: Rumble for gamecube pads
This commit is contained in:
parent
699e07e89b
commit
1624cd92ba
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue