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.Input | |
| parent | 2ca0b17339ada361e5f8edbf1f8dfab741e496f5 (diff) | |
Revert "Disable keyboard controller input while swkbd is open (foreground) (#…" (#6805)
This reverts commit a3dc295c5f867bddb56a38f3a848ceb61ff30d32.
Diffstat (limited to 'src/Ryujinx.Input')
| -rw-r--r-- | src/Ryujinx.Input/HLE/NpadManager.cs | 5 | ||||
| -rw-r--r-- | src/Ryujinx.Input/IGamepadDriver.cs | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/Ryujinx.Input/HLE/NpadManager.cs b/src/Ryujinx.Input/HLE/NpadManager.cs index 2409ecf2..4c7bb8b7 100644 --- a/src/Ryujinx.Input/HLE/NpadManager.cs +++ b/src/Ryujinx.Input/HLE/NpadManager.cs @@ -174,11 +174,6 @@ namespace Ryujinx.Input.HLE { lock (_lock) { - foreach (InputConfig inputConfig in _inputConfig) - { - _controllers[(int)inputConfig.PlayerIndex].GamepadDriver.Clear(); - } - _blockInputUpdates = false; } } diff --git a/src/Ryujinx.Input/IGamepadDriver.cs b/src/Ryujinx.Input/IGamepadDriver.cs index ff4d3699..67b01c26 100644 --- a/src/Ryujinx.Input/IGamepadDriver.cs +++ b/src/Ryujinx.Input/IGamepadDriver.cs @@ -33,11 +33,5 @@ namespace Ryujinx.Input /// <param name="id">The unique id of the gamepad</param> /// <returns>An instance of <see cref="IGamepad"/> associated to the gamepad id given or null if not found</returns> IGamepad GetGamepad(string id); - - /// <summary> - /// Flush the internal state of the driver. - /// </summary> - /// <remarks>Does nothing by default.</remarks> - void Clear() { } } } |
