From a99f84f4b2856869927479dc352caf6eb0fd50ff Mon Sep 17 00:00:00 2001
From: Valeri <v19930312@gmail.com>
Date: Mon, 17 Jan 2022 11:31:38 +0300
Subject: input_common: fix copy-paste error

Found by static analysis with PVS-Studio.
---
 src/input_common/drivers/mouse.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/input_common/drivers/mouse.cpp')

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); });
 }
 
-- 
cgit v1.2.3-70-g09d2