mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-08 19:28:27 +02:00
Fix missing string enum converters for the config (#4634)
* 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.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
namespace Ryujinx.Common.Configuration.Hid.Controller
|
||||
using Ryujinx.Common.Utilities;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Ryujinx.Common.Configuration.Hid.Controller
|
||||
{
|
||||
[JsonConverter(typeof(TypedStringEnumConverter<StickInputId>))]
|
||||
public enum StickInputId : byte
|
||||
{
|
||||
Unbound,
|
||||
@@ -8,4 +12,4 @@
|
||||
|
||||
Count
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user