summaryrefslogtreecommitdiffstats
path: root/src/input_common/main.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-11-27 02:08:44 +0100
committergerman77 <juangerman-13@hotmail.com>2022-11-27 18:09:40 +0100
commit7d8095d944f4d3234b67fded9dba0a0ff61f6056 (patch)
tree462623cf46f3b48f72250cf5d23a7f55fb3877d7 /src/input_common/main.cpp
parentMerge pull request #9276 from goldenx86/fsrSlider (diff)
downloadyuzu-7d8095d944f4d3234b67fded9dba0a0ff61f6056.tar
yuzu-7d8095d944f4d3234b67fded9dba0a0ff61f6056.tar.gz
yuzu-7d8095d944f4d3234b67fded9dba0a0ff61f6056.tar.bz2
yuzu-7d8095d944f4d3234b67fded9dba0a0ff61f6056.tar.lz
yuzu-7d8095d944f4d3234b67fded9dba0a0ff61f6056.tar.xz
yuzu-7d8095d944f4d3234b67fded9dba0a0ff61f6056.tar.zst
yuzu-7d8095d944f4d3234b67fded9dba0a0ff61f6056.zip
Diffstat (limited to '')
-rw-r--r--src/input_common/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp
index b2064ef95..cd42344aa 100644
--- a/src/input_common/main.cpp
+++ b/src/input_common/main.cpp
@@ -324,6 +324,12 @@ struct InputSubsystem::Impl {
#endif
}
+ void PumpEvents() const {
+#ifdef HAVE_SDL2
+ sdl->PumpEvents();
+#endif
+ }
+
void RegisterInput(const MappingData& data) {
mapping_factory->RegisterInput(data);
}
@@ -472,6 +478,10 @@ void InputSubsystem::StopMapping() const {
impl->mapping_factory->StopMapping();
}
+void InputSubsystem::PumpEvents() const {
+ impl->PumpEvents();
+}
+
std::string GenerateKeyboardParam(int key_code) {
Common::ParamPackage param;
param.Set("engine", "keyboard");