input_common: Pump sdl events from main thread

This commit is contained in:
german77 2022-11-26 19:08:44 -06:00
parent 3ab8d9ac7c
commit 7d8095d944
6 changed files with 35 additions and 10 deletions

View file

@ -147,6 +147,9 @@ public:
/// Stop polling from all backends.
void StopMapping() const;
/// Signals SDL driver for new input events
void PumpEvents() const;
private:
struct Impl;
std::unique_ptr<Impl> impl;