mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Buildfix
This commit is contained in:
parent
9c73d3305d
commit
a739003ad4
@ -327,7 +327,7 @@ static int16_t input_wl_state(void *data,
|
||||
? binds[port][id].joyaxis : joypad_info.auto_binds[id].joyaxis;
|
||||
if (joykey != NO_BTN && wl->joypad->button(joypad_info.joy_idx, joykey))
|
||||
ret = 1;
|
||||
else if (((float)abs(drv->axis(joypad_info.joy_idx, joyaxis)) / 0x8000) > joypad_info.axis_threshold)
|
||||
else if (((float)abs(wl->joypad->axis(joypad_info.joy_idx, joyaxis)) / 0x8000) > joypad_info.axis_threshold)
|
||||
ret = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user