summaryrefslogtreecommitdiff
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
commit7d8095d944f4d3234b67fded9dba0a0ff61f6056 (patch)
tree462623cf46f3b48f72250cf5d23a7f55fb3877d7 /src/input_common/main.h
parent3ab8d9ac7c1fac58de314265f8936336d1f7d829 (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 ced252383..6218c37f6 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;