aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Configuration/ConfigurationFileFormat.cs
diff options
context:
space:
mode:
authorpineappleEA <67879877+pineappleEA@users.noreply.github.com>2021-02-15 23:48:21 +0200
committerGitHub <noreply@github.com>2021-02-15 22:48:21 +0100
commit6f1d9648016c9442f6dcdac257f28c1a7a19aca0 (patch)
tree2ce859f6632afcdcada5c7a67d3b31e32fc959ad /Ryujinx.Common/Configuration/ConfigurationFileFormat.cs
parent80ed8596c165127fb52026c697a9b6b515dabbd4 (diff)
Hide Cursor On Idle (#1993)
* Implement "Hide Cursor On Idle" option Adds a general option to autohide the cursor after 8s have elapsed. * Fix cursor not hiding on Windows and dispose it * Don't dispose cursor, fix var names * Abide by the GNOME documentation * Fix nits * Disabled by default, make it so it doesn't utilize any timer * Remove *NIX time and extra lines * Don't calculate if option is disabled * Move if case * Fix alignment
Diffstat (limited to 'Ryujinx.Common/Configuration/ConfigurationFileFormat.cs')
-rw-r--r--Ryujinx.Common/Configuration/ConfigurationFileFormat.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/Ryujinx.Common/Configuration/ConfigurationFileFormat.cs b/Ryujinx.Common/Configuration/ConfigurationFileFormat.cs
index 79993d87..901c823e 100644
--- a/Ryujinx.Common/Configuration/ConfigurationFileFormat.cs
+++ b/Ryujinx.Common/Configuration/ConfigurationFileFormat.cs
@@ -14,7 +14,7 @@ namespace Ryujinx.Configuration
/// <summary>
/// The current version of the file format
/// </summary>
- public const int CurrentVersion = 20;
+ public const int CurrentVersion = 22;
public int Version { get; set; }
@@ -134,6 +134,11 @@ namespace Ryujinx.Configuration
public bool ShowConfirmExit { get; set; }
/// <summary>
+ /// Hide Cursor on Idle
+ /// </summary>
+ public bool HideCursorOnIdle { get; set; }
+
+ /// <summary>
/// Enables or disables Vertical Sync
/// </summary>
public bool EnableVsync { get; set; }
@@ -253,4 +258,4 @@ namespace Ryujinx.Configuration
JsonHelper.Serialize(fileStream, this, true);
}
}
-} \ No newline at end of file
+}