KeyboardHotkeys.cs 634 B

1234567891011121314151617
  1. namespace Ryujinx.Common.Configuration.Hid
  2. {
  3. // NOTE: Please don't change this to struct.
  4. // This breaks Avalonia's TwoWay binding, which makes us unable to save new KeyboardHotkeys.
  5. public class KeyboardHotkeys
  6. {
  7. public Key ToggleVsync { get; set; }
  8. public Key Screenshot { get; set; }
  9. public Key ShowUi { get; set; }
  10. public Key Pause { get; set; }
  11. public Key ToggleMute { get; set; }
  12. public Key ResScaleUp { get; set; }
  13. public Key ResScaleDown { get; set; }
  14. public Key VolumeUp { get; set; }
  15. public Key VolumeDown { get; set; }
  16. }
  17. }