2019-12-21 11:52:31 -08:00
|
|
|
|
namespace Ryujinx.Common.Configuration.Hid
|
|
|
|
|
{
|
|
|
|
|
public class NpadController
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Enables or disables controller support
|
|
|
|
|
/// </summary>
|
2020-04-30 05:07:41 -07:00
|
|
|
|
public bool Enabled { get; set; }
|
2019-12-21 11:52:31 -08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Controller Device Index
|
|
|
|
|
/// </summary>
|
2020-04-30 05:07:41 -07:00
|
|
|
|
public int Index { get; set; }
|
2019-12-21 11:52:31 -08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Controller Analog Stick Deadzone
|
|
|
|
|
/// </summary>
|
2020-04-30 05:07:41 -07:00
|
|
|
|
public float Deadzone { get; set; }
|
2019-12-21 11:52:31 -08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Controller Trigger Threshold
|
|
|
|
|
/// </summary>
|
2020-04-30 05:07:41 -07:00
|
|
|
|
public float TriggerThreshold { get; set; }
|
2019-12-21 11:52:31 -08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Left JoyCon Controller Bindings
|
|
|
|
|
/// </summary>
|
2020-04-30 05:07:41 -07:00
|
|
|
|
public NpadControllerLeft LeftJoycon { get; set; }
|
2019-12-21 11:52:31 -08:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Right JoyCon Controller Bindings
|
|
|
|
|
/// </summary>
|
2020-04-30 05:07:41 -07:00
|
|
|
|
public NpadControllerRight RightJoycon { get; set; }
|
2019-12-21 11:52:31 -08:00
|
|
|
|
}
|
|
|
|
|
}
|