mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Buildfix
This commit is contained in:
parent
d97e590aaf
commit
285b0ec0bb
@ -465,7 +465,7 @@ static int16_t libusb_hid_joypad_button(void *data,
|
||||
|
||||
/* Check hat. */
|
||||
if (GET_HAT_DIR(joykey))
|
||||
continue;
|
||||
return 0;
|
||||
else if (joykey < 32)
|
||||
return (BIT256_GET(buttons, joykey) != 0);
|
||||
return 0;
|
||||
|
@ -644,7 +644,7 @@ static void udev_joypad_get_buttons(unsigned port, input_bits_t *state)
|
||||
BIT256_CLEAR_ALL_PTR(state);
|
||||
}
|
||||
|
||||
static int16_t udev_joypad_axis(
|
||||
static int16_t udev_joypad_axis_state(
|
||||
const struct udev_joypad *pad,
|
||||
unsigned port, uint32_t joyaxis)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user