Disable keyboard controller input while swkbd is open (foreground) (#6646)

* Block input updates while swkbd is open in foreground mode

* Flush internal driver state before unblocking input updates

* Rename Flush to Clear and remove unnecessary attribute
This commit is contained in:
TSRBerry
2024-05-14 17:14:39 +02:00
committed by GitHub
parent 2ef4f92b07
commit a3dc295c5f
7 changed files with 23 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ namespace Ryujinx.Ava.Input
return _pressedKeys.Contains(nativeKey);
}
public void ResetKeys()
public void Clear()
{
_pressedKeys.Clear();
}