mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Can now escape 'Help' message with the mouse by pressing right mouse
button
This commit is contained in:
parent
76407c9ef2
commit
fdcef6cfc2
@ -141,6 +141,7 @@ static int load_or_open_zip_iterate(unsigned action)
|
||||
|
||||
static int action_iterate_help(const char *label, unsigned action)
|
||||
{
|
||||
int ret;
|
||||
unsigned i;
|
||||
static const unsigned binds[] = {
|
||||
RETRO_DEVICE_ID_JOYPAD_UP,
|
||||
@ -203,6 +204,8 @@ static int action_iterate_help(const char *label, unsigned action)
|
||||
if (action == MENU_ACTION_OK)
|
||||
menu_list_pop(menu->menu_list->menu_stack, NULL);
|
||||
|
||||
menu_input_post_iterate(&ret, action);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -702,18 +702,6 @@ static int menu_input_pointer(unsigned *action)
|
||||
return 0;
|
||||
}
|
||||
|
||||
enum mouse_action
|
||||
{
|
||||
MOUSE_ACTION_NONE = 0,
|
||||
MOUSE_ACTION_BUTTON_L,
|
||||
MOUSE_ACTION_BUTTON_L_OK,
|
||||
MOUSE_ACTION_BUTTON_L_TOGGLE,
|
||||
MOUSE_ACTION_BUTTON_L_SET_NAVIGATION,
|
||||
MOUSE_ACTION_BUTTON_R,
|
||||
MOUSE_ACTION_WHEEL_UP,
|
||||
MOUSE_ACTION_WHEEL_DOWN,
|
||||
};
|
||||
|
||||
static int menu_input_mouse_frame(
|
||||
menu_file_list_cbs_t *cbs, menu_entry_t *entry,
|
||||
uint64_t input_mouse)
|
||||
|
@ -44,6 +44,18 @@ typedef enum
|
||||
MENU_ACTION_NOOP
|
||||
} menu_action_t;
|
||||
|
||||
enum mouse_action
|
||||
{
|
||||
MOUSE_ACTION_NONE = 0,
|
||||
MOUSE_ACTION_BUTTON_L,
|
||||
MOUSE_ACTION_BUTTON_L_OK,
|
||||
MOUSE_ACTION_BUTTON_L_TOGGLE,
|
||||
MOUSE_ACTION_BUTTON_L_SET_NAVIGATION,
|
||||
MOUSE_ACTION_BUTTON_R,
|
||||
MOUSE_ACTION_WHEEL_UP,
|
||||
MOUSE_ACTION_WHEEL_DOWN,
|
||||
};
|
||||
|
||||
enum menu_input_bind_mode
|
||||
{
|
||||
MENU_INPUT_BIND_NONE,
|
||||
|
Loading…
x
Reference in New Issue
Block a user