mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-03 00:28:27 +00:00
(udev_joypad_hat) Cleanup
This commit is contained in:
parent
894076f52d
commit
498d43960d
@ -576,9 +576,9 @@ static bool udev_joypad_hat(const struct udev_joypad *pad, uint16_t hat)
|
||||
return pad->hats[h][1] < 0;
|
||||
case HAT_DOWN_MASK:
|
||||
return pad->hats[h][1] > 0;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static bool udev_joypad_button(unsigned port, uint16_t joykey)
|
||||
|
Loading…
Reference in New Issue
Block a user