summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-29 03:04:14 +0200
committerLioncash <mathew1800@gmail.com>2020-08-29 03:04:18 +0200
commit2e2dde2f956cecfee8413b8ae43f31f13ac8e681 (patch)
treec7771919ab4ad97597eeb2fc92f87a3cb69fcf97
parentsdl_impl: Mark FromEvent() as a const member function (diff)
downloadyuzu-2e2dde2f956cecfee8413b8ae43f31f13ac8e681.tar
yuzu-2e2dde2f956cecfee8413b8ae43f31f13ac8e681.tar.gz
yuzu-2e2dde2f956cecfee8413b8ae43f31f13ac8e681.tar.bz2
yuzu-2e2dde2f956cecfee8413b8ae43f31f13ac8e681.tar.lz
yuzu-2e2dde2f956cecfee8413b8ae43f31f13ac8e681.tar.xz
yuzu-2e2dde2f956cecfee8413b8ae43f31f13ac8e681.tar.zst
yuzu-2e2dde2f956cecfee8413b8ae43f31f13ac8e681.zip
-rw-r--r--src/input_common/sdl/sdl_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp
index 43fac7650..cb2cdf96f 100644
--- a/src/input_common/sdl/sdl_impl.cpp
+++ b/src/input_common/sdl/sdl_impl.cpp
@@ -358,7 +358,7 @@ public:
return std::make_tuple(x / r * (r - deadzone) / (1 - deadzone),
y / r * (r - deadzone) / (1 - deadzone));
}
- return std::make_tuple<float, float>(0.0f, 0.0f);
+ return {};
}
bool GetAnalogDirectionStatus(Input::AnalogDirection direction) const override {