Check all individual buttons with input key priority

- closes #3842

If any of the pressed buttons is an input, don't trigger any hotkeys.
This commit is contained in:
Morilli 2024-08-22 13:32:30 +02:00
parent f07c689c58
commit 17733e38f7
1 changed files with 2 additions and 1 deletions

View File

@ -1200,7 +1200,8 @@ namespace BizHawk.Client.EmuHawk
break;
case 1: // Input overrides Hotkeys
finalHostController.Receive(ie);
if (!activeControllerHasBinding(ie.LogicalButton.ToString()))
// don't check hotkeys when any of the pressed keys are input
if (!ie.LogicalButton.ToString().Split('+').Any(activeControllerHasBinding))
{
handled = false;
if (ie.EventType is InputEventType.Press)