mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 00:08:27 -05:00
input_common: Pump sdl events from main thread
This commit is contained in:
@ -36,6 +36,8 @@ public:
|
||||
/// Unregisters SDL device factories and shut them down.
|
||||
~SDLDriver() override;
|
||||
|
||||
void PumpEvents() const;
|
||||
|
||||
/// Handle SDL_Events for joysticks from SDL_PollEvent
|
||||
void HandleGameControllerEvent(const SDL_Event& event);
|
||||
|
||||
@ -128,7 +130,6 @@ private:
|
||||
bool start_thread = false;
|
||||
std::atomic<bool> initialized = false;
|
||||
|
||||
std::thread poll_thread;
|
||||
std::thread vibration_thread;
|
||||
};
|
||||
} // namespace InputCommon
|
||||
|
Reference in New Issue
Block a user