aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Common/Configuration/Hid/KeyboardHotkeys.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Common/Configuration/Hid/KeyboardHotkeys.cs')
-rw-r--r--src/Ryujinx.Common/Configuration/Hid/KeyboardHotkeys.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Ryujinx.Common/Configuration/Hid/KeyboardHotkeys.cs b/src/Ryujinx.Common/Configuration/Hid/KeyboardHotkeys.cs
new file mode 100644
index 00000000..1a10c2a5
--- /dev/null
+++ b/src/Ryujinx.Common/Configuration/Hid/KeyboardHotkeys.cs
@@ -0,0 +1,17 @@
+namespace Ryujinx.Common.Configuration.Hid
+{
+ // NOTE: Please don't change this to struct.
+ // This breaks Avalonia's TwoWay binding, which makes us unable to save new KeyboardHotkeys.
+ public class KeyboardHotkeys
+ {
+ public Key ToggleVsync { get; set; }
+ public Key Screenshot { get; set; }
+ public Key ShowUi { get; set; }
+ public Key Pause { get; set; }
+ public Key ToggleMute { get; set; }
+ public Key ResScaleUp { get; set; }
+ public Key ResScaleDown { get; set; }
+ public Key VolumeUp { get; set; }
+ public Key VolumeDown { get; set; }
+ }
+} \ No newline at end of file