yuzu/src/input_common/sdl
Morph 7b3f5845d2 sdl_impl: Erase the SDLJoystick entry after removing a controller
Previously, disconnecting a controller still leaves a null SDLJoystick entry within the vector of SDLJoysticks mapped by GUID.
When a DirectInput device of the same GUID is reconnected, it adds that device to a new port causing non-detectable input.
Furthermore, opening the "Configure" menu would cause yuzu to crash since it first tries to resolve the name of a null SDLJoystick entry that was not removed.
Resolve this by properly erasing the SDLJoystick entry from the vector.
2020-10-16 00:04:59 -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: Erase the SDLJoystick entry after removing a controller 2020-10-16 00:04:59 -04:00
sdl_impl.h Add random motion input to SDL 2020-09-25 17:59:52 -05:00