mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-26 07:25:40 +01:00
2f852f182a
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. |
||
---|---|---|
.. | ||
gcadapter | ||
sdl | ||
udp | ||
analog_from_button.cpp | ||
analog_from_button.h | ||
CMakeLists.txt | ||
keyboard.cpp | ||
keyboard.h | ||
main.cpp | ||
main.h | ||
motion_emu.cpp | ||
motion_emu.h | ||
motion_from_button.cpp | ||
motion_from_button.h | ||
motion_input.cpp | ||
motion_input.h | ||
settings.cpp | ||
settings.h | ||
touch_from_button.cpp | ||
touch_from_button.h |