Merge pull request #10180 from german77/debug

input_common: Revert debugging changes
This commit is contained in:
bunnei 2023-05-06 22:26:53 -07:00 committed by GitHub
commit f36b5dfd18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,8 +58,6 @@ void InputEngine::SetHatButton(const PadIdentifier& identifier, int button, u8 v
} }
void InputEngine::SetAxis(const PadIdentifier& identifier, int axis, f32 value) { void InputEngine::SetAxis(const PadIdentifier& identifier, int axis, f32 value) {
value /= 2.0f;
value -= 0.5f;
{ {
std::scoped_lock lock{mutex}; std::scoped_lock lock{mutex};
ControllerData& controller = controller_list.at(identifier); ControllerData& controller = controller_list.at(identifier);