Fix merge

This commit is contained in:
kalaposfos13 2025-02-05 17:59:39 +01:00
parent 727c8261e2
commit 926d77072e

View File

@ -464,7 +464,7 @@ void ControllerOutput::AddUpdate(InputEvent event) {
}
} else if (axis != SDL_GAMEPAD_AXIS_INVALID) {
auto ApplyDeadzone = [](s16* value, std::pair<int, int> deadzone) {
auto ApplyDeadzone = [](s8* value, std::pair<int, int> deadzone) {
if (std::abs(*value) <= deadzone.first || deadzone.first == deadzone.second) {
*value = 0;
} else {