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

@@ -453,8 +453,9 @@ void MultiMouseInit()
void MultiMouseProcess() void MultiMouseProcess()
{ {
ManyMouseEvent event; ManyMouseEvent event;
ManyMouse_PollEvent(&event); Mouse1MoveX = Mouse1MoveY = Mouse2MoveX = Mouse2MoveY = 0;
ManyMouse_PollEvent(&event);
if (event.type == MANYMOUSE_EVENT_RELMOTION) if (event.type == MANYMOUSE_EVENT_RELMOTION)
{ {