Added gamepad configuration for custom configuration
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user