diff options
| author | 2022-02-09 17:52:39 -0700 | |
|---|---|---|
| committer | 2022-02-09 17:52:39 -0700 | |
| commit | fc01074f89f6b19060d4550282c0631cda0b7720 (patch) | |
| tree | b94e0c05d3c6e789ceb49fadc4e2a9bdc30eaa35 /src/input_common/input_poller.cpp | |
| parent | Merge pull request #7870 from yuzu-emu/fix-codememory-size (diff) | |
| parent | yuzu: Add auto center on right click (diff) | |
| download | yuzu-fc01074f89f6b19060d4550282c0631cda0b7720.tar.gz yuzu-fc01074f89f6b19060d4550282c0631cda0b7720.tar.xz yuzu-fc01074f89f6b19060d4550282c0631cda0b7720.zip | |
Merge pull request #7860 from german77/no-more-drift
yuzu: Add auto center on right click
Diffstat (limited to 'src/input_common/input_poller.cpp')
| -rw-r--r-- | src/input_common/input_poller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/input_poller.cpp b/src/input_common/input_poller.cpp index 2f3c0735a..7f3c08597 100644 --- a/src/input_common/input_poller.cpp +++ b/src/input_common/input_poller.cpp | |||
| @@ -181,7 +181,7 @@ public: | |||
| 181 | .raw_value = input_engine->GetAxis(identifier, axis_y), | 181 | .raw_value = input_engine->GetAxis(identifier, axis_y), |
| 182 | .properties = properties_y, | 182 | .properties = properties_y, |
| 183 | }; | 183 | }; |
| 184 | // This is a workaround too keep compatibility with old yuzu versions. Vertical axis is | 184 | // This is a workaround to keep compatibility with old yuzu versions. Vertical axis is |
| 185 | // inverted on SDL compared to Nintendo | 185 | // inverted on SDL compared to Nintendo |
| 186 | if (invert_axis_y) { | 186 | if (invert_axis_y) { |
| 187 | status.y.raw_value = -status.y.raw_value; | 187 | status.y.raw_value = -status.y.raw_value; |