mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-24 12:26:26 -05:00
8b98f60e3c
Any SDL invocation can call the even callback on the same thread, which can call GetSDLJoystickBySDLID and eventually cause double lock on joystick_map_mutex. To avoid this, lock guard should be placed as closer as possible to the object accessing code, so that any SDL invocation is with the mutex unlocked |
||
---|---|---|
.. | ||
sdl | ||
analog_from_button.cpp | ||
analog_from_button.h | ||
CMakeLists.txt | ||
keyboard.cpp | ||
keyboard.h | ||
main.cpp | ||
main.h | ||
motion_emu.cpp | ||
motion_emu.h |