input_common: fix copy-paste error

Found by static analysis with PVS-Studio.
This commit is contained in:
Valeri 2022-01-17 11:31:38 +03:00 committed by GitHub
parent 480b03b645
commit a99f84f4b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ Mouse::Mouse(std::string input_engine_) : InputEngine(std::move(input_engine_))
PreSetAxis(identifier, wheel_axis_x); PreSetAxis(identifier, wheel_axis_x);
PreSetAxis(identifier, wheel_axis_y); PreSetAxis(identifier, wheel_axis_y);
PreSetAxis(identifier, touch_axis_x); 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); }); update_thread = std::jthread([this](std::stop_token stop_token) { UpdateThread(stop_token); });
} }