diff options
| author | 2023-05-06 22:26:53 -0700 | |
|---|---|---|
| committer | 2023-05-06 22:26:53 -0700 | |
| 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.gz yuzu-f36b5dfd18d6a010ecad4c5f395eb56baf8398c8.tar.xz yuzu-f36b5dfd18d6a010ecad4c5f395eb56baf8398c8.zip | |
Merge pull request #10180 from german77/debug
input_common: Revert debugging changes
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 | |||
| 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); |