aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/main.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-11-26 19:08:44 -0600
committergerman77 <juangerman-13@hotmail.com>2022-11-27 11:09:40 -0600
commitcddbfe5e6769a16d57b0db135b611bf4405d1b32 (patch)
tree462623cf46f3b48f72250cf5d23a7f55fb3877d7 /src/input_common/main.h
parent0e8043fc245c59380fe3da0ff8fa00a890c0c0c5 (diff)
input_common: Pump sdl events from main thread
Diffstat (limited to 'src/input_common/main.h')
-rw-r--r--src/input_common/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h
index ced2523839..6218c37f64 100644
--- a/src/input_common/main.h
+++ b/src/input_common/main.h
@@ -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;