mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 16:32:39 +00:00
Fix merge
This commit is contained in:
parent
727c8261e2
commit
926d77072e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user