Fix for shutting off rumble, from Jeff Baker (Inv3rsion, LLC.)
This commit is contained in:
@@ -229,6 +229,7 @@ void wiiuse_rumble(struct wiimote_t* wm, int status) {
|
|||||||
} else {
|
} else {
|
||||||
WIIUSE_DEBUG("Stopping rumble...");
|
WIIUSE_DEBUG("Stopping rumble...");
|
||||||
WIIMOTE_DISABLE_STATE(wm, WIIMOTE_STATE_RUMBLE);
|
WIIMOTE_DISABLE_STATE(wm, WIIMOTE_STATE_RUMBLE);
|
||||||
|
buf &= ~(0x01);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* preserve IR state */
|
/* preserve IR state */
|
||||||
|
|||||||
Reference in New Issue
Block a user