mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(dinput_joypad.c) Cleanups
This commit is contained in:
parent
0dcbb985be
commit
c55aefef1e
@ -526,9 +526,9 @@ static int16_t dinput_joypad_axis(unsigned port_num, uint32_t joyaxis)
|
||||
}
|
||||
|
||||
if (is_neg && val > 0)
|
||||
val = 0;
|
||||
return 0;
|
||||
else if (is_pos && val < 0)
|
||||
val = 0;
|
||||
return 0;
|
||||
|
||||
return val;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user