diff options
| author | 2022-11-26 19:08:44 -0600 | |
|---|---|---|
| committer | 2022-11-27 11:09:40 -0600 | |
| commit | 7d8095d944f4d3234b67fded9dba0a0ff61f6056 (patch) | |
| tree | 462623cf46f3b48f72250cf5d23a7f55fb3877d7 /src/input_common/main.h | |
| parent | Merge pull request #9276 from goldenx86/fsrSlider (diff) | |
| download | yuzu-7d8095d944f4d3234b67fded9dba0a0ff61f6056.tar.gz yuzu-7d8095d944f4d3234b67fded9dba0a0ff61f6056.tar.xz yuzu-7d8095d944f4d3234b67fded9dba0a0ff61f6056.zip | |
input_common: Pump sdl events from main thread
Diffstat (limited to 'src/input_common/main.h')
| -rw-r--r-- | src/input_common/main.h | 3 |
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: | |||
| 147 | /// Stop polling from all backends. | 147 | /// Stop polling from all backends. |
| 148 | void StopMapping() const; | 148 | void StopMapping() const; |
| 149 | 149 | ||
| 150 | /// Signals SDL driver for new input events | ||
| 151 | void PumpEvents() const; | ||
| 152 | |||
| 150 | private: | 153 | private: |
| 151 | struct Impl; | 154 | struct Impl; |
| 152 | std::unique_ptr<Impl> impl; | 155 | std::unique_ptr<Impl> impl; |