diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-08-19 10:17:38 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-08-26 08:32:32 +0200 |
commit | de79897f042aa7d3cacf8579078195cca559f62f (patch) | |
tree | 03675441de49990f9f5c0f8b935670d9da89c087 | |
parent | Address feedback (diff) | |
download | yuzu-de79897f042aa7d3cacf8579078195cca559f62f.tar yuzu-de79897f042aa7d3cacf8579078195cca559f62f.tar.gz yuzu-de79897f042aa7d3cacf8579078195cca559f62f.tar.bz2 yuzu-de79897f042aa7d3cacf8579078195cca559f62f.tar.lz yuzu-de79897f042aa7d3cacf8579078195cca559f62f.tar.xz yuzu-de79897f042aa7d3cacf8579078195cca559f62f.tar.zst yuzu-de79897f042aa7d3cacf8579078195cca559f62f.zip |
-rw-r--r-- | src/input_common/gcadapter/gc_poller.cpp | 2 | ||||
-rw-r--r-- | src/input_common/sdl/sdl_impl.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/input_common/gcadapter/gc_poller.cpp b/src/input_common/gcadapter/gc_poller.cpp index 85342bbe7..71cd85eeb 100644 --- a/src/input_common/gcadapter/gc_poller.cpp +++ b/src/input_common/gcadapter/gc_poller.cpp @@ -191,7 +191,7 @@ public: bool GetAnalogDirectionStatus(Input::AnalogDirection direction) const override { const auto [x, y] = GetStatus(); - const float directional_deadzone = 0.4f; + const float directional_deadzone = 0.5f; switch (direction) { case Input::AnalogDirection::RIGHT: return x > directional_deadzone; diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp index dec7540e2..7605c884d 100644 --- a/src/input_common/sdl/sdl_impl.cpp +++ b/src/input_common/sdl/sdl_impl.cpp @@ -363,7 +363,7 @@ public: bool GetAnalogDirectionStatus(Input::AnalogDirection direction) const override { const auto [x, y] = GetStatus(); - const float directional_deadzone = 0.4f; + const float directional_deadzone = 0.5f; switch (direction) { case Input::AnalogDirection::RIGHT: return x > directional_deadzone; |