mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Update udev_joypad.c
This commit is contained in:
parent
08ad00f5d3
commit
f8d6cea02a
@ -616,7 +616,7 @@ static int16_t udev_joypad_button(unsigned port, uint16_t joykey)
|
||||
break;
|
||||
case HAT_RIGHT_MASK:
|
||||
if (pad->hats[h][0] > 0)
|
||||
ret |= (1 << i):
|
||||
ret |= (1 << i);
|
||||
break;
|
||||
case HAT_UP_MASK:
|
||||
if (pad->hats[h][1] < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user