Преглед изворни кода

input_common: fix copy-paste error

Found by static analysis with PVS-Studio.
Valeri пре 4 година
родитељ
комит
a99f84f4b2
1 измењених фајлова са 1 додато и 1 уклоњено
  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); });
 }