Input Mapping Simplification

This commit is contained in:
_Neo_
2025-11-10 15:13:19 +02:00
parent d7e2d4534a
commit 557e0769dc
3 changed files with 1180 additions and 1510 deletions

View File

@@ -82,13 +82,7 @@ namespace Ryujinx.Ava.UI.Helpers
_isWaitingForInput = false;
ToggledButton.IsChecked = false;
if (pressedButton.HasValue && pressedButton.Value.AsHidType<Key>() == Key.BackSpace)
{
ButtonAssigned?.Invoke(this, new ButtonAssignedEventArgs(ToggledButton, new Button(Key.Unbound)));
return;
}
ButtonAssigned?.Invoke(this, new ButtonAssignedEventArgs(ToggledButton, pressedButton));
});
}