diff options
| author | 2023-05-06 23:06:44 -0600 | |
|---|---|---|
| committer | 2023-05-06 23:06:44 -0600 | |
| commit | 91695a453b796b720b8031f7a3addeed44be9af0 (patch) | |
| tree | 7be3cf457f9858752bc04655d0d5e70f285e19fe /src/input_common/input_engine.cpp | |
| parent | Merge pull request #10162 from lat9nq/sdl-remove-old (diff) | |
| download | yuzu-91695a453b796b720b8031f7a3addeed44be9af0.tar.gz yuzu-91695a453b796b720b8031f7a3addeed44be9af0.tar.xz yuzu-91695a453b796b720b8031f7a3addeed44be9af0.zip | |
input_common: Revert debugging changes
Diffstat (limited to 'src/input_common/input_engine.cpp')
| -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 | |||
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | void InputEngine::SetAxis(const PadIdentifier& identifier, int axis, f32 value) { | 60 | void InputEngine::SetAxis(const PadIdentifier& identifier, int axis, f32 value) { |
| 61 | value /= 2.0f; | ||
| 62 | value -= 0.5f; | ||
| 63 | { | 61 | { |
| 64 | std::scoped_lock lock{mutex}; | 62 | std::scoped_lock lock{mutex}; |
| 65 | ControllerData& controller = controller_list.at(identifier); | 63 | ControllerData& controller = controller_list.at(identifier); |