Revert "Disable keyboard controller input while swkbd is open (foreground) (#…" (#6805)

This reverts commit a3dc295c5f.
This commit is contained in:
gdkchan 2024-05-15 02:20:24 -03:00 committed by GitHub
parent 2ca0b17339
commit cdccf89e10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 2 additions and 23 deletions

View file

@ -81,11 +81,6 @@ namespace Ryujinx.Input.GTK3
return _pressedKeys.Contains(nativeKey);
}
public void Clear()
{
_pressedKeys.Clear();
}
public IGamepad GetGamepad(string id)
{
if (!_keyboardIdentifers[0].Equals(id))

View file

@ -107,8 +107,6 @@ namespace Ryujinx.UI.Applet
swkbdDialog.SetInputLengthValidation(args.StringLengthMin, args.StringLengthMax);
swkbdDialog.SetInputValidation(args.KeyboardMode);
((MainWindow)_parent).RendererWidget.NpadManager.BlockInputUpdates();
if (swkbdDialog.Run() == (int)ResponseType.Ok)
{
inputText = swkbdDialog.InputEntry.Text;
@ -130,7 +128,6 @@ namespace Ryujinx.UI.Applet
});
dialogCloseEvent.WaitOne();
((MainWindow)_parent).RendererWidget.NpadManager.UnblockInputUpdates();
userText = error ? null : inputText;