yuzu/src/input_common/sdl
Morph 2f852f182a sdl_impl: Fix controller reconnection issues
It turns out that after a controller is disconnected, there is a chance that events from the previous controller are sent/processed after it has been disconnected.
This causes the previously disconnected controller to reappear as connected due to GetSDLJoystickBySDLID() emplacing this controller back to the map.

Fix this by only returning an SDLJoystick if and only if it exists in the map.
2020-10-21 09:41:30 -04:00
..
sdl.cpp Input: Remove global variables from SDL Input 2019-03-02 19:09:34 +01:00
sdl.h Project Mjölnir: Part 1 2020-08-26 02:32:32 -04:00
sdl_impl.cpp sdl_impl: Fix controller reconnection issues 2020-10-21 09:41:30 -04:00
sdl_impl.h Add random motion input to SDL 2020-09-25 17:59:52 -05:00