diff options
| -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: | |||
| 191 | 191 | ||
| 192 | bool GetAnalogDirectionStatus(Input::AnalogDirection direction) const override { | 192 | bool GetAnalogDirectionStatus(Input::AnalogDirection direction) const override { |
| 193 | const auto [x, y] = GetStatus(); | 193 | const auto [x, y] = GetStatus(); |
| 194 | const float directional_deadzone = 0.4f; | 194 | const float directional_deadzone = 0.5f; |
| 195 | switch (direction) { | 195 | switch (direction) { |
| 196 | case Input::AnalogDirection::RIGHT: | 196 | case Input::AnalogDirection::RIGHT: |
| 197 | return x > directional_deadzone; | 197 | 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: | |||
| 363 | 363 | ||
| 364 | bool GetAnalogDirectionStatus(Input::AnalogDirection direction) const override { | 364 | bool GetAnalogDirectionStatus(Input::AnalogDirection direction) const override { |
| 365 | const auto [x, y] = GetStatus(); | 365 | const auto [x, y] = GetStatus(); |
| 366 | const float directional_deadzone = 0.4f; | 366 | const float directional_deadzone = 0.5f; |
| 367 | switch (direction) { | 367 | switch (direction) { |
| 368 | case Input::AnalogDirection::RIGHT: | 368 | case Input::AnalogDirection::RIGHT: |
| 369 | return x > directional_deadzone; | 369 | return x > directional_deadzone; |