SDL: Preferred joysticks override claimed joysticks
Vicki Pfau vi@endrift.com
Sun, 02 Jul 2017 17:08:23 -0700
1 files changed,
1 insertions(+),
4 deletions(-)
jump to
M
src/platform/sdl/sdl-events.c
→
src/platform/sdl/sdl-events.c
@@ -189,11 +189,8 @@ claimed = true;
break; } } - if (claimed) { - continue; - } - if (firstUnclaimed == SIZE_MAX) { + if (!claimed && firstUnclaimed == SIZE_MAX) { firstUnclaimed = i; }