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. */
|
/* Check hat. */
|
||||||
if (GET_HAT_DIR(joykey))
|
if (GET_HAT_DIR(joykey))
|
||||||
continue;
|
return 0;
|
||||||
else if (joykey < 32)
|
else if (joykey < 32)
|
||||||
return (BIT256_GET(buttons, joykey) != 0);
|
return (BIT256_GET(buttons, joykey) != 0);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -644,7 +644,7 @@ static void udev_joypad_get_buttons(unsigned port, input_bits_t *state)
|
||||||
BIT256_CLEAR_ALL_PTR(state);
|
BIT256_CLEAR_ALL_PTR(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int16_t udev_joypad_axis(
|
static int16_t udev_joypad_axis_state(
|
||||||
const struct udev_joypad *pad,
|
const struct udev_joypad *pad,
|
||||||
unsigned port, uint32_t joyaxis)
|
unsigned port, uint32_t joyaxis)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue