diff options
author | bunnei <bunneidev@gmail.com> | 2023-05-07 07:26:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-07 07:26:53 +0200 |
commit | f36b5dfd18d6a010ecad4c5f395eb56baf8398c8 (patch) | |
tree | 018b562ff3b3b8f5b20c62b99fd7fc07c04a5da6 /src/input_common | |
parent | Merge pull request #10125 from lat9nq/vsync-select (diff) | |
parent | input_common: Revert debugging changes (diff) | |
download | yuzu-f36b5dfd18d6a010ecad4c5f395eb56baf8398c8.tar yuzu-f36b5dfd18d6a010ecad4c5f395eb56baf8398c8.tar.gz yuzu-f36b5dfd18d6a010ecad4c5f395eb56baf8398c8.tar.bz2 yuzu-f36b5dfd18d6a010ecad4c5f395eb56baf8398c8.tar.lz yuzu-f36b5dfd18d6a010ecad4c5f395eb56baf8398c8.tar.xz yuzu-f36b5dfd18d6a010ecad4c5f395eb56baf8398c8.tar.zst yuzu-f36b5dfd18d6a010ecad4c5f395eb56baf8398c8.zip |
Diffstat (limited to 'src/input_common')
-rw-r--r-- | src/input_common/input_engine.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/input_common/input_engine.cpp b/src/input_common/input_engine.cpp index 49f5e7f54..91aa96aa7 100644 --- a/src/input_common/input_engine.cpp +++ b/src/input_common/input_engine.cpp @@ -58,8 +58,6 @@ void InputEngine::SetHatButton(const PadIdentifier& identifier, int button, u8 v } void InputEngine::SetAxis(const PadIdentifier& identifier, int axis, f32 value) { - value /= 2.0f; - value -= 0.5f; { std::scoped_lock lock{mutex}; ControllerData& controller = controller_list.at(identifier); |