Revert "Disable keyboard controller input while swkbd is open (foreground) (#…" (#6805)
This reverts commit a3dc295c5f
.
This commit is contained in:
parent
2ca0b17339
commit
cdccf89e10
7 changed files with 2 additions and 23 deletions
|
@ -195,7 +195,7 @@ namespace Ryujinx.Ava.Input
|
|||
|
||||
public void Clear()
|
||||
{
|
||||
_driver?.Clear();
|
||||
_driver?.ResetKeys();
|
||||
}
|
||||
|
||||
public void Dispose() { }
|
||||
|
|
|
@ -94,7 +94,7 @@ namespace Ryujinx.Ava.Input
|
|||
return _pressedKeys.Contains(nativeKey);
|
||||
}
|
||||
|
||||
public void Clear()
|
||||
public void ResetKeys()
|
||||
{
|
||||
_pressedKeys.Clear();
|
||||
}
|
||||
|
|
|
@ -122,7 +122,6 @@ namespace Ryujinx.Ava.UI.Applet
|
|||
{
|
||||
try
|
||||
{
|
||||
_parent.ViewModel.AppHost.NpadManager.BlockInputUpdates();
|
||||
var response = await SwkbdAppletDialog.ShowInputDialog(LocaleManager.Instance[LocaleKeys.SoftwareKeyboard], args);
|
||||
|
||||
if (response.Result == UserResult.Ok)
|
||||
|
@ -144,7 +143,6 @@ namespace Ryujinx.Ava.UI.Applet
|
|||
});
|
||||
|
||||
dialogCloseEvent.WaitOne();
|
||||
_parent.ViewModel.AppHost.NpadManager.UnblockInputUpdates();
|
||||
|
||||
userText = error ? null : inputText;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue