Fixed jump. Added MultiMouse button support [pagefault]. Improved mouse handling. Fixed issue in ManyMouse library when no mice are detected (Windows crash fix).

This commit is contained in:
n-a-c-h
2006-03-24 14:54:04 +00:00
parent 4dbb188f58
commit ea826c3112
4 changed files with 72 additions and 65 deletions

View File

@@ -54,11 +54,15 @@ int ManyMouse_Init(void)
for (i = 0; mice_drivers[i]; i++)
{
int mice = mice_drivers[i]->init();
if (mice >= 0)
if (mice > 0)
{
driver = mice_drivers[i];
return(mice);
} /* if */
else
{
return(0);
}
} /* for */
return(-1);