mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Fix mouse toggle
This commit is contained in:
parent
4e1365f94e
commit
e975658a5e
@ -712,7 +712,7 @@ static int menu_input_mouse_frame(
|
|||||||
|
|
||||||
if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L))
|
if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L))
|
||||||
{
|
{
|
||||||
if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L_TOGGLE) && menu->mouse.oldleft)
|
if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L_TOGGLE))
|
||||||
return cbs->action_toggle(entry->type, entry->label, MENU_ACTION_RIGHT, true);
|
return cbs->action_toggle(entry->type, entry->label, MENU_ACTION_RIGHT, true);
|
||||||
|
|
||||||
if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L_OK))
|
if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L_OK))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user