summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-02-07 01:46:54 +0100
committergerman77 <juangerman-13@hotmail.com>2022-02-07 02:56:03 +0100
commit6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6 (patch)
tree22aba4c6a3a031eb66cae703ac8b640f1afef148 /src/input_common/drivers
parentMerge pull request #7847 from tech-ticks/master (diff)
downloadyuzu-6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6.tar
yuzu-6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6.tar.gz
yuzu-6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6.tar.bz2
yuzu-6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6.tar.lz
yuzu-6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6.tar.xz
yuzu-6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6.tar.zst
yuzu-6a4ab3e0d25dcc5b37cc146f99cf167dc4e8a6b6.zip
Diffstat (limited to 'src/input_common/drivers')
-rw-r--r--src/input_common/drivers/sdl_driver.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input_common/drivers/sdl_driver.cpp b/src/input_common/drivers/sdl_driver.cpp
index b031a8523..f54b91f9d 100644
--- a/src/input_common/drivers/sdl_driver.cpp
+++ b/src/input_common/drivers/sdl_driver.cpp
@@ -811,7 +811,7 @@ AnalogMapping SDLDriver::GetAnalogMappingForDevice(const Common::ParamPackage& p
PreSetAxis(identifier, binding_left_x.value.axis);
PreSetAxis(identifier, binding_left_y.value.axis);
const auto left_offset_x = -GetAxis(identifier, binding_left_x.value.axis);
- const auto left_offset_y = -GetAxis(identifier, binding_left_y.value.axis);
+ const auto left_offset_y = GetAxis(identifier, binding_left_y.value.axis);
mapping.insert_or_assign(Settings::NativeAnalog::LStick,
BuildParamPackageForAnalog(identifier, binding_left_x.value.axis,
binding_left_y.value.axis,
@@ -822,7 +822,7 @@ AnalogMapping SDLDriver::GetAnalogMappingForDevice(const Common::ParamPackage& p
PreSetAxis(identifier, binding_left_x.value.axis);
PreSetAxis(identifier, binding_left_y.value.axis);
const auto left_offset_x = -GetAxis(identifier, binding_left_x.value.axis);
- const auto left_offset_y = -GetAxis(identifier, binding_left_y.value.axis);
+ const auto left_offset_y = GetAxis(identifier, binding_left_y.value.axis);
mapping.insert_or_assign(Settings::NativeAnalog::LStick,
BuildParamPackageForAnalog(identifier, binding_left_x.value.axis,
binding_left_y.value.axis,
@@ -837,7 +837,7 @@ AnalogMapping SDLDriver::GetAnalogMappingForDevice(const Common::ParamPackage& p
PreSetAxis(identifier, binding_right_x.value.axis);
PreSetAxis(identifier, binding_right_y.value.axis);
const auto right_offset_x = -GetAxis(identifier, binding_right_x.value.axis);
- const auto right_offset_y = -GetAxis(identifier, binding_right_y.value.axis);
+ const auto right_offset_y = GetAxis(identifier, binding_right_y.value.axis);
mapping.insert_or_assign(Settings::NativeAnalog::RStick,
BuildParamPackageForAnalog(identifier, binding_right_x.value.axis,
binding_right_y.value.axis, right_offset_x,