Stop mouse from creeping around the screen when not being moved

This commit is contained in:
pagefault
2006-03-23 21:09:29 +00:00
parent cebda08581
commit 45156d1b04

View File

@@ -454,6 +454,7 @@ void MultiMouseProcess()
{ {
ManyMouseEvent event; ManyMouseEvent event;
Mouse1MoveX = Mouse1MoveY = Mouse2MoveX = Mouse2MoveY = 0;
ManyMouse_PollEvent(&event); ManyMouse_PollEvent(&event);
if (event.type == MANYMOUSE_EVENT_RELMOTION) if (event.type == MANYMOUSE_EVENT_RELMOTION)