Mouse detection was bassackwards. Thanks pjft!
This commit is contained in:
parent
ea7d9d97cf
commit
8c0840af12
1 changed files with 1 additions and 1 deletions
|
@ -3885,7 +3885,7 @@ void singe(SDL_Window *window, SDL_Renderer *renderer, ConfigT *conf) {
|
||||||
_global.mouseCount = ManyMouse_Init();
|
_global.mouseCount = ManyMouse_Init();
|
||||||
//utilSay("***DEBUG*** Mouse Driver: %s", ManyMouse_DriverName());
|
//utilSay("***DEBUG*** Mouse Driver: %s", ManyMouse_DriverName());
|
||||||
//utilSay("***DEBUG*** Mice Found: %d", _global.mouseCount);
|
//utilSay("***DEBUG*** Mice Found: %d", _global.mouseCount);
|
||||||
if ((_global.mouseCount < 1) || !_global.mouseEnabled) utilDie("No mice detected.");
|
if ((_global.mouseCount < 1) && _global.mouseEnabled) utilDie("No mice detected.");
|
||||||
if (_global.mouseCount > MAX_MICE) {
|
if (_global.mouseCount > MAX_MICE) {
|
||||||
_global.mouseCount = MAX_MICE;
|
_global.mouseCount = MAX_MICE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue