diff options
| author | Thog <me@thog.eu> | 2020-04-30 14:07:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-30 14:07:41 +0200 |
| commit | 886e42fb19b5d69a6a256e20bd1b948124f790a3 (patch) | |
| tree | 8648c0a8b3cb82032e9cc9adae411cc8d1dbc8d3 /Ryujinx.Common/Configuration/Hid/NpadController.cs | |
| parent | 7ab3fccd4d13bf3ed07a7fa207cfee61b43c56f3 (diff) | |
Use the official JSON parser (#1151)
This remove Utf8son and JsonPrettyPrinter dependencies.
NOTE: the standard JSON parser doesn't support configurable
indentation, as a result, all the pretty printed JSON are indented with 2
spaces.
Diffstat (limited to 'Ryujinx.Common/Configuration/Hid/NpadController.cs')
| -rw-r--r-- | Ryujinx.Common/Configuration/Hid/NpadController.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Ryujinx.Common/Configuration/Hid/NpadController.cs b/Ryujinx.Common/Configuration/Hid/NpadController.cs index f00865d5..94b985d5 100644 --- a/Ryujinx.Common/Configuration/Hid/NpadController.cs +++ b/Ryujinx.Common/Configuration/Hid/NpadController.cs @@ -5,31 +5,31 @@ /// <summary> /// Enables or disables controller support /// </summary> - public bool Enabled; + public bool Enabled { get; set; } /// <summary> /// Controller Device Index /// </summary> - public int Index; + public int Index { get; set; } /// <summary> /// Controller Analog Stick Deadzone /// </summary> - public float Deadzone; + public float Deadzone { get; set; } /// <summary> /// Controller Trigger Threshold /// </summary> - public float TriggerThreshold; + public float TriggerThreshold { get; set; } /// <summary> /// Left JoyCon Controller Bindings /// </summary> - public NpadControllerLeft LeftJoycon; + public NpadControllerLeft LeftJoycon { get; set; } /// <summary> /// Right JoyCon Controller Bindings /// </summary> - public NpadControllerRight RightJoycon; + public NpadControllerRight RightJoycon { get; set; } } } |
