Extended hotkeys to player1-8 + h, localized the overlay

This commit is contained in:
Barış Hamil 2025-06-21 01:34:50 +03:00
parent 0afc910f39
commit 72752d2c4b
16 changed files with 338 additions and 79 deletions

View file

@ -1596,9 +1596,9 @@ namespace Ryujinx.Ava.UI.ViewModels
// Code where conditions will be executed after loading user configuration
if (ConfigurationState.Instance.Graphics.BackendThreading.Value.ToString() != backendThreadingInit)
{
Rebooter.RebootAppWithGame(application.Path,
Rebooter.RebootAppWithGame(application.Path,
[
"--bt",
"--bt",
ConfigurationState.Instance.Graphics.BackendThreading.Value.ToString()
]);
@ -1706,10 +1706,7 @@ namespace Ryujinx.Ava.UI.ViewModels
// Always show overlay - if no configs, it will show test data
int duration = ConfigurationState.Instance.ControllerOverlayGameStartDuration.Value;
// Show overlay through the GPU context window directly
if (AppHost?.Device?.Gpu?.Window != null)
{
AppHost.Device.Gpu.Window.ShowControllerBindings(inputConfigs, duration);
}
AppHost.ShowControllerOverlay(inputConfigs, duration);
}
catch (Exception ex)
{