diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2024-05-15 02:20:24 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-15 02:20:24 -0300 |
| commit | cdccf89e103694dcad3833d900b7858a49dae1ec (patch) | |
| tree | 81de37114b508c081b7e50893ee670404cb04533 /src/Ryujinx.Gtk3 | |
| parent | 2ca0b17339ada361e5f8edbf1f8dfab741e496f5 (diff) | |
Revert "Disable keyboard controller input while swkbd is open (foreground) (#…" (#6805)
This reverts commit a3dc295c5f867bddb56a38f3a848ceb61ff30d32.
Diffstat (limited to 'src/Ryujinx.Gtk3')
| -rw-r--r-- | src/Ryujinx.Gtk3/Input/GTK3/GTK3KeyboardDriver.cs | 5 | ||||
| -rw-r--r-- | src/Ryujinx.Gtk3/UI/Applet/GtkHostUIHandler.cs | 3 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/Ryujinx.Gtk3/Input/GTK3/GTK3KeyboardDriver.cs b/src/Ryujinx.Gtk3/Input/GTK3/GTK3KeyboardDriver.cs index bd71c793..e502254b 100644 --- a/src/Ryujinx.Gtk3/Input/GTK3/GTK3KeyboardDriver.cs +++ b/src/Ryujinx.Gtk3/Input/GTK3/GTK3KeyboardDriver.cs @@ -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)) diff --git a/src/Ryujinx.Gtk3/UI/Applet/GtkHostUIHandler.cs b/src/Ryujinx.Gtk3/UI/Applet/GtkHostUIHandler.cs index b3f509a0..1d918d21 100644 --- a/src/Ryujinx.Gtk3/UI/Applet/GtkHostUIHandler.cs +++ b/src/Ryujinx.Gtk3/UI/Applet/GtkHostUIHandler.cs @@ -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; |
