Added gamepad configuration for custom configuration

This commit is contained in:
Vova
2025-02-07 21:48:51 +10:00
parent 7f4a161ca5
commit 3a8e6e3117
2 changed files with 14 additions and 3 deletions

View File

@@ -41,6 +41,7 @@ namespace Ryujinx.Ava.UI.Windows
viewModel.SelectedApplication.Icon);
ViewModel.CloseWindow += Close;
ViewModel.SaveSettingsEvent += SaveSettings;
InitializeComponent();
Load();
@@ -51,6 +52,11 @@ namespace Ryujinx.Ava.UI.Windows
}
public void SaveSettings()
{
InputPage.InputView?.SaveCurrentProfile();
}
private void Load()
{
@@ -67,9 +73,9 @@ namespace Ryujinx.Ava.UI.Windows
{
switch (navItem.Tag.ToString())
{
//case nameof(InputPage):
// NavPanel.Content = InputPage;
// break;
case nameof(InputPage):
NavPanel.Content = InputPage;
break;
case nameof(SystemPage):
SystemPage.ViewModel = ViewModel;
NavPanel.Content = SystemPage;