mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 16:20:27 +00:00
Rename menu_input_frame_retropad to menu_event
This commit is contained in:
parent
528d5edad0
commit
de1c5ec8bd
@ -566,7 +566,7 @@ static unsigned menu_input_frame_pointer(unsigned *data)
|
||||
return ret;
|
||||
}
|
||||
|
||||
unsigned menu_input_frame_retropad(retro_input_t input,
|
||||
unsigned menu_event(retro_input_t input,
|
||||
retro_input_t trigger_input)
|
||||
{
|
||||
menu_animation_ctx_delta_t delta;
|
||||
|
@ -87,7 +87,14 @@ typedef struct menu_input_ctx_hitbox
|
||||
int32_t y2;
|
||||
} menu_input_ctx_hitbox_t;
|
||||
|
||||
unsigned menu_input_frame_retropad(retro_input_t input, retro_input_t trigger_state);
|
||||
/* Send input code to menu for one frame.
|
||||
*
|
||||
* TODO/FIXME - needs to be overhauled so we can send multiple
|
||||
* events per frame if we want to, and we shouldn't send the
|
||||
* entire button state either but do a separate event per button
|
||||
* state.
|
||||
*/
|
||||
unsigned menu_event(retro_input_t input, retro_input_t trigger_state);
|
||||
|
||||
void menu_input_post_iterate(int *ret, unsigned action);
|
||||
|
||||
|
@ -1553,7 +1553,7 @@ int runloop_iterate(unsigned *sleep_ms)
|
||||
if (menu_driver_ctl(RARCH_MENU_CTL_IS_ALIVE, NULL))
|
||||
{
|
||||
int ret = runloop_iterate_menu((enum menu_action)
|
||||
menu_input_frame_retropad(cmd.state[0], cmd.state[2]),
|
||||
menu_event(cmd.state[0], cmd.state[2]),
|
||||
sleep_ms);
|
||||
|
||||
if (ret == -1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user