summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-05-07 07:06:44 +0200
committergerman77 <juangerman-13@hotmail.com>2023-05-07 07:06:44 +0200
commit91695a453b796b720b8031f7a3addeed44be9af0 (patch)
tree7be3cf457f9858752bc04655d0d5e70f285e19fe /src
parentMerge pull request #10162 from lat9nq/sdl-remove-old (diff)
downloadyuzu-91695a453b796b720b8031f7a3addeed44be9af0.tar
yuzu-91695a453b796b720b8031f7a3addeed44be9af0.tar.gz
yuzu-91695a453b796b720b8031f7a3addeed44be9af0.tar.bz2
yuzu-91695a453b796b720b8031f7a3addeed44be9af0.tar.lz
yuzu-91695a453b796b720b8031f7a3addeed44be9af0.tar.xz
yuzu-91695a453b796b720b8031f7a3addeed44be9af0.tar.zst
yuzu-91695a453b796b720b8031f7a3addeed44be9af0.zip
Diffstat (limited to 'src')
-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);