mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 18:58:21 +00:00
Fix MOUSE_ACTION_BUTTON_L_TOGGLE
This commit is contained in:
parent
509f2267c7
commit
79612b2d8c
@ -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))
|
if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L_TOGGLE) && menu->mouse.oldleft)
|
||||||
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…
Reference in New Issue
Block a user