diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-04-27 01:19:17 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-04-27 02:03:54 +0200 |
commit | d2388a2ca82ec2e45f6459726dc79760dc06bdd2 (patch) | |
tree | fb7fd5bbda9ae834e1061cc90d84ed7553c7ce67 /src/input_common | |
parent | Merge pull request #8262 from Morph1984/conan (diff) | |
download | yuzu-d2388a2ca82ec2e45f6459726dc79760dc06bdd2.tar yuzu-d2388a2ca82ec2e45f6459726dc79760dc06bdd2.tar.gz yuzu-d2388a2ca82ec2e45f6459726dc79760dc06bdd2.tar.bz2 yuzu-d2388a2ca82ec2e45f6459726dc79760dc06bdd2.tar.lz yuzu-d2388a2ca82ec2e45f6459726dc79760dc06bdd2.tar.xz yuzu-d2388a2ca82ec2e45f6459726dc79760dc06bdd2.tar.zst yuzu-d2388a2ca82ec2e45f6459726dc79760dc06bdd2.zip |
Diffstat (limited to 'src/input_common')
-rw-r--r-- | src/input_common/input_poller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/input_poller.cpp b/src/input_common/input_poller.cpp index 99d6c3cd6..49ccb4422 100644 --- a/src/input_common/input_poller.cpp +++ b/src/input_common/input_poller.cpp @@ -732,7 +732,7 @@ std::unique_ptr<Common::Input::InputDevice> InputFactory::CreateHatButtonDevice( std::unique_ptr<Common::Input::InputDevice> InputFactory::CreateStickDevice( const Common::ParamPackage& params) { const auto deadzone = std::clamp(params.Get("deadzone", 0.15f), 0.0f, 1.0f); - const auto range = std::clamp(params.Get("range", 1.0f), 0.25f, 1.50f); + const auto range = std::clamp(params.Get("range", 0.95f), 0.25f, 1.50f); const auto threshold = std::clamp(params.Get("threshold", 0.5f), 0.0f, 1.0f); const PadIdentifier identifier = { .guid = Common::UUID{params.Get("guid", "")}, |