Explorar o código

input_common: fix copy-paste error

Found by static analysis with PVS-Studio.
Valeri %!s(int64=4) %!d(string=hai) anos
pai
achega
a99f84f4b2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/input_common/drivers/mouse.cpp

+ 1 - 1
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); });
 }