diff --git a/CHANGELOG.mkd b/CHANGELOG.mkd index 65ff7ee..bc38eb2 100644 --- a/CHANGELOG.mkd +++ b/CHANGELOG.mkd @@ -21,6 +21,9 @@ Added: Fixed: +- Properly disable rumbling when told to. Thanks to Jeff Baker from + (Inv3rsion, LLC.)(http://www.inv3rsion.com/) + Changed: - Improved header includes using feedback from (include-what-you-use)[iwyu] diff --git a/README.mkd b/README.mkd index e73a74a..930c24d 100644 --- a/README.mkd +++ b/README.mkd @@ -53,6 +53,7 @@ Additional Contributors: - Karl Semich - Johannes Zarl - hartsantler +- Jeff Baker/Inv3rsion, LLC. License diff --git a/src/wiiuse.c b/src/wiiuse.c index 96568b8..127099a 100644 --- a/src/wiiuse.c +++ b/src/wiiuse.c @@ -229,6 +229,7 @@ void wiiuse_rumble(struct wiimote_t* wm, int status) { } else { WIIUSE_DEBUG("Stopping rumble..."); WIIMOTE_DISABLE_STATE(wm, WIIMOTE_STATE_RUMBLE); + buf &= ~(0x01); } /* preserve IR state */