aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValeri <v19930312@gmail.com>2022-01-17 11:31:38 +0300
committerGitHub <noreply@github.com>2022-01-17 11:31:38 +0300
commita99f84f4b2856869927479dc352caf6eb0fd50ff (patch)
treeb1e5d11c091c7e2a001e2a57c33d841c0afd5acc
parent480b03b6456b2fef81226c449493f6425e5137da (diff)
input_common: fix copy-paste error
Found by static analysis with PVS-Studio.
-rw-r--r--src/input_common/drivers/mouse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/drivers/mouse.cpp b/src/input_common/drivers/mouse.cpp
index aa69216c8d..ac61591b06 100644
--- a/src/input_common/drivers/mouse.cpp
+++ b/src/input_common/drivers/mouse.cpp
@@ -31,7 +31,7 @@ Mouse::Mouse(std::string input_engine_) : InputEngine(std::move(input_engine_))
PreSetAxis(identifier, wheel_axis_x);
PreSetAxis(identifier, wheel_axis_y);
PreSetAxis(identifier, touch_axis_x);
- PreSetAxis(identifier, touch_axis_x);
+ PreSetAxis(identifier, touch_axis_y);
update_thread = std::jthread([this](std::stop_token stop_token) { UpdateThread(stop_token); });
}