There was an error fetching the commit references. Please try again later.
Input: Remove global variables from SDL Input
Changes the interface as well to remove any unique methods that frontends needed to call such as StartJoystickEventHandler by conditionally starting the polling thread only if the frontend hasn't started it already. Additionally, moves all global state into a single SDLState class in order to guarantee that the destructors are called in the proper order
Showing
- src/input_common/CMakeLists.txt 9 additions, 6 deletionssrc/input_common/CMakeLists.txt
- src/input_common/main.cpp 4 additions, 19 deletionssrc/input_common/main.cpp
- src/input_common/main.h 0 additions, 2 deletionssrc/input_common/main.h
- src/input_common/sdl/sdl.cpp 12 additions, 624 deletionssrc/input_common/sdl/sdl.cpp
- src/input_common/sdl/sdl.h 22 additions, 31 deletionssrc/input_common/sdl/sdl.h
- src/input_common/sdl/sdl_impl.cpp 108 additions, 85 deletionssrc/input_common/sdl/sdl_impl.cpp
- src/input_common/sdl/sdl_impl.h 46 additions, 33 deletionssrc/input_common/sdl/sdl_impl.h
- src/yuzu/bootmanager.cpp 0 additions, 1 deletionsrc/yuzu/bootmanager.cpp
- src/yuzu_cmd/emu_window/emu_window_sdl2.cpp 5 additions, 8 deletionssrc/yuzu_cmd/emu_window/emu_window_sdl2.cpp
Loading
Please register or sign in to comment