mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Cleanups
This commit is contained in:
parent
c9f634e85d
commit
a48af59c92
@ -198,10 +198,6 @@ void menu_input_set_pointer_selection(unsigned selection);
|
||||
* calling populate entries) */
|
||||
void menu_input_set_pointer_y_accel(float y_accel);
|
||||
|
||||
/* Inhibits pointer 'select' and 'cancel' actions
|
||||
* (until the next time 'select'/'cancel' are released) */
|
||||
void menu_input_set_pointer_inhibit(bool inhibit);
|
||||
|
||||
RETRO_END_DECLS
|
||||
|
||||
#endif
|
||||
|
10
retroarch.c
10
retroarch.c
@ -2806,6 +2806,7 @@ static void menu_input_post_iterate(
|
||||
struct rarch_state *p_rarch,
|
||||
int *ret, unsigned action,
|
||||
retro_time_t current_time);
|
||||
static void menu_input_set_pointer_inhibit(bool inhibit);
|
||||
static void menu_input_reset(struct rarch_state *p_rarch);
|
||||
|
||||
/* TODO/FIXME - public global variables */
|
||||
@ -22585,11 +22586,9 @@ static void input_driver_poll(void)
|
||||
case RETRO_DEVICE_JOYPAD:
|
||||
case RETRO_DEVICE_ANALOG:
|
||||
BIT256_CLEAR_ALL_PTR(¤t_inputs);
|
||||
{
|
||||
unsigned k, j;
|
||||
|
||||
if (joypad_driver)
|
||||
{
|
||||
unsigned k, j;
|
||||
int16_t ret = p_rarch->current_input->input_state(
|
||||
p_rarch->current_input_data,
|
||||
&joypad_info[i],
|
||||
@ -22630,7 +22629,6 @@ static void input_driver_poll(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@ -24019,7 +24017,9 @@ void menu_input_set_pointer_y_accel(float y_accel)
|
||||
menu_input->pointer.y_accel = y_accel;
|
||||
}
|
||||
|
||||
void menu_input_set_pointer_inhibit(bool inhibit)
|
||||
/* Inhibits pointer 'select' and 'cancel' actions
|
||||
* (until the next time 'select'/'cancel' are released) */
|
||||
static void menu_input_set_pointer_inhibit(bool inhibit)
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
menu_input_t *menu_input = &p_rarch->menu_input_state;
|
||||
|
Loading…
x
Reference in New Issue
Block a user