mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-18 05:36:40 +00:00
c9bc4eaf58
* 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
No EOL
634 B
C#
17 lines
No EOL
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; }
|
|
}
|
|
} |