886e42fb19
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.
35 lines
928 B
C#
35 lines
928 B
C#
namespace Ryujinx.Common.Configuration.Hid
|
|
{
|
|
public class NpadController
|
|
{
|
|
/// <summary>
|
|
/// Enables or disables controller support
|
|
/// </summary>
|
|
public bool Enabled { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller Device Index
|
|
/// </summary>
|
|
public int Index { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller Analog Stick Deadzone
|
|
/// </summary>
|
|
public float Deadzone { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller Trigger Threshold
|
|
/// </summary>
|
|
public float TriggerThreshold { get; set; }
|
|
|
|
/// <summary>
|
|
/// Left JoyCon Controller Bindings
|
|
/// </summary>
|
|
public NpadControllerLeft LeftJoycon { get; set; }
|
|
|
|
/// <summary>
|
|
/// Right JoyCon Controller Bindings
|
|
/// </summary>
|
|
public NpadControllerRight RightJoycon { get; set; }
|
|
}
|
|
}
|