mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Merge pull request #10027 from ToadKing/fix-mouse-capture
fix mouse capture hotkey not working
This commit is contained in:
commit
506b524db0
@ -14983,12 +14983,6 @@ static unsigned menu_event(
|
|||||||
ret = MENU_ACTION_TOGGLE;
|
ret = MENU_ACTION_TOGGLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (menu_keyboard_key_state[RETROK_F11])
|
|
||||||
{
|
|
||||||
command_event(CMD_EVENT_GRAB_MOUSE_TOGGLE, NULL);
|
|
||||||
menu_keyboard_key_state[RETROK_F11] = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Get pointer (mouse + touchscreen) input */
|
/* Get pointer (mouse + touchscreen) input */
|
||||||
|
|
||||||
/* > If pointer input is disabled, do nothing */
|
/* > If pointer input is disabled, do nothing */
|
||||||
|
Loading…
Reference in New Issue
Block a user