Merge branch 'cursorhideidletimesetting' of https://github.com/ProfOzpin/Ryujinx into cursorhideidletimesetting

This commit is contained in:
ProfOzpin 2024-03-07 16:21:34 +04:00
commit 8edc800f70
3 changed files with 3 additions and 2 deletions

View file

@ -423,6 +423,7 @@ namespace Ryujinx.UI.Common.Configuration
/// </summary>
public ReactiveObject<List<InputConfig>> InputConfig { get; private set; }
public HidSection()
{
EnableKeyboard = new ReactiveObject<bool>();
@ -1545,7 +1546,7 @@ namespace Ryujinx.UI.Common.Configuration
Hid.EnableMouse.Value = configurationFileFormat.EnableMouse;
Hid.Hotkeys.Value = configurationFileFormat.Hotkeys;
Hid.InputConfig.Value = configurationFileFormat.InputConfig;
if (Hid.InputConfig.Value == null)
{
Hid.InputConfig.Value = new List<InputConfig>();

View file

@ -124,6 +124,7 @@ namespace Ryujinx.Ava
public bool ScreenshotRequested { get; set; }
public AppHost(
RendererHost renderer,
InputManager inputManager,
string applicationPath,

View file

@ -408,7 +408,6 @@ namespace Ryujinx.Ava.UI.ViewModels
ShowConfirmExit = config.ShowConfirmExit;
HideCursor = (int)config.HideCursor.Value;
CursorHideIdleTime = config.CursorHideIdleTime.Value;
GameDirectories.Clear();
GameDirectories.AddRange(config.UI.GameDirs.Value);