1
1
Fork 0
forked from suyu/suyu

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) {
value /= 2.0f;
value -= 0.5f;
{
std::scoped_lock lock{mutex};
ControllerData& controller = controller_list.at(identifier);