diff options
| author | 2022-02-06 18:46:54 -0600 | |
|---|---|---|
| committer | 2022-02-06 19:56:03 -0600 | |
| commit | 6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6 (patch) | |
| tree | 22aba4c6a3a031eb66cae703ac8b640f1afef148 /src/input_common/input_poller.cpp | |
| parent | Merge pull request #7847 from tech-ticks/master (diff) | |
| download | yuzu-6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6.tar.gz yuzu-6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6.tar.xz yuzu-6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6.zip | |
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; |