events.c: Clear event buffer after propagating in Mac

-The line was previously commented-out
-Even if the instruction is not vital, uncommenting it makes mac polling consistent with unix and windows polling
This commit is contained in:
Juan Sebastian Casallas
2011-11-30 19:27:20 +01:00
parent 87eba20df3
commit 240ef2f3f9

View File

@@ -206,7 +206,7 @@ int wiiuse_poll(struct wiimote_t** wm, int wiimotes) {
evnt += (wm[i]->event != WIIUSE_NONE);
/* clear out the event buffer */
/*memset(wm[i]->event_buf, 0, sizeof(wm[i]->event_buf));*/
memset(wm[i]->event_buf, 0, sizeof(wm[i]->event_buf));
} else {
idle_cycle(wm[i]);
}