mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2025-02-20 14:18:27 -06:00

* Fix missing string enum converters for the config * Revert changing KeyboardHotkeys to struct This needs to be done because Avalonia's TwoWay Binding breaks otherwise.
17 lines
634 B
C#
17 lines
634 B
C#
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; }
|
|
}
|
|
} |