summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-05-07 07:26:53 +0200
committerGitHub <noreply@github.com>2023-05-07 07:26:53 +0200
commitf36b5dfd18d6a010ecad4c5f395eb56baf8398c8 (patch)
tree018b562ff3b3b8f5b20c62b99fd7fc07c04a5da6
parentMerge pull request #10125 from lat9nq/vsync-select (diff)
parentinput_common: Revert debugging changes (diff)
downloadyuzu-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 '')
-rw-r--r--src/input_common/input_engine.cpp2
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);